Skip to content

Commit a9e7986

Browse files
Rafał Miłeckiffainelli
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Florian Fainelli <[email protected]>
1 parent 5cbee58 commit a9e7986

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
<0x88000000 0x08000000>;
2626
};
2727

28+
nvram@1c080000 {
29+
et1macaddr: et1macaddr {
30+
#nvmem-cell-cells = <1>;
31+
};
32+
};
33+
2834
leds {
2935
compatible = "gpio-leds";
3036

@@ -62,6 +68,11 @@
6268
};
6369
};
6470

71+
&gmac0 {
72+
nvmem-cells = <&et1macaddr 0>;
73+
nvmem-cell-names = "mac-address";
74+
};
75+
6576
&usb3_phy {
6677
status = "okay";
6778
};

0 commit comments

Comments
 (0)