ath79: use the new DT fixed partitions syntax
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7161_netgear_wndr3800.dts
index ba6e9ae03c21a892811398d97d71149dae36fb6f..a175fd76980a847e3920b1417f057ea701be7a9a 100644 (file)
                reg = <0>;
                spi-max-frequency = <25000000>;
 
-               partition@0 {
-                       label = "u-boot";
-                       reg = <0x000000 0x050000>;
-                       read-only;
-               };
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               label = "u-boot";
+                               reg = <0x000000 0x050000>;
+                               read-only;
+                       };
 
-               partition@1 {
-                       label = "u-boot-env";
-                       reg = <0x050000 0x020000>;
-               };
+                       partition@1 {
+                               label = "u-boot-env";
+                               reg = <0x050000 0x020000>;
+                       };
 
-               partition@2 {
-                       label = "firmware";
-                       reg = <0x70000 0xf80000>;
-               };
+                       partition@2 {
+                               label = "firmware";
+                               reg = <0x70000 0xf80000>;
+                       };
 
-               partition@3 {
-                       label = "art";
-                       reg = <0xff0000 0x010000>;
-                       read-only;
+                       partition@3 {
+                               label = "art";
+                               reg = <0xff0000 0x010000>;
+                               read-only;
+                       };
                };
        };
 };