lantiq: tplink_tdw89x0: use led-sources for wifi LED
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run

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>
This commit is contained in:
Rosen Penev 2025-12-05 19:44:33 -08:00 committed by Hauke Mehrtens
parent ff63c5cd82
commit a90fb76736

View file

@ -18,7 +18,6 @@
led-dsl = &led_dsl; led-dsl = &led_dsl;
led-internet = &led_internet; led-internet = &led_internet;
led-wifi = &led_wifi;
}; };
memory@0 { 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 { usb_vbus: regulator-usb-vbus {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
@ -207,9 +195,11 @@
ath9k: wifi@0,0 { ath9k: wifi@0,0 {
reg = <0 0 0 0 0>; reg = <0 0 0 0 0>;
#gpio-cells = <2>;
gpio-controller;
ieee80211-freq-limit = <2402000 2482000>; ieee80211-freq-limit = <2402000 2482000>;
led {
led-sources = <0>;
};
}; };
}; };
}; };