[openwrt/openwrt] ath79: qcn5502: use led-sources for WMAC
LEDE Commits
lede-commits at lists.infradead.org
Wed Aug 27 03:48:49 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c1a6c85c98a0301e72cc7ec3b4959f2fa7d9f78d
commit c1a6c85c98a0301e72cc7ec3b4959f2fa7d9f78d
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sat May 24 18:10:42 2025 -0700
ath79: qcn5502: use led-sources for WMAC
The ath9k driver creates an ath9k LED by default. Instead of having a
non functional LED, configure it properly and remove the extra as it's
not needed.
It's also a bit funny matching against phy0 and phy1 when both differ
between ath9k and ath10k.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19862
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/ath79/dts/qcn5502_asus_rt-ac59u.dtsi | 13 +++++++------
target/linux/ath79/dts/qcn5502_tplink_archer-a9-v6.dts | 11 +++++------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/target/linux/ath79/dts/qcn5502_asus_rt-ac59u.dtsi b/target/linux/ath79/dts/qcn5502_asus_rt-ac59u.dtsi
index 3d3df1adcc..dfa68895f8 100644
--- a/target/linux/ath79/dts/qcn5502_asus_rt-ac59u.dtsi
+++ b/target/linux/ath79/dts/qcn5502_asus_rt-ac59u.dtsi
@@ -49,12 +49,6 @@
linux,default-trigger = "usbport";
};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "blue:wlan5g";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
@@ -70,3 +64,10 @@
&usb0 {
status = "okay";
};
+
+&wmac {
+ led {
+ led-sources = <15>;
+ led-active-low;
+ };
+};
diff --git a/target/linux/ath79/dts/qcn5502_tplink_archer-a9-v6.dts b/target/linux/ath79/dts/qcn5502_tplink_archer-a9-v6.dts
index b674863705..c905dc79f0 100644
--- a/target/linux/ath79/dts/qcn5502_tplink_archer-a9-v6.dts
+++ b/target/linux/ath79/dts/qcn5502_tplink_archer-a9-v6.dts
@@ -66,12 +66,6 @@
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "green:wlan5g";
gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
@@ -246,4 +240,9 @@
nvmem-cells = <&cal_art_1000>, <&macaddr_info_8 0>;
nvmem-cell-names = "calibration", "mac-address";
+
+ led {
+ led-sources = <15>;
+ led-active-low;
+ };
};
More information about the lede-commits
mailing list