[openwrt/openwrt] ath79: whr-g301n: remove custon wifi LED
LEDE Commits
lede-commits at lists.infradead.org
Thu Sep 18 02:11:08 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/5edf6a4c25d6e5fc9046d4e5533b79b07bcb3ef4
commit 5edf6a4c25d6e5fc9046d4e5533b79b07bcb3ef4
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Thu Sep 11 16:48:59 2025 -0700
ath79: whr-g301n: remove custon wifi LED
The driver makes its own ath9k LED which handles everything.
Simplifies DTS slightly.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20023
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
diff --git a/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts b/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts
index a72a89a218..5ebc9f748f 100644
--- a/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts
+++ b/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts
@@ -96,17 +96,6 @@
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
};
-
- ath9k-leds {
- compatible = "gpio-leds";
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
- };
};
&spi {
@@ -186,13 +175,16 @@
&pcie {
status = "okay";
- ath9k: wifi at 0,0 {
+ wifi at 0,0 {
compatible = "pci168c,002a";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&cal_art_1000>, <&macaddr_art_120c 0>;
nvmem-cell-names = "calibration", "mac-address";
- #gpio-cells = <2>;
- gpio-controller;
+
+ led {
+ led-sources = <1>;
+ led-active-low;
+ };
};
};
More information about the lede-commits
mailing list