[openwrt/openwrt] ath79: iodata: set ath9k LED pin
LEDE Commits
lede-commits at lists.infradead.org
Mon Aug 25 01:21:38 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/48c7a40745c076fb5b237b38b3cc2ec314b15f3e
commit 48c7a40745c076fb5b237b38b3cc2ec314b15f3e
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sun May 25 18:26:22 2025 -0700
ath79: iodata: set ath9k LED pin
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.
Set the pcie device to qcom,ath10k as the Documentation says, The pci
line implies it's ath9k when it's actually ath10k.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18873
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts | 11 +++++------
target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi | 13 ++++++-------
2 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts b/target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts
index 6eb072ef2f..6e4ec5cbfe 100644
--- a/target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts
+++ b/target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts
@@ -40,12 +40,6 @@
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wlan5g {
label = "green:wlan5g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
@@ -219,4 +213,9 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <12>;
+ led-active-low;
+ };
};
diff --git a/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi b/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi
index bc05ec559a..690e0918d9 100644
--- a/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi
+++ b/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi
@@ -35,12 +35,6 @@
linux,default-trigger = "phy0tpt";
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
notification {
label = "amber:notification";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
@@ -185,7 +179,7 @@
status = "okay";
wifi at 0,0 {
- compatible = "pci168c,003c";
+ compatible = "qcom,ath10k";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&cal_art_5000>;
nvmem-cell-names = "calibration";
@@ -205,4 +199,9 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <22>;
+ led-active-low;
+ };
};
More information about the lede-commits
mailing list