ARM: dts: BCM5301X: Add Ethernet MAC address to Luxul XWR-3150
PATCH 1/1 ARM: dts: BCM5301X: Add Ethernet MAC address to Luxul XWR-3150
From: Rafał Miłecki <[email protected]>
Luxul XWR-3150 stores MAC as NVRAM variable. Add NVMEM cell for it and reference it in the Ethernet interface node.
Signed-off-by Rafał Miłecki <[email protected]>
--- arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts +8 -0
@@ -25,6 +25,9 @@ memory@0 { nvram@1eff0000 { compatible = "brcm,nvram"; reg = <0x1eff0000 0x10000>; + + et0macaddr: et0macaddr { + }; }; leds {
@@ -72,6 +75,11 @@ restart { }; }; +&gmac0 { + nvmem-cells = <&et0macaddr>; + nvmem-cell-names = "mac-address"; +}; + &usb3 { vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; };
Signature · 1 line
2.34.1
Florian Fainelli
AppliedQuoted 7 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
Luxul XWR-3150 stores MAC as NVRAM variable. Add NVMEM cell for it and reference it in the Ethernet interface node.
Signed-off-by Rafał Miłecki <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! --
Florian