diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2023-09-01 14:43:11 +0200 |
---|---|---|
committer | Florian Fainelli <florian.fainelli@broadcom.com> | 2023-10-23 15:30:47 -0700 |
commit | a9e79863b62aaaefcdf469fc331bf482ae00db0d (patch) | |
tree | ba5b42edbfd3335e097ea009db407f9cbed9ebb4 /arch/arm | |
parent | 5cbee5828219c4f7b33e96b5d8ce5e467b2857c8 (diff) |
ARM: dts: BCM5301X: Set MAC address for Asus RT-AC87U
Specify NVRAM access and use its "et1macaddr" NVMEM cell.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20230901124311.31156-1-zajec5@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts b/arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts index 4f44cb4df704..59400217f8c3 100644 --- a/arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts +++ b/arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts @@ -25,6 +25,12 @@ <0x88000000 0x08000000>; }; + nvram@1c080000 { + et1macaddr: et1macaddr { + #nvmem-cell-cells = <1>; + }; + }; + leds { compatible = "gpio-leds"; @@ -62,6 +68,11 @@ }; }; +&gmac0 { + nvmem-cells = <&et1macaddr 0>; + nvmem-cell-names = "mac-address"; +}; + &usb3_phy { status = "okay"; }; |