| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- From a9e79863b62aaaefcdf469fc331bf482ae00db0d Mon Sep 17 00:00:00 2001
- From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
- Date: Fri, 1 Sep 2023 14:43:11 +0200
- Subject: [PATCH] ARM: dts: BCM5301X: Set MAC address for Asus RT-AC87U
- MIME-Version: 1.0
- Content-Type: text/plain; charset=UTF-8
- Content-Transfer-Encoding: 8bit
- Specify NVRAM access and use its "et1macaddr" NVMEM cell.
- Signed-off-by: Rafał Miłecki <[email protected]>
- Link: https://lore.kernel.org/r/[email protected]
- Signed-off-by: Florian Fainelli <[email protected]>
- ---
- arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts | 11 +++++++++++
- 1 file changed, 11 insertions(+)
- --- 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";
- };
|