[openwrt/openwrt] lantiq: tplink_tdw89x0: use led-sources for wifi LED
LEDE Commits
lede-commits at lists.infradead.org
Sat Dec 6 10:31:10 PST 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a90fb76736868134793f3a934df77848afeb1b38
commit a90fb76736868134793f3a934df77848afeb1b38
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Fri Dec 5 19:44:33 2025 -0800
lantiq: tplink_tdw89x0: use led-sources for wifi LED
Avoids having to create a custom LED for wifi.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21059
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
.../arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi | 18 ++++--------------
1 file changed, 4 insertions(+), 14 deletions(-)
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi
index 104c905baa..30927fe549 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi
@@ -18,7 +18,6 @@
led-dsl = &led_dsl;
led-internet = &led_internet;
- led-wifi = &led_wifi;
};
memory at 0 {
@@ -88,17 +87,6 @@
};
};
- ath9k-leds {
- compatible = "gpio-leds";
-
- led_wifi: wifi {
- label = "green:wifi";
- gpios = <&ath9k 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
- };
-
-
usb_vbus: regulator-usb-vbus {
compatible = "regulator-fixed";
@@ -207,9 +195,11 @@
ath9k: wifi at 0,0 {
reg = <0 0 0 0 0>;
- #gpio-cells = <2>;
- gpio-controller;
ieee80211-freq-limit = <2402000 2482000>;
+
+ led {
+ led-sources = <0>;
+ };
};
};
};
More information about the lede-commits
mailing list