summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/armada-xp-db.dts
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2013-02-05 21:54:54 +0100
committerArnd Bergmann <arnd@arndb.de>2013-02-28 18:57:15 +0100
commit1f24a21f8e8acd6e85b3629f41e2eafbcd86d85c (patch)
tree5ef18ed2c6530d1faafe89b18956d240633fdb49 /arch/arm/boot/dts/armada-xp-db.dts
parent9dc3e34687b2af14d5b8e95b27d06b6cdfc87479 (diff)
arm: mvebu: Add SPI flash on Armada XP-DB board
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 <gregory.clement@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-xp-db.dts')
-rw-r--r--arch/arm/boot/dts/armada-xp-db.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts
index c84e1feddd68..e83505e4c236 100644
--- a/arch/arm/boot/dts/armada-xp-db.dts
+++ b/arch/arm/boot/dts/armada-xp-db.dts
@@ -109,5 +109,17 @@
usb@d0052000 {
status = "okay";
};
+
+ spi0: spi@d0010600 {
+ status = "okay";
+
+ spi-flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "m25p64";
+ reg = <0>; /* Chip select 0 */
+ spi-max-frequency = <20000000>;
+ };
+ };
};
};