From 9dc3e34687b2af14d5b8e95b27d06b6cdfc87479 Mon Sep 17 00:00:00 2001 From: Ezequiel Garcia Date: Wed, 6 Feb 2013 10:06:23 -0300 Subject: 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 Cc: Lior Amsalem Tested-by: Gregory Clement Signed-off-by: Ezequiel Garcia Acked-by: Gregory Clement Signed-off-by: Jason Cooper --- arch/arm/boot/dts/armada-xp-gp.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'arch/arm') 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>; + }; + }; }; }; -- cgit v1.2.3-59-g8ed1b