ramips: mt7628: use mac-base
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7628an_tplink_tl-wr902ac-v3.dts
index b49dc61a4cf0492eea6afb93af79354a16a884ff..0029be21e0f9045b2d0d3912ee08b67db456a689 100644 (file)
        };
 };
 
+&wmac {
+       status = "okay";
+
+       nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+       nvmem-cell-names = "eeprom", "mac-address";
+};
+
 &pcie {
        status = "okay";
 };
@@ -91,8 +98,7 @@
        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)>;
        };
 };