diff options
| author | Rosen Penev | 2025-12-06 03:44:33 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-12-06 18:30:22 +0000 |
| commit | a90fb76736868134793f3a934df77848afeb1b38 (patch) | |
| tree | f607534ce7f58e7505359587f6b94748c3117a6b | |
| parent | ff63c5cd82a555df553bdfa42f1630399fb5e019 (diff) | |
| download | openwrt-a90fb76736868134793f3a934df77848afeb1b38.tar.gz | |
lantiq: tplink_tdw89x0: use led-sources for wifi LED
Avoids having to create a custom LED for wifi.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21059
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi | 18 |
1 files 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@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@0,0 { reg = <0 0 0 0 0>; - #gpio-cells = <2>; - gpio-controller; ieee80211-freq-limit = <2402000 2482000>; + + led { + led-sources = <0>; + }; }; }; }; |