lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV7519PW.dts
index 6daa8b1f94900d8bb8049062304b1bc8eee99156..b917b2d93e05655bc97b808b8e11381632d7626b 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>;
-                               };
-
-                               partition@60000 {
-                                       label = "firmware";
-                                       reg = <0x60000 0xf80000>;
-                               };
-
-                               partition@fe0000 {
-                                       label = "board_config";
-                                       reg = <0xfe0000 0x20000>;
-                                       read-only;
+                               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>;
+                                       };
+
+                                       partition@60000 {
+                                               label = "firmware";
+                                               reg = <0x60000 0xf80000>;
+                                       };
+
+                                       partition@fe0000 {
+                                               label = "board_config";
+                                               reg = <0xfe0000 0x20000>;
+                                               read-only;
+                                       };
                                };
                        };
 
                        lantiq,external-clock;
                        gpio-reset = <&gpio 21 0>;
                        req-mask = <0xf>;
-               };    
+               };
        };
 
        ralink_eep {