1 From a9e79863b62aaaefcdf469fc331bf482ae00db0d Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 1 Sep 2023 14:43:11 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Set MAC address for Asus RT-AC87U
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Specify NVRAM access and use its "et1macaddr" NVMEM cell.
11 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
12 Link: https://lore.kernel.org/r/20230901124311.31156-1-zajec5@gmail.com
13 Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
15 arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts | 11 +++++++++++
16 1 file changed, 11 insertions(+)
18 --- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
19 +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
21 <0x88000000 0x08000000>;
25 + et1macaddr: et1macaddr {
26 + #nvmem-cell-cells = <1>;
31 compatible = "gpio-leds";
38 + nvmem-cells = <&et1macaddr 0>;
39 + nvmem-cell-names = "mac-address";