summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-dns320.dts
diff options
context:
space:
mode:
authorJamie Lentin <jm@lentin.co.uk>2012-04-18 12:06:43 +0200
committerJason Cooper <jason@lakedaemon.net>2012-05-15 04:29:12 +0200
commitee24876949c49761e61befe7435293069ddb1f38 (patch)
tree5b9f892b5b3401637a1b55b264deaaea02d829c1 /arch/arm/boot/dts/kirkwood-dns320.dts
parentkirkwood: Allow nand to be configured via. devicetree (diff)
downloadlinux-ee24876949c49761e61befe7435293069ddb1f38.tar.xz
linux-ee24876949c49761e61befe7435293069ddb1f38.zip
ARM: kirkwood: Define DNS-320/DNS-325 NAND in fdt
Use devicetree to define NAND partitions. Use D-link partition scheme by default, to be vaguely compatible with their userland. Changes since last submission (V4):- * Don't add NAND support then throw it away immediately after [Grant Likely] Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Jamie Lentin <jm@lentin.co.uk> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-dns320.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-dns320.dts35
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-dns320.dts b/arch/arm/boot/dts/kirkwood-dns320.dts
index 78c834f6c57f..dc09a735b04a 100644
--- a/arch/arm/boot/dts/kirkwood-dns320.dts
+++ b/arch/arm/boot/dts/kirkwood-dns320.dts
@@ -25,5 +25,40 @@
clock-frequency = <166666667>;
status = "okay";
};
+
+ nand@3000000 {
+ status = "okay";
+
+ partition@0 {
+ label = "u-boot";
+ reg = <0x0000000 0x100000>;
+ read-only;
+ };
+
+ partition@100000 {
+ label = "uImage";
+ reg = <0x0100000 0x500000>;
+ };
+
+ partition@600000 {
+ label = "ramdisk";
+ reg = <0x0600000 0x500000>;
+ };
+
+ partition@b00000 {
+ label = "image";
+ reg = <0x0b00000 0x6600000>;
+ };
+
+ partition@7100000 {
+ label = "mini firmware";
+ reg = <0x7100000 0xa00000>;
+ };
+
+ partition@7b00000 {
+ label = "config";
+ reg = <0x7b00000 0x500000>;
+ };
+ };
};
};