summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Krapp2025-10-17 22:23:35 +0000
committerHauke Mehrtens2025-10-19 15:24:24 +0000
commitc416b8c44cd5fd70d8ae20dd11169c300104ddee (patch)
tree1c7ffebbc21498adde2e6a73cb78328455ba8980
parent50f98c53353088e4ec6fdad1a966753e95ea499c (diff)
downloadopenwrt-c416b8c44cd5fd70d8ae20dd11169c300104ddee.tar.gz
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@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20441 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit deca8fd24bcd039a3784bf83db5541b297def8ff) Link: https://github.com/openwrt/openwrt/pull/20454 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts
index fe6e8626ea..f8c9003632 100644
--- a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts
+++ b/target/linux/ipq40xx/files-6.6/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 {