ipq40xx: orbi: add ethernet0 alias
authorRobert Marko <robimarko@gmail.com>
Sat, 28 Dec 2024 19:53:12 +0000 (20:53 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 29 Dec 2024 09:04:19 +0000 (10:04 +0100)
Netgear Orbi devices rely on ethernet0 alias to be present to U-Boot will
populate the MAC.

This fixes the random MAC on each boot after the ethernet0 alias was
dropped from the SoC DTSI.

Fixes: cd9c7211241e ("ipq40xx: 6.1: use latest DSA and ethernet patches")
Fixes: #17384
Link: https://github.com/openwrt/openwrt/pull/17414
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-orbi.dtsi

index 0418176066dc7ea9a7a443a8c64db9031964cfa0..e3024ed663d2547f4e63b8545a5b67cf3832dbee 100644 (file)
@@ -12,6 +12,7 @@
                led-failsafe = &led_status_red;
                led-running = &led_status_green;
                led-upgrade = &led_status_blue;
+               ethernet0 = &gmac;
                label-mac-device = &gmac;
        };