ath79: qca: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / qca9531_wallys_dr531.dts
index 9982914442d3b7f36941847c4038c56a15a604a6..59f86170c98f193e4e48b494d2f057740ca5cbd1 100644 (file)
                        env: partition@30000 {
                                label = "u-boot-env";
                                reg = <0x030000 0x010000>;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_env_f810: macaddr@f810 {
+                                               reg = <0xf810 0x6>;
+                                       };
+
+                                       macaddr_env_f818: macaddr@f818 {
+                                               reg = <0xf818 0x6>;
+                                       };
+                               };
                        };
 
                        partition@40000 {
 
        mtd-cal-data = <&art 0x1000>;
 };
-
-&env {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_env_f810: macaddr@f810 {
-               reg = <0xf810 0x6>;
-       };
-
-       macaddr_env_f818: macaddr@f818 {
-               reg = <0xf818 0x6>;
-       };
-};