diff options
author | Arınç ÜNAL <arinc.unal@arinc9.com> | 2022-04-01 13:20:01 +0300 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2022-04-04 21:37:10 +0300 |
commit | 7f7f8c7b9f3cbae1355fb3b0ce4ea9d6f1552521 (patch) | |
tree | fbd296a3736069b2edc4daa42bad97af13a76419 /arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts | |
parent | 4b7a67420a34ebd8fbf0111221a8bfd8001d418d (diff) | |
download | linux-7f7f8c7b9f3cbae1355fb3b0ce4ea9d6f1552521.tar.xz |
ARM: dts: BCM5301X: Retrieve gmac1 MAC address from NVRAM on Asus RT-AC88U
The et1macaddr NVRAM variable contains a MAC address for gmac1 on Asus
RT-AC88U. Add NVMEM cell for it and reference it in the gmac1 node.
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Acked-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts index 5696dd5fbaf4..2f944d1c0330 100644 --- a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts +++ b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts @@ -25,6 +25,9 @@ nvram@1c080000 { compatible = "brcm,nvram"; reg = <0x1c080000 0x00180000>; + + et1macaddr: et1macaddr { + }; }; leds { @@ -239,6 +242,11 @@ }; }; +&gmac1 { + nvmem-cells = <&et1macaddr>; + nvmem-cell-names = "mac-address"; +}; + &usb2 { vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>; }; |