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