lantiq: move partitions into partion table node
[openwrt.git] / target / linux / lantiq / dts / ARV7519RW22.dts
index 6f5d356..a15556b 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "uboot";
-                                       reg = <0x0 0x60000>;
-                                       read-only;
-                               };
-
-                               partition@60000 {
-                                       label = "uboot-env";
-                                       reg = <0x60000 0x20000>;
-                                       read-only;
-                               };
-
-                               partition@80000 {
-                                       label = "firmware";
-                                       reg = <0x80000 0x1f00000>;
-                               };
-
-                               boardconfig: partition@1f80000 {
-                                       label = "boardconfig";
-                                       reg = <0x1f80000 0x80000>;
-                                       read-only;
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "uboot";
+                                               reg = <0x0 0x60000>;
+                                               read-only;
+                                       };
+
+                                       partition@60000 {
+                                               label = "uboot-env";
+                                               reg = <0x60000 0x20000>;
+                                               read-only;
+                                       };
+
+                                       partition@80000 {
+                                               label = "firmware";
+                                               reg = <0x80000 0x1f00000>;
+                                       };
+
+                                       boardconfig: partition@1f80000 {
+                                               label = "boardconfig";
+                                               reg = <0x1f80000 0x80000>;
+                                               read-only;
+                                       };
                                };
                        };
                };