lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / P2601HNFX.dts
index 7e70c2c9081194ad901683b7f4960581a131c6a9..c1b4c617de5b0db7ad86f28111cea7e204ead56e 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "uboot";
-                                       reg = <0x00000 0x40000>;
-                                       read-only;
-                               };
-
-                               partition@40000 {
-                                       label = "uboot_env";
-                                       reg = <0x40000 0x20000>;
-                                       read-only;
-                               };
-
-                               partition@60000 {
-                                       label = "firmware";
-                                       reg = <0x60000 0xfa0000>;
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "uboot";
+                                               reg = <0x00000 0x40000>;
+                                               read-only;
+                                       };
+
+                                       partition@40000 {
+                                               label = "uboot_env";
+                                               reg = <0x40000 0x20000>;
+                                               read-only;
+                                       };
+
+                                       partition@60000 {
+                                               label = "firmware";
+                                               reg = <0x60000 0xfa0000>;
+                                       };
                                };
                        };
                };