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>
This commit is contained in:
Rafał Miłecki
2023-09-01 14:43:11 +02:00
committed by Florian Fainelli
parent 5cbee58282
commit a9e79863b6

View File

@@ -25,6 +25,12 @@ memory@0 {
<0x88000000 0x08000000>;
};
nvram@1c080000 {
et1macaddr: et1macaddr {
#nvmem-cell-cells = <1>;
};
};
leds {
compatible = "gpio-leds";
@@ -62,6 +68,11 @@ button-restart {
};
};
&gmac0 {
nvmem-cells = <&et1macaddr 0>;
nvmem-cell-names = "mac-address";
};
&usb3_phy {
status = "okay";
};