ath79: ar: convert to mac-base
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / ar7241_tplink.dtsi
index fe3f047dc1a9e2bee7f2bbd4dc34e678896c336b..01eee39f1958bccc344b2334d51a2b991db5377d 100644 (file)
@@ -71,7 +71,9 @@
                                        #size-cells = <1>;
 
                                        macaddr_uboot_1fc00: macaddr@1fc00 {
+                                               compatible = "mac-base";
                                                reg = <0x1fc00 0x6>;
+                                               #nvmem-cell-cells = <1>;
                                        };
                                };
                        };
                #gpio-cells = <2>;
                gpio-controller;
                qca,no-eeprom;
-               nvmem-cells = <&macaddr_uboot_1fc00>;
+               nvmem-cells = <&macaddr_uboot_1fc00 0>;
                nvmem-cell-names = "mac-address";
        };
 };
 &eth0 {                /* WAN interface, initialized last as eth1 */
        status = "okay";
 
-       nvmem-cells = <&macaddr_uboot_1fc00>;
+       nvmem-cells = <&macaddr_uboot_1fc00 1>;
        nvmem-cell-names = "mac-address";
-       mac-address-increment = <1>;
 };
 
 &eth1 {                /* LAN interface, initialized first as eth0 */
-       nvmem-cells = <&macaddr_uboot_1fc00>;
+       nvmem-cells = <&macaddr_uboot_1fc00 0>;
        nvmem-cell-names = "mac-address";
 };