diff options
author | Rosen Penev <rosenp@gmail.com> | 2023-11-07 19:39:00 -0800 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-11-26 01:30:32 +0100 |
commit | 33951848257848d220f39410b8f949c788d8b5af (patch) | |
tree | 8b88522dd389395eb5b70c677ae591e0208f2ccd /target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts | |
parent | f4c33d098fdfccc741c33cfde134a2911347d17a (diff) | |
download | openwrt-33951848257848d220f39410b8f949c788d8b5af.tar.gz openwrt-33951848257848d220f39410b8f949c788d8b5af.tar.bz2 openwrt-33951848257848d220f39410b8f949c788d8b5af.zip |
ramips: mt7621: nix mac-address-increment
nvmem-layout allows removal
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts b/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts index 3874953e45..8e2d866b3b 100644 --- a/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts +++ b/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts @@ -104,7 +104,9 @@ #size-cells = <1>; macaddr_factory_5: macaddr@5 { + compatible = "mac-base"; reg = <0x5 0x6>; + #nvmem-cell-cells = <1>; }; }; }; @@ -123,7 +125,7 @@ }; &gmac0 { - nvmem-cells = <&macaddr_factory_5>; + nvmem-cells = <&macaddr_factory_5 0>; nvmem-cell-names = "mac-address"; }; @@ -132,9 +134,8 @@ label = "wan"; phy-handle = <ðphy4>; - nvmem-cells = <&macaddr_factory_5>; + nvmem-cells = <&macaddr_factory_5 1>; nvmem-cell-names = "mac-address"; - mac-address-increment = <1>; }; &mdio { |