diff options
| author | Tomasz Maciej Nowak | 2026-05-04 17:48:40 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-05-13 22:42:07 +0000 |
| commit | 955f2a74d804c2dddb7887d30e6480b50102039b (patch) | |
| tree | 466579a7477737b82a37e3d0c68d4255d2c0adf3 | |
| parent | 510cf4738669ad421bfd81c262bfd1e3e53127fd (diff) | |
| download | openwrt-955f2a74d804c2dddb7887d30e6480b50102039b.tar.gz | |
ath79: wlr-7100: wire up 5GHz WLAN LED
Allows to light it up on 5GHz WLAN activation.
Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
(cherry picked from commit dd8b607b456ccb5a16676ee6e1e1fd6289fe893b)
| -rw-r--r-- | target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts | 15 |
1 files changed, 15 insertions, 0 deletions
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 = <LED_COLOR_ID_BLUE>; + 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>; }; |