diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2022-02-28 12:52:07 +0300 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2022-03-01 00:28:32 +0300 |
commit | c8442f0fb09ca3d842b9b23d1d0650f649fd10f8 (patch) | |
tree | 342f16418fffa7bbd6bd11b1651214a06efca312 /arch/arm/boot | |
parent | 482c85c7fc95c572d368b2214b9e9d2c4a2e5789 (diff) | |
download | linux-c8442f0fb09ca3d842b9b23d1d0650f649fd10f8.tar.xz |
ARM: dts: BCM5301X: Add Ethernet MAC address to Luxul XWR-3150
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 <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts index 24ae3c8a3e09..9efcb2424228 100644 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts @@ -25,6 +25,9 @@ nvram@1eff0000 { compatible = "brcm,nvram"; reg = <0x1eff0000 0x10000>; + + et0macaddr: et0macaddr { + }; }; leds { @@ -72,6 +75,11 @@ }; }; +&gmac0 { + nvmem-cells = <&et0macaddr>; + nvmem-cell-names = "mac-address"; +}; + &usb3 { vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; }; |