summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/armada-370-netgear-rn104.dts
diff options
context:
space:
mode:
authorArnaud Ebalard <arno@natisbad.org>2013-12-07 03:13:18 +0400
committerJason Cooper <jason@lakedaemon.net>2013-12-08 05:16:53 +0400
commit0373a558bd794ff3829791d33e25a6b82c2ec676 (patch)
tree107e9e676c14f75d419062d184899c8b697d2e8d /arch/arm/boot/dts/armada-370-netgear-rn104.dts
parent92beaccd8b4988d13851edc985ac4c3481644e07 (diff)
downloadlinux-0373a558bd794ff3829791d33e25a6b82c2ec676.tar.xz
ARM: mvebu: Enable NAND controller in ReadyNAS 104 .dts file
Now that NAND controller support is available for Armada 370 (cb28e2537a6f: ARM: mvebu: Add support for NAND controller in Armada 370/XP), this patch enables support for ReadyNAS 104 and defines default partition layout as delivered by NETGEAR. As described in similar commits 2be2bc39c6f0 (ARM: mvebu: Enable NAND controller in Armada XP GP board) and d8c552dddfbf (ARM: mvebu: Enable NAND controller in Armada 370 Mirabox), "marvell,keep-config" parameter is used as current support does not allow for setting of timing parameters yet. Signed-off-by: Arnaud Ebalard <arno@natisbad.org> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-370-netgear-rn104.dts')
-rw-r--r--arch/arm/boot/dts/armada-370-netgear-rn104.dts36
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-netgear-rn104.dts b/arch/arm/boot/dts/armada-370-netgear-rn104.dts
index e48e5fb6a065..272e2e2fc58f 100644
--- a/arch/arm/boot/dts/armada-370-netgear-rn104.dts
+++ b/arch/arm/boot/dts/armada-370-netgear-rn104.dts
@@ -133,6 +133,42 @@
reg = <0x23>;
};
};
+
+ nand@d0000 {
+ status = "okay";
+ num-cs = <1>;
+ marvell,nand-keep-config;
+ marvell,nand-enable-arbiter;
+ nand-on-flash-bbt;
+
+ partition@0 {
+ label = "u-boot";
+ reg = <0x0000000 0x180000>; /* 1.5MB */
+ read-only;
+ };
+
+ partition@180000 {
+ label = "u-boot-env";
+ reg = <0x180000 0x20000>; /* 128KB */
+ read-only;
+ };
+
+ partition@200000 {
+ label = "uImage";
+ reg = <0x0200000 0x600000>; /* 6MB */
+ };
+
+ partition@800000 {
+ label = "minirootfs";
+ reg = <0x0800000 0x400000>; /* 4MB */
+ };
+
+ /* Last MB is for the BBT, i.e. not writable */
+ partition@c00000 {
+ label = "ubifs";
+ reg = <0x0c00000 0x7400000>; /* 116MB */
+ };
+ };
};
};