ARM: dts: mvebu: a385-db-ap: add default partition description for NAND
authorGrzegorz Jaszczyk <jaz@semihalf.com>
Thu, 4 Aug 2016 10:14:07 +0000 (12:14 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 8 Aug 2016 14:28:51 +0000 (16:28 +0200)
The Armada 385 Access Point Development board contains NAND FLSH which is
already enabled in existing dts. Nevertheless the default partition
description was missing.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-385-db-ap.dts

index 4f7c3aa..db5b9f6 100644 (file)
 
                        nfc: flash@d0000 {
                                status = "okay";
-                               #address-cells = <1>;
-                               #size-cells = <1>;
-
                                num-cs = <1>;
                                nand-ecc-strength = <4>;
                                nand-ecc-step-size = <512>;
                                marvell,nand-keep-config;
                                marvell,nand-enable-arbiter;
                                nand-on-flash-bbt;
+
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "U-Boot";
+                                               reg = <0x00000000 0x00800000>;
+                                               read-only;
+                                       };
+
+                                       partition@800000 {
+                                               label = "uImage";
+                                               reg = <0x00800000 0x00400000>;
+                                               read-only;
+                                       };
+
+                                       partition@c00000 {
+                                               label = "Root";
+                                               reg = <0x00c00000 0x3f400000>;
+                                       };
+                               };
                        };
 
                        usb3@f0000 {