1 From 5cbee5828219c4f7b33e96b5d8ce5e467b2857c8 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 12:55:49 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Set MACs for D-Link DIR-885L
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Specify NVRAM access and use its "et2macaddr" NVMEM cell.
11 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
12 Link: https://lore.kernel.org/r/20230901105549.7076-1-zajec5@gmail.com
13 Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
15 .../dts/broadcom/bcm47094-dlink-dir-885l.dts | 16 ++++++++++++++++
16 1 file changed, 16 insertions(+)
18 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
19 +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
21 <0x88000000 0x08000000>;
25 + compatible = "brcm,nvram";
26 + reg = <0x1e3f0000 0x10000>;
28 + et2macaddr: et2macaddr {
29 + #nvmem-cell-cells = <1>;
33 nand_controller: nand-controller@18028000 {
37 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
41 + nvmem-cells = <&et2macaddr 0>;
42 + nvmem-cell-names = "mac-address";
52 + nvmem-cells = <&et2macaddr 3>;
53 + nvmem-cell-names = "mac-address";