summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/armada-xp-gp.dts
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-02-06 10:06:23 -0300
committerArnd Bergmann <arnd@arndb.de>2013-02-28 18:57:14 +0100
commit9dc3e34687b2af14d5b8e95b27d06b6cdfc87479 (patch)
tree20e617696246ce00d9dba1fa96bd488ceec399ec /arch/arm/boot/dts/armada-xp-gp.dts
parentd5dc035eaa967cded8a295d4b07b7eb944c9044a (diff)
arm: mvebu: Add SPI flash on Armada XP-GP board
This patch adds an SPI master device node for Armada XP-GP board. This master node is an SPI flash controller 'n25q128a13'. Since there is no 'partitions' node declared, one full sized partition named as the device will be created. Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Lior Amsalem <alior@marvell.com> Tested-by: Gregory Clement <gregory.clement@free-electrons.com> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-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-gp.dts')
-rw-r--r--arch/arm/boot/dts/armada-xp-gp.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-xp-gp.dts b/arch/arm/boot/dts/armada-xp-gp.dts
index 3eea53106a1f..1c8afe2ffebc 100644
--- a/arch/arm/boot/dts/armada-xp-gp.dts
+++ b/arch/arm/boot/dts/armada-xp-gp.dts
@@ -97,5 +97,17 @@
phy = <&phy3>;
phy-mode = "rgmii-id";
};
+
+ spi0: spi@d0010600 {
+ status = "okay";
+
+ spi-flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "n25q128a13";
+ reg = <0>; /* Chip select 0 */
+ spi-max-frequency = <108000000>;
+ };
+ };
};
};