ath79: use the new DT fixed partitions syntax
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9330_gl_ar150.dts
index a41799f0dc3abe8edef295ab048482c3a0a6e4d2..97beab149086f3cb7d42bb187c18b49a5e7c7c40 100644 (file)
                spi-max-frequency = <104000000>;
                reg = <0>;
 
-               partition@0 {
-                       label = "u-boot";
-                       reg = <0x000000 0x040000>;
-                       read-only;
-               };
-
-               partition@1 {
-                       label = "u-boot-env";
-                       reg = <0x040000 0x010000>;
-               };
-
-               partition@2 {
-                       label = "firmware";
-                       reg = <0x050000 0xfa0000>;
-               };
-
-               art: partition@3 {
-                       label = "ART";
-                       reg = <0xff0000 0x010000>;
-                       read-only;
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               label = "u-boot";
+                               reg = <0x000000 0x040000>;
+                               read-only;
+                       };
+
+                       partition@1 {
+                               label = "u-boot-env";
+                               reg = <0x040000 0x010000>;
+                       };
+
+                       partition@2 {
+                               label = "firmware";
+                               reg = <0x050000 0xfa0000>;
+                       };
+
+                       art: partition@3 {
+                               label = "ART";
+                               reg = <0xff0000 0x010000>;
+                               read-only;
+                       };
                };
        };
 };