Thread (1 message) 1 message, 1 author, 2013-02-05
DORMANTno replies

[PATCH 1/2] arm: mvebu: Add SPI flash on Armada XP-DB board

From: Gregory CLEMENT <hidden>
Date: 2013-02-05 20:54:54
Also in: linux-devicetree, linux-spi
Subsystem: the rest · Maintainer: Linus Torvalds

Possibly related (same subject, not in this thread)

This patch add support for the SPI flash M25P64 which is present on
the Armada XP DB board. This flash stores the bootloader and its
environment.

Signed-off-by: Gregory CLEMENT <redacted>
---
 arch/arm/boot/dts/armada-xp-db.dts |   12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts
index c7035c5..e5dfb4f 100644
--- a/arch/arm/boot/dts/armada-xp-db.dts
+++ b/arch/arm/boot/dts/armada-xp-db.dts
@@ -97,5 +97,17 @@
 			status = "okay";
 			/* No CD or WP GPIOs */
 		};
+
+		spi0: spi at d0010600 {
+			status = "okay";
+
+			spi-flash at 0 {
+				#address-cells = <1>;
+				#size-cells = <1>;
+				compatible = "m25p64";
+				reg = <0>; /* Chip select 0 */
+				spi-max-frequency = <20000000>;
+			};
+		};
 	};
 };
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help