]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ipq40xx: add label-mac-device alias for Linksys WHW01
authorChristoph Krapp <achterin@gmail.com>
Fri, 17 Oct 2025 22:23:35 +0000 (00:23 +0200)
committerRobert Marko <robimarko@gmail.com>
Sun, 19 Oct 2025 09:55:22 +0000 (11:55 +0200)
Set the label-mac-device to be able to easily fetch the mac-address of
the device, which is printed on the bottom of the case.
While at it, remove the TODO - the ethernet0 alias is needed to get the
mac from bootloader.

Signed-off-by: Christoph Krapp <achterin@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20441
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts

index 202a2588802651b7fea9bb0e6764ee2dacd1bb0f..3fbc66b1a37383617a42a7bf77ceedd577a47f27 100644 (file)
        compatible = "linksys,whw01";
 
        aliases {
-               // TODO: Verify if the ethernet0 alias is needed
                ethernet0 = &gmac;
                serial0 = &blsp1_uart1;
                led-boot = &led_system_blue;
                led-running = &led_system_blue;
+               label-mac-device = &gmac;
        };
 
        chosen {