[openwrt/openwrt] lantiq: xrx200: Fix wifi LED on o2 box 6431

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 20 07:15:16 PST 2023


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/1bead4c521b6f6cf711fd06398d54b1a6fbbef96

commit 1bead4c521b6f6cf711fd06398d54b1a6fbbef96
Author: Florian Maurer <f.maurer at outlook.de>
AuthorDate: Sun Jan 15 20:22:22 2023 +0000

    lantiq: xrx200: Fix wifi LED on o2 box 6431
    
    Wifi LED did not work using phy0radio, which somehow slipped through in
    the previous testing
    
    Signed-off-by: Florian Maurer <f.maurer at outlook.de>
    (cherry picked from commit 2e3d1edf59109d6329a00d90b1e953261d602af5)
---
 .../lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_vgv7510kw22.dtsi | 1 +
 target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds                | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_vgv7510kw22.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_vgv7510kw22.dtsi
index 1158aa371e..1a7a11db42 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_vgv7510kw22.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_vgv7510kw22.dtsi
@@ -80,6 +80,7 @@
 		wifi: wifi {
 			label = "green:wlan";
 			gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
+			linux,default-trigger = "phy0tpt";
 		};
 
 		power_red: power2 {
diff --git a/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds b/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds
index 8f59538b83..0c80aaa3b8 100644
--- a/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds
+++ b/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds
@@ -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)




More information about the lede-commits mailing list