ramips: mt7620a_tplink_archer-c5-v4: use LED_FUNCTION_WLAN_2GHZ and LED_FUNCTION_WLAN...
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Mon, 18 Mar 2024 10:07:35 +0000 (11:07 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 29 Mar 2024 19:10:42 +0000 (20:10 +0100)
Use LED_FUNCTION_WLAN_2GHZ and LED_FUNCTION_WLAN_5GHZ instead function-enumerator

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts

index c02b341d0983574257f47b3b793d10dad02bce8d..fcebf87c3f2fa7dc7c5505849a4335b2e23d0ad3 100644 (file)
                };
 
                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";
                };