[openwrt/openwrt] ath79: fix some ath10k LEDs
LEDE Commits
lede-commits at lists.infradead.org
Sun Nov 30 10:06:48 PST 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/099807bea57d5c47cc5793ce4c02fd96d5ecfa40
commit 099807bea57d5c47cc5793ce4c02fd96d5ecfa40
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sat May 24 17:11:32 2025 -0700
ath79: fix some ath10k LEDs
ath10k loads before ath9k and thus ends up as phy0.
Also use led-sources to avoid some confusion.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19860
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/ath79/dts/qca9531_engenius_ews511ap.dts | 13 ++++++-------
target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts | 13 ++++++-------
2 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/target/linux/ath79/dts/qca9531_engenius_ews511ap.dts b/target/linux/ath79/dts/qca9531_engenius_ews511ap.dts
index 6e9df06918..f84f8b084b 100644
--- a/target/linux/ath79/dts/qca9531_engenius_ews511ap.dts
+++ b/target/linux/ath79/dts/qca9531_engenius_ews511ap.dts
@@ -50,16 +50,10 @@
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wlan5g {
label = "green:wlan5g";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
+ linux,default-trigger = "phy0tpt";
};
};
@@ -157,4 +151,9 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <15>;
+ led-active-low;
+ };
};
diff --git a/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts b/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
index 114b053c88..73c08d290f 100644
--- a/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
+++ b/target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
@@ -21,16 +21,10 @@
leds {
compatible = "gpio-leds";
- wlan2g {
- label = "white:wlan2g";
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wlan5g {
label = "white:wlan5g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
+ linux,default-trigger = "phy0tpt";
};
qss {
@@ -190,6 +184,11 @@
nvmem-cells = <&macaddr_romfile_f100 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <14>;
+ led-active-low;
+ };
};
&pcie0 {
More information about the lede-commits
mailing list