lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / TDW89X0.dtsi
index 312a2d6..634b296 100644 (file)
                spi-max-frequency = <33250000>;
                m25p,fast-read;
 
-               partition@0 {
-                       reg = <0x0 0x20000>;
-                       label = "u-boot";
-                       read-only;
-               };
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               reg = <0x0 0x20000>;
+                               label = "u-boot";
+                               read-only;
+                       };
 
-               partition@20000 {
-                       reg = <0x20000 0x7a0000>;
-                       label = "firmware";
-               };
+                       partition@20000 {
+                               reg = <0x20000 0x7a0000>;
+                               label = "firmware";
+                       };
 
-               partition@7c0000 {
-                       reg = <0x7c0000 0x10000>;
-                       label = "config";
-                       read-only;
-               };
+                       partition@7c0000 {
+                               reg = <0x7c0000 0x10000>;
+                               label = "config";
+                               read-only;
+                       };
 
-               ath9k_cal: partition@7d0000 {
-                       reg = <0x7d0000 0x30000>;
-                       label = "boardconfig";
-                       read-only;
+                       ath9k_cal: partition@7d0000 {
+                               reg = <0x7d0000 0x30000>;
+                               label = "boardconfig";
+                               read-only;
+                       };
                };
        };
 };