[openwrt/openwrt] qualcommax: ipq60xx: LED mapping update for Netgear WAX610 and WAX610Y
LEDE Commits
lede-commits at lists.infradead.org
Tue Apr 29 05:54:10 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f84cac4654627058009105e9e3f2353c90c6b73e
commit f84cac4654627058009105e9e3f2353c90c6b73e
Author: Erik Servili <serverror at serverror.com>
AuthorDate: Mon Apr 28 03:39:23 2025 +0200
qualcommax: ipq60xx: LED mapping update for Netgear WAX610 and WAX610Y
Fix swapped WLAN LEDs and move to blue LEDs to match stock behavior. Add LAN LED mappings.
Signed-off-by: Erik Servili <serverror at serverror.com>
Link: https://github.com/openwrt/openwrt/pull/18624
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
.../files/arch/arm64/boot/dts/qcom/ipq6010-wax610-base.dtsi | 4 ++--
target/linux/qualcommax/ipq60xx/base-files/etc/board.d/01_leds | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6010-wax610-base.dtsi b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6010-wax610-base.dtsi
index 4dcaa6e126..e51ed90629 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6010-wax610-base.dtsi
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6010-wax610-base.dtsi
@@ -80,6 +80,7 @@
function = LED_FUNCTION_WLAN;
function-enumerator = <0>;
gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "phy1radio";
};
led_2g_g {
@@ -87,7 +88,6 @@
function = LED_FUNCTION_WLAN;
function-enumerator = <1>;
gpios = <&tlmm 33 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0radio";
};
led_5g_b {
@@ -95,6 +95,7 @@
function = LED_FUNCTION_WLAN;
function-enumerator = <2>;
gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "phy0radio";
};
led_5g_g {
@@ -102,7 +103,6 @@
function = LED_FUNCTION_WLAN;
function-enumerator = <3>;
gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy1radio";
};
};
};
diff --git a/target/linux/qualcommax/ipq60xx/base-files/etc/board.d/01_leds b/target/linux/qualcommax/ipq60xx/base-files/etc/board.d/01_leds
index 75735fd5ff..2f39503695 100644
--- a/target/linux/qualcommax/ipq60xx/base-files/etc/board.d/01_leds
+++ b/target/linux/qualcommax/ipq60xx/base-files/etc/board.d/01_leds
@@ -35,6 +35,11 @@ yuncore,fap650)
ucidef_set_led_netdev "wlan5ghz" "WLAN 5GHz LED" "blue:wlan-5ghz" "wlan0" "tx rx"
ucidef_set_led_netdev "wlan2ghz" "WLAN 2.4GHz LED" "green:wlan-2ghz" "wlan1" "tx rx"
;;
+netgear,wax610|\
+netgear,wax610y)
+ ucidef_set_led_netdev "lan-port-link" "LAN-PORT-LINK" "green:lan-0" "lan" "link_10 link_100 link_1000 link_2500"
+ ucidef_set_led_netdev "lan-port-traffic" "LAN-PORT-TRAFFIC" "orange:lan-1" "lan" "tx rx link_10 link_100 link_1000 link_2500"
+ ;;
esac
board_config_flush
More information about the lede-commits
mailing list