ath79: use the new DT fixed partitions syntax
[openwrt/.git] / target / linux / ath79 / dts / ar9132_tl_wr1043nd_v1.dts
index 099941258e8b59341057e71dfbeb5fe25554f280..0ad865bea62a5e281729bb7fa94a728741f8fe35 100644 (file)
                reg = <0>;
                spi-max-frequency = <25000000>;
 
-               partition@0 {
-                       label = "u-boot";
-                       reg = <0x000000 0x020000>;
-               };
-
-               partition@1 {
-                       label = "firmware";
-                       reg = <0x020000 0x7D0000>;
-               };
-
-               partition@2 {
-                       label = "art";
-                       reg = <0x7F0000 0x010000>;
-                       read-only;
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               label = "u-boot";
+                               reg = <0x000000 0x020000>;
+                       };
+
+                       partition@1 {
+                               label = "firmware";
+                               reg = <0x020000 0x7D0000>;
+                       };
+
+                       partition@2 {
+                               label = "art";
+                               reg = <0x7F0000 0x010000>;
+                               read-only;
+                       };
                };
        };
 };