summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-01-02 15:58:41 +0100
committerGregory CLEMENT <gregory.clement@free-electrons.com>2017-01-04 11:38:07 +0100
commit744771fc982a0670f4828f36504ba71f83b074d9 (patch)
treeae3b02e3e06c0356c9fb7169ec0bbf04b8479559 /arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
parentARM: dts: armada388-clearfog: fix SPI flash #size-cells (diff)
downloadlinux-744771fc982a0670f4828f36504ba71f83b074d9.tar.xz
linux-744771fc982a0670f4828f36504ba71f83b074d9.zip
ARM: dts: armada388-clearfog: move SPI flash into microsom
The optional SPI flash is fitted to the microsom, not the clearfog board, so it should be specified in the microsom DTS include file. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi')
-rw-r--r--arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi b/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
index 02f18ab5b69c..c67e6173e879 100644
--- a/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
+++ b/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
@@ -126,3 +126,17 @@
};
};
+
+&spi1 {
+ /* The microsom has an optional W25Q32 on board, connected to CS0 */
+ pinctrl-0 = <&spi1_pins>;
+
+ w25q32: spi-flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "w25q32", "jedec,spi-nor";
+ reg = <0>; /* Chip select 0 */
+ spi-max-frequency = <3000000>;
+ status = "disabled";
+ };
+};