aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-10 11:29:16 -0500
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-02-12 11:45:49 -0500
commitaf5ece3967c697d6d3264f1ca949a8633f97de25 (patch)
tree85020a9a9175db5aabbfdc537cd38adc70080f88
parentb3a7f31eb7375633cd6a742f19488fc5a4208b36 (diff)
ARM: dts: mvebu: add NAND description to Armada 370 DB and Armada XP DB
This commit adds the Device Tree description for the 1GB NAND flash present in the Armada 370 DB and Armada XP DB evaluation boards from Marvell. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/armada-370-db.dts27
-rw-r--r--arch/arm/boot/dts/armada-xp-db.dts28
2 files changed, 55 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-db.dts b/arch/arm/boot/dts/armada-370-db.dts
index bb280de511da..2364fc56ae13 100644
--- a/arch/arm/boot/dts/armada-370-db.dts
+++ b/arch/arm/boot/dts/armada-370-db.dts
@@ -168,6 +168,33 @@
168 spi-max-frequency = <50000000>; 168 spi-max-frequency = <50000000>;
169 }; 169 };
170 }; 170 };
171
172 nand@d0000 {
173 status = "okay";
174 num-cs = <1>;
175 marvell,nand-keep-config;
176 marvell,nand-enable-arbiter;
177 nand-on-flash-bbt;
178
179 partitions {
180 compatible = "fixed-partitions";
181 #address-cells = <1>;
182 #size-cells = <1>;
183
184 partition@0 {
185 label = "U-Boot";
186 reg = <0 0x800000>;
187 };
188 partition@800000 {
189 label = "Linux";
190 reg = <0x800000 0x800000>;
191 };
192 partition@1000000 {
193 label = "Filesystem";
194 reg = <0x1000000 0x3f000000>;
195 };
196 };
197 };
171 }; 198 };
172 199
173 pcie-controller { 200 pcie-controller {
diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts
index f774101416a5..96aaaed98861 100644
--- a/arch/arm/boot/dts/armada-xp-db.dts
+++ b/arch/arm/boot/dts/armada-xp-db.dts
@@ -229,6 +229,34 @@
229 spi-max-frequency = <20000000>; 229 spi-max-frequency = <20000000>;
230 }; 230 };
231 }; 231 };
232
233 nand@d0000 {
234 status = "okay";
235 num-cs = <1>;
236 marvell,nand-keep-config;
237 marvell,nand-enable-arbiter;
238 nand-on-flash-bbt;
239
240 partitions {
241 compatible = "fixed-partitions";
242 #address-cells = <1>;
243 #size-cells = <1>;
244
245 partition@0 {
246 label = "U-Boot";
247 reg = <0 0x800000>;
248 };
249 partition@800000 {
250 label = "Linux";
251 reg = <0x800000 0x800000>;
252 };
253 partition@1000000 {
254 label = "Filesystem";
255 reg = <0x1000000 0x3f000000>;
256
257 };
258 };
259 };
232 }; 260 };
233 }; 261 };
234}; 262};