ramips: mt7628: use mac-base
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7628an_tplink_archer-c20-v4.dts
index 2225b6333386dd4022c8c365345bbfa058278883..0d09e5434564d23d7348f02b31b9de683bca0fed 100644 (file)
 };
 
 &wmac {
-       mac-address-increment = <(-2)>;
+       status = "okay";
+
+       nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 (-2)>;
+       nvmem-cell-names = "eeprom", "mac-address";
 };
 
 &esw {
        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)>;
        };
 };