lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / EASY50810.dts
index 5f4b733775c31d5821a51aaec8fcb7a3a2223671..70d2ff5ff0b9ae96f600838f6a3e182bd03f6d05 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
 
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "uboot";
-                                       reg = <0x00000 0x10000>; /* 64 KB */
-                               };
-
-                               partition@10000 {
-                                       label = "uboot_env";
-                                       reg = <0x10000 0x10000>; /* 64 KB */
-                               };
-
-                               partition@20000 {
-                                       label = "firmware";
-                                       reg = <0x20000 0x3d0000>;
-                               };
-
-                               partition@400000 {
-                                       label = "rootfs";
-                                       reg = <0x400000 0x400000>;
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "uboot";
+                                               reg = <0x00000 0x10000>; /* 64 KB */
+                                       };
+
+                                       partition@10000 {
+                                               label = "uboot_env";
+                                               reg = <0x10000 0x10000>; /* 64 KB */
+                                       };
+
+                                       partition@20000 {
+                                               label = "firmware";
+                                               reg = <0x20000 0x3d0000>;
+                                       };
+
+                                       partition@400000 {
+                                               label = "rootfs";
+                                               reg = <0x400000 0x400000>;
+                                       };
                                };
                        };
                };
                                };
                        };
                };