1 From c8442f0fb09ca3d842b9b23d1d0650f649fd10f8 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Mon, 28 Feb 2022 10:52:07 +0100
4 Subject: [PATCH] ARM: dts: BCM5301X: Add Ethernet MAC address to Luxul
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 Luxul XWR-3150 stores MAC as NVRAM variable. Add NVMEM cell for it and
11 reference it in the Ethernet interface node.
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
16 arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 8 ++++++++
17 1 file changed, 8 insertions(+)
19 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
20 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
23 compatible = "brcm,nvram";
24 reg = <0x1eff0000 0x10000>;
26 + et0macaddr: et0macaddr {
36 + nvmem-cells = <&et0macaddr>;
37 + nvmem-cell-names = "mac-address";
41 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;