mediatek-mt7622: netgear-wax206 fix wifi leds
authorFlorian Maurer <f.maurer@outlook.de>
Wed, 22 Jan 2025 18:59:12 +0000 (19:59 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 24 Jan 2025 21:23:28 +0000 (22:23 +0100)
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@outlook.de>
Link: https://github.com/openwrt/openwrt/pull/17694
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7622-netgear-wax206.dts

index 524a49874089fb6ce7712bace140805d4ad939c1..4881004ac3b750bccb639e60da16196b2bd7129a 100644 (file)
@@ -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 {