Author: blogic
Date: 2015-12-12 07:42:11 +0100 (Sat, 12 Dec 2015)
New Revision: 47876

Modified:
   trunk/target/linux/ramips/dts/MT7621.dts
   trunk/target/linux/ramips/dts/mt7621.dtsi
Log:
ramips: move partition definitions out of mt7621.dtsi file

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 <[email protected]>

Modified: trunk/target/linux/ramips/dts/MT7621.dts
===================================================================
--- trunk/target/linux/ramips/dts/MT7621.dts    2015-12-12 06:42:05 UTC (rev 
47875)
+++ trunk/target/linux/ramips/dts/MT7621.dts    2015-12-12 06:42:11 UTC (rev 
47876)
@@ -31,4 +31,26 @@
                        };
                };
        };
+
+       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>;
+               };
+       };
 };

Modified: trunk/target/linux/ramips/dts/mt7621.dtsi
===================================================================
--- trunk/target/linux/ramips/dts/mt7621.dtsi   2015-12-12 06:42:05 UTC (rev 
47875)
+++ trunk/target/linux/ramips/dts/mt7621.dtsi   2015-12-12 06:42:11 UTC (rev 
47876)
@@ -278,26 +278,6 @@
                        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 {
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to