ramips: mt7621: nix mac-address-increment
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_sercomm_na502s.dts
index 651466a3a4662469036ec72fdf8a295c248743e6..bea5998935f6bd6a907d4db5a693255513a3f49f 100644 (file)
 };
 
 &gmac0 {
-       nvmem-cells = <&macaddr_factory_e000>;
+       nvmem-cells = <&macaddr_factory_e000 0>;
        nvmem-cell-names = "mac-address";
 };
 
                                };
 
                                macaddr_factory_e000: macaddr@e000 {
+                                       compatible = "mac-base";
                                        reg = <0xe000 0x6>;
+                                       #nvmem-cell-cells = <1>;
                                };
                        };
                };
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
-               nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_e000>;
+               nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_e000 1>;
                nvmem-cell-names = "eeprom", "mac-address";
-               mac-address-increment = <1>;
                ieee80211-freq-limit = <5000000 6000000>;
        };
 };
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0 0 0 0 0>;
-               nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_e000>;
+               nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_e000 2>;
                nvmem-cell-names = "eeprom", "mac-address";
-               mac-address-increment = <2>;
                ieee80211-freq-limit = <2400000 2500000>;
        };
 };