diff options
author | Rosen Penev <rosenp@gmail.com> | 2023-11-25 13:35:04 -0800 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-11-26 00:15:58 +0100 |
commit | 458cb2cd6bdb2e7f83ae1fc949e71349bbd162f0 (patch) | |
tree | aeb55c8b6b40668b3ab3694493a6d5f50461b2b4 /target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts | |
parent | 40feb97e56512ed94bd3efab737b6737c2f3264f (diff) |
ramips: mt7620a: use mac-base
mac-address-increment is deprecated.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts b/target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts index 7b9145a741..febfd2e32e 100644 --- a/target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts +++ b/target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts @@ -108,7 +108,9 @@ }; macaddr_config_e490: macaddr@e490 { + compatible = "mac-base"; reg = <0xe490 0x6>; + #nvmem-cell-cells = <1>; }; }; }; @@ -131,9 +133,8 @@ &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)>; }; }; |