lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / EASY80920NOR.dts
index 212ad5c3a2c4d37293df1874b3cbc767201cc79e..54d2fa961743820b78b9320a6ed99f53e955b61f 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "uboot";
-                                       reg = <0x00000 0x10000>;
-                               };
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
 
-                               partition@10000 {
-                                       label = "uboot_env";
-                                       reg = <0x10000 0x10000>;
-                               };
+                                       partition@0 {
+                                               label = "uboot";
+                                               reg = <0x00000 0x10000>;
+                                       };
+
+                                       partition@10000 {
+                                               label = "uboot_env";
+                                               reg = <0x10000 0x10000>;
+                                       };
 
-                               partition@20000 {
-                                       label = "firmware";
-                                       reg = <0x20000 0x7e0000>;
+                                       partition@20000 {
+                                               label = "firmware";
+                                               reg = <0x20000 0x7e0000>;
+                                       };
                                };
                        };
                };