aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-11-07 10:17:35 -0500
committerJason Cooper <jason@lakedaemon.net>2013-11-23 22:40:19 -0500
commitd8c552dddfbf1ceadee93496eb40638654f767fc (patch)
tree026237baeb7f47de6f7a00819419144aa654d14d
parent2be2bc39c6f0a2b0079e288c7e781759aef08457 (diff)
ARM: mvebu: Enable NAND controller in Armada 370 Mirabox
The Armada 370 Mirabox has a NAND flash, so enable it in the devicetree and add the partitions as prepared in the factory images. In order to skip the driver's custom device detection and use only ONFI detection, the "marvell,keep-config" parameter is used. This is needed because we have no support for setting the timings parameters yet. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r--arch/arm/boot/dts/armada-370-mirabox.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-mirabox.dts b/arch/arm/boot/dts/armada-370-mirabox.dts
index 41457e5ff1a9..944e8785b308 100644
--- a/arch/arm/boot/dts/armada-370-mirabox.dts
+++ b/arch/arm/boot/dts/armada-370-mirabox.dts
@@ -139,6 +139,27 @@
139 reg = <0x25>; 139 reg = <0x25>;
140 }; 140 };
141 }; 141 };
142
143 nand@d0000 {
144 status = "okay";
145 num-cs = <1>;
146 marvell,nand-keep-config;
147 marvell,nand-enable-arbiter;
148 nand-on-flash-bbt;
149
150 partition@0 {
151 label = "U-Boot";
152 reg = <0 0x400000>;
153 };
154 partition@400000 {
155 label = "Linux";
156 reg = <0x400000 0x400000>;
157 };
158 partition@800000 {
159 label = "Filesystem";
160 reg = <0x800000 0x3f800000>;
161 };
162 };
142 }; 163 };
143 }; 164 };
144}; 165};