]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: BCM5301X: AC5300: set WAN MAC from nvram
authorRosen Penev <rosenp@gmail.com>
Wed, 25 Feb 2026 23:08:27 +0000 (15:08 -0800)
committerFlorian Fainelli <florian.fainelli@broadcom.com>
Fri, 20 Mar 2026 23:57:30 +0000 (16:57 -0700)
The WAN MAC is offset by 1. Set in dts to avoid having to handle this in
userspace.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://lore.kernel.org/r/20260225230827.21715-5-rosenp@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac5300.dts

index 01ec8c03686a66dd1efa439333f83737fe572191..8bf623c67de004cf51042a4d725d53816a23c9de 100644 (file)
        ports {
                port@0 {
                        label = "wan";
+
+                       nvmem-cells = <&et1macaddr 1>;
+                       nvmem-cell-names = "mac-address";
                };
 
                port@1 {