ramips: move partition definitions out of mt7621.dtsi file
authorJohn Crispin <john@openwrt.org>
Sat, 12 Dec 2015 06:42:11 +0000 (06:42 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 12 Dec 2015 06:42:11 +0000 (06:42 +0000)
Partitions defined in parent dtsi cannot be undefined in children.
This moves partitions defined in mt7621.dtsi into board's device tree.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47876

target/linux/ramips/dts/MT7621.dts
target/linux/ramips/dts/mt7621.dtsi

index fefdb98b86a07bb1da4646f4f9fd729af0147489..341d8f2a70d36477db0c8d62badabc7d7c63ad40 100644 (file)
                        };
                };
        };
+
+       nand@1e003000 {
+               partition@0 {
+                       label = "uboot";
+                       reg = <0x00000 0x80000>; /* 64 KB */
+               };
+
+               partition@80000 {
+                       label = "uboot_env";
+                       reg = <0x80000 0x80000>; /* 64 KB */
+               };
+
+               partition@100000 {
+                       label = "factory";
+                       reg = <0x100000 0x40000>;
+               };
+
+               partition@140000 {
+                       label = "rootfs";
+                       reg = <0x140000 0xec0000>;
+               };
+       };
 };
index 9c6f45b1e0e7f5c05d3d927185a4f7f7735a9034..facc0a382de8c6299f009fe01ee80fbb9a3b9e3f 100644 (file)
                        0x1e003800 0x800>;
                #address-cells = <1>;
                #size-cells = <1>;
-
-               partition@0 {
-                       label = "uboot";
-                       reg = <0x00000 0x80000>; /* 64 KB */
-               };
-
-               partition@80000 {
-                       label = "uboot_env";
-                       reg = <0x80000 0x80000>; /* 64 KB */
-               };
-
-               partition@100000 {
-                       label = "factory";
-                       reg = <0x100000 0x40000>;
-               };
-
-               partition@140000 {
-                       label = "rootfs";
-                       reg = <0x140000 0xec0000>;
-               };
        };
 
        ethernet@1e100000 {