summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun6i-a31-pangolin.dts
diff options
context:
space:
mode:
authorKlaus Goger <klaus.goger@theobroma-systems.com>2015-07-29 08:17:31 +0200
committerKlaus Goger <klaus.goger@theobroma-systems.com>2015-07-30 18:56:30 +0200
commit1f405e8d76e2d6ad3f723be13f066cdc565afe8f (patch)
treed189a0811d1a4e10935f3eff6bc8d8f87cb75f4b /arch/arm/boot/dts/sun6i-a31-pangolin.dts
parentdbbb4669c72bcfac7c145d4dcbc2899700f4929c (diff)
ARM: dts: pangolin: enable spi and add spi nor
adds missing pin configuration to the a31 dtsi Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-pangolin.dts')
-rw-r--r--arch/arm/boot/dts/sun6i-a31-pangolin.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-pangolin.dts b/arch/arm/boot/dts/sun6i-a31-pangolin.dts
index 99064c5b74c..059ce65eac7 100644
--- a/arch/arm/boot/dts/sun6i-a31-pangolin.dts
+++ b/arch/arm/boot/dts/sun6i-a31-pangolin.dts
@@ -212,6 +212,19 @@
};
};
+&spi0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi0_pins_a>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+ flash: mx25l@0 {
+ compatible = "macronix,mx25l4005a";
+ reg = <0>;
+ spi-max-frequency = <16000000>;
+ };
+};
+
&gpu {
status = "okay";
};