lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / FRITZ7320.dts
index 8140b68..475da7a 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "urlader";
-                                       reg = <0x00000 0x20000>;
-                                       read-only;
-                               };
-
-                               partition@20000 {
-                                       label = "firmware";
-                                       reg = <0x20000 0xf60000>;
-                               };
-
-                               partition@f80000 {
-                                       label = "tffs (1)";
-                                       reg = <0xf80000 0x40000>;
-                                       read-only;
-                               };
-
-                               partition@fc0000 {
-                                       label = "tffs (2)";
-                                       reg = <0xfc0000 0x40000>;
-                                       read-only;
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "urlader";
+                                               reg = <0x00000 0x20000>;
+                                               read-only;
+                                       };
+
+                                       partition@20000 {
+                                               label = "firmware";
+                                               reg = <0x20000 0xf60000>;
+                                       };
+
+                                       partition@f80000 {
+                                               label = "tffs (1)";
+                                               reg = <0xf80000 0x40000>;
+                                               read-only;
+                                       };
+
+                                       partition@fc0000 {
+                                               label = "tffs (2)";
+                                               reg = <0xfc0000 0x40000>;
+                                               read-only;
+                                       };
                                };
                        };
                };