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 <namiltd@yahoo.com>
This commit is contained in:
Mieczyslaw Nalewaj 2024-03-18 11:07:35 +01:00 committed by Hauke Mehrtens
parent a998a12a2f
commit 362e7103c6

View File

@ -26,17 +26,15 @@
};
led-1 {
function = LED_FUNCTION_WLAN;
function = LED_FUNCTION_WLAN_2GHZ;
color = <LED_COLOR_ID_GREEN>;
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 = <LED_COLOR_ID_GREEN>;
function-enumerator = <5>;
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};