diff options
| author | Rosen Penev | 2025-08-12 18:22:27 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-08-13 07:58:03 +0000 |
| commit | 9d193d9b6549bd63117e17e22895b3cfb6de562b (patch) | |
| tree | 191cfab6a6efceb1f171f61c2d04d0dc4587a80b | |
| parent | 33728aa96c8d1206c9c31080654de2f7cf143ee5 (diff) | |
| download | openwrt-9d193d9b6549bd63117e17e22895b3cfb6de562b.tar.gz | |
mpc85xx: tl-wdr4900: add back 5ghz LED
In the conversion to dts, qca,led-pin was used for both interfaces.
Unfortunately, it's mutually exclusive with gpio-controller which made
it not do anything.
Fixes: 949e1a0 ("mpc85xx: tl-wdr4900: move platform code to dts")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19758
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit cc0ff28f235a14283138559249d413b7aa2a9a4d)
| -rw-r--r-- | target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts index 4fd9767d2d..861f4511de 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts @@ -395,18 +395,25 @@ compatible = "gpio-leds"; led-0 { + gpios = <&ath9k 0 GPIO_ACTIVE_LOW>; + color = <LED_COLOR_ID_GREEN>; + function = LED_FUNCTION_WLAN_5GHZ; + linux,default-trigger = "phy0tpt"; + }; + + led-1 { gpios = <&ath9k 1 GPIO_ACTIVE_LOW>; color = <LED_COLOR_ID_GREEN>; function = LED_FUNCTION_WPS; }; - system_green: led-1 { + system_green: led-2 { gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; color = <LED_COLOR_ID_GREEN>; function = LED_FUNCTION_STATUS; }; - led-2 { + led-3 { gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; color = <LED_COLOR_ID_GREEN>; function = LED_FUNCTION_USB; @@ -415,7 +422,7 @@ trigger-sources = <&hub_port1>; }; - led-3 { + led-4 { gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; color = <LED_COLOR_ID_GREEN>; function = LED_FUNCTION_USB; |