[openwrt/openwrt] mediatek-mt7622: netgear-wax206 fix wifi leds

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 24 13:23:55 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/9ada8578fd2768d077607b189987972ad600a804

commit 9ada8578fd2768d077607b189987972ad600a804
Author: Florian Maurer <f.maurer at outlook.de>
AuthorDate: Wed Jan 22 19:59:12 2025 +0100

    mediatek-mt7622: netgear-wax206 fix wifi leds
    
    the wifi leds of the wax206 were not reacting.
    This patch enables the green leds to show activity, as the blue ones are very bright.
    Also set the label-mac to the gmac0
    
    Signed-off-by: Florian Maurer <f.maurer at outlook.de>
    Link: https://github.com/openwrt/openwrt/pull/17694
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/mediatek/dts/mt7622-netgear-wax206.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/target/linux/mediatek/dts/mt7622-netgear-wax206.dts b/target/linux/mediatek/dts/mt7622-netgear-wax206.dts
index 524a498740..4881004ac3 100644
--- a/target/linux/mediatek/dts/mt7622-netgear-wax206.dts
+++ b/target/linux/mediatek/dts/mt7622-netgear-wax206.dts
@@ -13,6 +13,7 @@
 
 	aliases {
 		ethernet0 = &gmac0;
+		label-mac-device = &gmac0;
 		led-boot = &led_power_r;
 		led-failsafe = &led_power_r;
 		led-running = &led_power_g;
@@ -84,6 +85,7 @@
 			default-state = "off";
 			gpios = <&pio 85 GPIO_ACTIVE_LOW>;
 			label = "wifin:green";
+			linux,default-trigger = "phy0tpt";
 		};
 
 		wifin_blue {
@@ -96,6 +98,7 @@
 			default-state = "off";
 			gpios = <&pio 2 GPIO_ACTIVE_HIGH>;
 			label = "wifia:green";
+			linux,default-trigger = "phy1tpt";
 		};
 
 		wifia_blue {




More information about the lede-commits mailing list