* [PATCH] ARM: dts: BCM5301X: DIR-890L: set WAN MAC from nvram
@ 2026-07-27 20:27 Rosen Penev
0 siblings, 0 replies; only message in thread
From: Rosen Penev @ 2026-07-27 20:27 UTC (permalink / raw)
To: devicetree
Cc: Florian Fainelli, Hauke Mehrtens, Rafał Miłecki,
Broadcom internal kernel review list, Rob Herring,
Krzysztof Kozlowski, Conor Dooley,
moderated list:BROADCOM BCM5301X ARM ARCHITECTURE, open list
The WAN MAC is offset by 1 from et0macaddr, same as DIR-885L.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
arch/arm/boot/dts/broadcom/bcm47094-dlink-dir-890l.dts | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/broadcom/bcm47094-dlink-dir-890l.dts b/arch/arm/boot/dts/broadcom/bcm47094-dlink-dir-890l.dts
index 3124dfd01b94..944d592dee2c 100644
--- a/arch/arm/boot/dts/broadcom/bcm47094-dlink-dir-890l.dts
+++ b/arch/arm/boot/dts/broadcom/bcm47094-dlink-dir-890l.dts
@@ -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 {
--
2.55.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-27 20:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-27 20:27 [PATCH] ARM: dts: BCM5301X: DIR-890L: set WAN MAC from nvram Rosen Penev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox