diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-02-06 08:06:23 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-02-28 12:57:14 -0500 |
commit | 9dc3e34687b2af14d5b8e95b27d06b6cdfc87479 (patch) | |
tree | 20e617696246ce00d9dba1fa96bd488ceec399ec /arch/arm/boot/dts/armada-xp-gp.dts | |
parent | d5dc035eaa967cded8a295d4b07b7eb944c9044a (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.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 @@ | |||
97 | phy = <&phy3>; | 97 | phy = <&phy3>; |
98 | phy-mode = "rgmii-id"; | 98 | phy-mode = "rgmii-id"; |
99 | }; | 99 | }; |
100 | |||
101 | spi0: spi@d0010600 { | ||
102 | status = "okay"; | ||
103 | |||
104 | spi-flash@0 { | ||
105 | #address-cells = <1>; | ||
106 | #size-cells = <1>; | ||
107 | compatible = "n25q128a13"; | ||
108 | reg = <0>; /* Chip select 0 */ | ||
109 | spi-max-frequency = <108000000>; | ||
110 | }; | ||
111 | }; | ||
100 | }; | 112 | }; |
101 | }; | 113 | }; |