lantiq: xrx200: Fix wifi LED on o2 box 6431
authorFlorian Maurer <f.maurer@outlook.de>
Tue, 10 Jan 2023 12:39:50 +0000 (13:39 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 11 Jan 2023 21:01:56 +0000 (22:01 +0100)
Wifi LED did not work using phy0radio, which somehow slipped through in
the previous testing

Signed-off-by: Florian Maurer <f.maurer@outlook.de>
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_vgv7510kw22.dtsi
target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds

index 1158aa371ec3d70f3c0e9dd04d06c58b8b9000e3..1a7a11db42068b6040671a52434faad974fbba2c 100644 (file)
@@ -80,6 +80,7 @@
                wifi: wifi {
                        label = "green:wlan";
                        gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0tpt";
                };
 
                power_red: power2 {
index 8f59538b831876dcb3f594018ef759d665ef0629..0c80aaa3b8461a8d0fe4ad3045ad4547ff3125ba 100644 (file)
@@ -30,7 +30,6 @@ arcadyan,arv7519rw22)
 arcadyan,vgv7510kw22-nor|\
 arcadyan,vgv7510kw22-brn)
        ucidef_set_led_netdev "internet" "internet" "$led_internet" "wan"
-       ucidef_set_led_wlan "wifi" "wifi" "green:wlan" "phy0radio"
        ;;
 zyxel,p-2812hnu-f1|\
 zyxel,p-2812hnu-f3)