ramips: mt7628: use mac-base
[openwrt/staging/nbd.git] / target / linux / ramips / dts / mt7628an_tplink_archer-c50-v3.dts
index f628908b9806fbdf0adb122c1eed674ee8586cc5..bfb39b3531ceba804bb224d13228d0761d79a913 100644 (file)
        };
 };
 
+&wmac {
+       status = "okay";
+
+       nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+       nvmem-cell-names = "eeprom", "mac-address";
+};
+
 &esw {
        mediatek,portmap = <0x3e>;
 };
        mt76@0,0 {
                reg = <0x0000 0 0 0 0>;
                ieee80211-freq-limit = <5000000 6000000>;
-               nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100>;
+               nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
                nvmem-cell-names = "eeprom", "mac-address";
-               mac-address-increment = <(-1)>;
        };
 };