[openwrt/openwrt] ipq40xx: add label-mac-device alias for Linksys WHW01
LEDE Commits
lede-commits at lists.infradead.org
Sun Oct 19 02:55:28 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/deca8fd24bcd039a3784bf83db5541b297def8ff
commit deca8fd24bcd039a3784bf83db5541b297def8ff
Author: Christoph Krapp <achterin at gmail.com>
AuthorDate: Sat Oct 18 00:23:35 2025 +0200
ipq40xx: add label-mac-device alias for Linksys WHW01
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 at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20441
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
.../ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts b/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts
index 202a258880..3fbc66b1a3 100644
--- a/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts
+++ b/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts
@@ -10,11 +10,11 @@
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 {
More information about the lede-commits
mailing list