ath79: qca: remove mac-address-increment
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_tplink_archer-c7-v2.dts
index b2877676e87a8f5263f36ad4c2f27d60487b4471..c722caeb5532d2192d417031e2d2486ad28f07c7 100644 (file)
@@ -41,7 +41,9 @@
                        #size-cells = <1>;
 
                        macaddr_uboot_1fc00: macaddr@1fc00 {
+                               compatible = "mac-base";
                                reg = <0x1fc00 0x6>;
+                               #nvmem-cell-cells = <1>;
                        };
                };
        };
 };
 
 &eth0 {
-       nvmem-cells = <&macaddr_uboot_1fc00>;
+       nvmem-cells = <&macaddr_uboot_1fc00 1>;
        nvmem-cell-names = "mac-address";
-       mac-address-increment = <1>;
 };
 
 &eth1 {
-       nvmem-cells = <&macaddr_uboot_1fc00>;
+       nvmem-cells = <&macaddr_uboot_1fc00 0>;
        nvmem-cell-names = "mac-address";
 };
 
                compatible = "qcom,ath10k";
                reg = <0 0 0 0 0>;
 
-               mac-address-increment = <(-1)>;
-               nvmem-cells = <&macaddr_uboot_1fc00>, <&calibration_art_5000>;
+               nvmem-cells = <&macaddr_uboot_1fc00 (-1)>, <&calibration_art_5000>;
                nvmem-cell-names = "mac-address", "calibration";
        };
 };
 
 &wmac {
-       nvmem-cells = <&macaddr_uboot_1fc00>, <&calibration_art_1000>;
+       nvmem-cells = <&macaddr_uboot_1fc00 0>, <&calibration_art_1000>;
        nvmem-cell-names = "mac-address", "calibration";
 };