aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-12-11 17:28:39 -0500
committerJason Cooper <jason@lakedaemon.net>2013-12-12 09:04:34 -0500
commit69e18e26b5773092276a9702244784faf9b6c65f (patch)
tree259776ef114437e9f40338d48d3ba22c0fbf0ccf
parentad51eddd95adaeaa767aca22736003d3b2662963 (diff)
ARM: mvebu: Enable NAND controller in A370 Reference Design board
Marvell's Armada 370 Reference Design 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-rd.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts
index f81810a59629..abbb807459d2 100644
--- a/arch/arm/boot/dts/armada-370-rd.dts
+++ b/arch/arm/boot/dts/armada-370-rd.dts
@@ -104,6 +104,27 @@
104 gpios = <&gpio0 6 1>; 104 gpios = <&gpio0 6 1>;
105 }; 105 };
106 }; 106 };
107
108 nand@d0000 {
109 status = "okay";
110 num-cs = <1>;
111 marvell,nand-keep-config;
112 marvell,nand-enable-arbiter;
113 nand-on-flash-bbt;
114
115 partition@0 {
116 label = "U-Boot";
117 reg = <0 0x800000>;
118 };
119 partition@800000 {
120 label = "Linux";
121 reg = <0x800000 0x800000>;
122 };
123 partition@1000000 {
124 label = "Filesystem";
125 reg = <0x1000000 0x3f000000>;
126 };
127 };
107 }; 128 };
108 }; 129 };
109 }; 130 };