summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorMieczyslaw Nalewaj <namiltd@yahoo.com>2024-03-18 11:07:35 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2024-03-29 20:10:42 +0100
commit362e7103c674cb9d3fe8f5c6a1a38414f7ba66b8 (patch)
tree69c072f21a7900308d9ea5b007974d098814edea /target/linux/ramips
parenta998a12a2fe2b0f29b8bba11fec386b05c5ac1cc (diff)
downloadopenwrt-362e7103c674cb9d3fe8f5c6a1a38414f7ba66b8.tar.gz
openwrt-362e7103c674cb9d3fe8f5c6a1a38414f7ba66b8.tar.bz2
openwrt-362e7103c674cb9d3fe8f5c6a1a38414f7ba66b8.zip
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>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts6
1 files 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 = <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";
};