ramips: mt7620a: use mac-base
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7620a_dlink_dir-510l.dts
index 7b9145a74153c593ccc943d6eae7770dbf86fc74..febfd2e32eda9639c9ad193949d941c7061e637f 100644 (file)
                                        };
 
                                        macaddr_config_e490: macaddr@e490 {
+                                               compatible = "mac-base";
                                                reg = <0xe490 0x6>;
+                                               #nvmem-cell-cells = <1>;
                                        };
                                };
                        };
 &pcie0 {
        mt76x0e@0,0 {
                reg = <0x0000 0 0 0 0>;
-               nvmem-cells = <&eeprom_config_e05d>, <&macaddr_config_e490>;
+               nvmem-cells = <&eeprom_config_e05d>, <&macaddr_config_e490 2>;
                nvmem-cell-names = "eeprom", "mac-address";
-               mac-address-increment = <(2)>;
        };
 };