1 From 7f7f8c7b9f3cbae1355fb3b0ce4ea9d6f1552521 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= <arinc.unal@arinc9.com>
3 Date: Fri, 1 Apr 2022 13:20:01 +0300
4 Subject: [PATCH] ARM: dts: BCM5301X: Retrieve gmac1 MAC address from NVRAM on
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 The et1macaddr NVRAM variable contains a MAC address for gmac1 on Asus
11 RT-AC88U. Add NVMEM cell for it and reference it in the gmac1 node.
13 Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
14 Acked-by: Rafał Miłecki <rafal@milecki.pl>
15 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
17 arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts | 8 ++++++++
18 1 file changed, 8 insertions(+)
20 --- a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts
21 +++ b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts
24 compatible = "brcm,nvram";
25 reg = <0x1c080000 0x00180000>;
27 + et1macaddr: et1macaddr {
37 + nvmem-cells = <&et1macaddr>;
38 + nvmem-cell-names = "mac-address";
42 vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;