lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / BTHOMEHUBV5A.dts
index 414d4bb8c47bcb3a4a15f26bb6f420bc1d7f2cec..e62a18d9dc4c930760ed70d9264d10caa4c40dd1 100644 (file)
                                compatible = "gen_nand", "lantiq,nand-xway";
                                lantiq,cs = <1>;
                                bank-width = <2>;
-                               reg = <0 0x0 0x2000000>;
+                               reg = <0x1 0x0 0x2000000>;
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "u-boot";
-                                       reg = <0x0 0x40000>;
-                                       read-only;
-                               };
-                               partition@40000 {
-                                       label = "uboot-env";
-                                       reg = <0x40000 0x40000>;
-                               };
-                               caldata: partition@80000 {
-                                       label = "caldata";
-                                       reg = <0x80000 0x20000>;
-                                       read-only;
-                               };
-                               partition@a0000 {
-                                       label = "kernel";
-                                       reg = <0xa0000 0x200000>;
-                               };
-                               partition@2a0000 {
-                                       label = "ubi";
-                                       reg = <0x2a0000 0x7d60000>;
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "u-boot";
+                                               reg = <0x0 0x40000>;
+                                               read-only;
+                                       };
+                                       partition@40000 {
+                                               label = "uboot-env";
+                                               reg = <0x40000 0x40000>;
+                                       };
+                                       caldata: partition@80000 {
+                                               label = "caldata";
+                                               reg = <0x80000 0x20000>;
+                                               read-only;
+                                       };
+                                       partition@a0000 {
+                                               label = "kernel";
+                                               reg = <0xa0000 0x200000>;
+                                       };
+                                       partition@2a0000 {
+                                               label = "ubi";
+                                               reg = <0x2a0000 0x7d60000>;
+                                       };
                                };
                        };
                };