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-Tag: v24.10.0-rc1~2453 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14924%2Fhead;p=thirdparty%2Fopenwrt.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 c02b341d098..fcebf87c3f2 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"; };