ramips: mt7621: nix mac-address-increment
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7621_dlink_dir-3060-a1.dts
index 23995079fdb5f2f90a8e321de49cd2ce55d4e621..1cca6f6b57851cdc1d4ff90afbeec3e6a8a9e9f9 100644 (file)
                                };
 
                                macaddr_factory_e000: macaddr@e000 {
+                                       compatible = "mac-base";
                                        reg = <0xe000 0x6>;
+                                       #nvmem-cell-cells = <1>;
                                };
 
                                macaddr_factory_e006: macaddr@e006 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
                ieee80211-freq-limit = <2400000 6000000>;
-               nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_e000>;
+               nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_e000 1>;
                nvmem-cell-names = "eeprom", "mac-address";
-               mac-address-increment = <1>;
        };
 };
 
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
                ieee80211-freq-limit = <5000000 6000000>;
-               nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_e000>;
+               nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_e000 3>;
                nvmem-cell-names = "eeprom", "mac-address";
-               mac-address-increment = <3>;
        };
 };
 
 &gmac0 {
-       nvmem-cells = <&macaddr_factory_e000>;
+       nvmem-cells = <&macaddr_factory_e000 0>;
        nvmem-cell-names = "mac-address";
 };