diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-02-06 17:06:23 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-02-28 21:57:14 +0400 |
commit | 9dc3e34687b2af14d5b8e95b27d06b6cdfc87479 (patch) | |
tree | 20e617696246ce00d9dba1fa96bd488ceec399ec | |
parent | d5dc035eaa967cded8a295d4b07b7eb944c9044a (diff) | |
download | linux-9dc3e34687b2af14d5b8e95b27d06b6cdfc87479.tar.xz |
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>
-rw-r--r-- | arch/arm/boot/dts/armada-xp-gp.dts | 12 |
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>; + }; + }; }; }; |