From: Mieczyslaw Nalewaj Date: Mon, 18 Mar 2024 10:07:35 +0000 (+0100) Subject: ramips: mt7620a_tplink_archer-c5-v4: use LED_FUNCTION_WLAN_2GHZ and LED_FUNCTION_WLAN... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=362e7103c674cb9d3fe8f5c6a1a38414f7ba66b8;p=openwrt%2Fstaging%2Fthess.git ramips: mt7620a_tplink_archer-c5-v4: use LED_FUNCTION_WLAN_2GHZ and LED_FUNCTION_WLAN_5GHZ Use LED_FUNCTION_WLAN_2GHZ and LED_FUNCTION_WLAN_5GHZ instead function-enumerator Signed-off-by: Mieczyslaw Nalewaj --- diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts index c02b341d09..fcebf87c3f 100644 --- a/target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts +++ b/target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts @@ -26,17 +26,15 @@ }; led-1 { - function = LED_FUNCTION_WLAN; + function = LED_FUNCTION_WLAN_2GHZ; color = ; - function-enumerator = <2>; gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy1tpt"; }; led-2 { - function = LED_FUNCTION_WLAN; + function = LED_FUNCTION_WLAN_5GHZ; color = ; - function-enumerator = <5>; gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy0tpt"; };