summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Servili2025-04-28 01:39:23 +0000
committerRobert Marko2025-04-29 12:53:56 +0000
commitf84cac4654627058009105e9e3f2353c90c6b73e (patch)
treef37e10de004b25dccc444eb773f824dc4b0c43f0
parent5c8301e80032b17cc1f3e1f923f3198bb673dea0 (diff)
downloadopenwrt-f84cac4654627058009105e9e3f2353c90c6b73e.tar.gz
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@serverror.com> Link: https://github.com/openwrt/openwrt/pull/18624 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6010-wax610-base.dtsi4
-rw-r--r--target/linux/qualcommax/ipq60xx/base-files/etc/board.d/01_leds5
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