ARM: dts: BCM5301X: DIR-890L: set WAN MAC from nvram
Subsystems (2)
PATCH 1/1 ARM: dts: BCM5301X: DIR-890L: set WAN MAC from nvram
The WAN MAC is offset by 1 from et0macaddr, same as DIR-885L.
Signed-off-by Rosen Penev <[email protected]>
--- arch/arm/boot/dts/broadcom/bcm47094-dlink-dir-890l.dts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
arch/arm/boot/dts/broadcom/bcm47094-dlink-dir-890l.dts +5 -1
@@ -114,6 +114,7 @@ nvram@1e1f0000 { reg = <0x1e1f0000 0x00010000>; et0macaddr: et0macaddr { + #nvmem-cell-cells = <1>; }; }; };
@@ -125,7 +126,7 @@ &gmac2 { * actually in use on the platform, we use this et0 MAC * address for et2. */ - nvmem-cells = <&et0macaddr>; + nvmem-cells = <&et0macaddr 0>; nvmem-cell-names = "mac-address"; };
@@ -190,6 +191,9 @@ port@3 { port@4 { label = "wan"; + + nvmem-cells = <&et0macaddr 1>; + nvmem-cell-names = "mac-address"; }; port@5 {
Signature · 1 line
2.55.0
From: Florian Fainelli <[email protected]>
Quoted 4 lines · Rosen Penev
The WAN MAC is offset by 1 from et0macaddr, same as DIR-885L.
Signed-off-by Rosen Penev <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! --
Florian