From 362e7103c674cb9d3fe8f5c6a1a38414f7ba66b8 Mon Sep 17 00:00:00 2001 From: Mieczyslaw Nalewaj Date: Mon, 18 Mar 2024 11:07:35 +0100 Subject: [PATCH] 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 --- target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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"; }; -- 2.30.2