From 955f2a74d804c2dddb7887d30e6480b50102039b Mon Sep 17 00:00:00 2001 From: Tomasz Maciej Nowak Date: Mon, 4 May 2026 19:48:40 +0200 Subject: [PATCH] ath79: wlr-7100: wire up 5GHz WLAN LED Allows to light it up on 5GHz WLAN activation. Signed-off-by: Tomasz Maciej Nowak (cherry picked from commit dd8b607b456ccb5a16676ee6e1e1fd6289fe893b) --- .../linux/ath79/dts/ar1022_sitecom_wlr-7100.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts b/target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts index a8589b769f..840503933b 100644 --- a/target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts +++ b/target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts @@ -35,6 +35,8 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&enable_gpio_11>; ops { label = "white:ops"; @@ -47,6 +49,13 @@ gpios = <&gpio 2 GPIO_ACTIVE_LOW>; default-state = "on"; }; + + wlan5g { + function = LED_FUNCTION_WLAN_5GHZ; + color = ; + gpios = <&gpio 11 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy0tpt"; + }; }; }; @@ -94,6 +103,12 @@ }; }; +&pinmux { + enable_gpio_11: pinmux-enable-gpio-11 { + pinctrl-single,bits = <0x8 0x0 0xff000000>; + }; +}; + &ref { clock-frequency = <25000000>; };