lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / EASY80920NAND.dts
index 88fbcaa..d7e04ee 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "uboot";
-                                       reg = <0x00000 0x40000>;
-                               };
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
 
-                               partition@10000 {
-                                       label = "uboot_env";
-                                       reg = <0x40000 0x40000>;
-                               };
+                                       partition@0 {
+                                               label = "uboot";
+                                               reg = <0x00000 0x40000>;
+                                       };
+
+                                       partition@10000 {
+                                               label = "uboot_env";
+                                               reg = <0x40000 0x40000>;
+                                       };
 
-                               partition@20000 {
-                                       label = "firmware";
-                                       reg = <0x80000 0x3f80000>;
+                                       partition@20000 {
+                                               label = "firmware";
+                                               reg = <0x80000 0x3f80000>;
+                                       };
                                };
                        };
                };