lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / VGV7519NOR.dts
index 355a90c94cc14e4963c55e6678fe31cd1f872e93..24a3d1666aa881e58d29022665650ac7621dd001 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
 
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "uboot";
-                                       reg = <0x00000 0x40000>;
-                               };
-                               partition@40000 {
-                                       label = "board_config";
-                                       reg = <0x40000 0x10000>;
-                                       read-only;
-                               };
-                               partition@60000 {
-                                       label = "uboot_env";
-                                       reg = <0x60000 0x10000>;
-                               };
-                               partition@80000 {
-                                       label = "firmware";
-                                       reg = <0x80000 0xf80000>;
-                                       // 0x080000 - 0x01b0000 : kernel
-                                       // 0x1b0000 - 0x1000000 : rootfs (squashfs)
-                                       // 0x390000 - 0x1000000 : rootfs_data
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "uboot";
+                                               reg = <0x00000 0x40000>;
+                                       };
+                                       partition@40000 {
+                                               label = "board_config";
+                                               reg = <0x40000 0x10000>;
+                                               read-only;
+                                       };
+                                       partition@60000 {
+                                               label = "uboot_env";
+                                               reg = <0x60000 0x10000>;
+                                       };
+                                       partition@80000 {
+                                               label = "firmware";
+                                               reg = <0x80000 0xf80000>;
+                                               // 0x080000 - 0x01b0000 : kernel
+                                               // 0x1b0000 - 0x1000000 : rootfs (squashfs)
+                                               // 0x390000 - 0x1000000 : rootfs_data
+                                       };
                                };
                        };
                };
                                };
                        };
                };