From f057133349847929080af18ac7687e19d125b7dd Mon Sep 17 00:00:00 2001 From: David Bauer Date: Fri, 30 Aug 2019 20:11:45 +0200 Subject: ramips: use phy trigger for various Netgear boards This commit switches the default trigger for the WiFi LED from a netdev trigger on "wlan0" to a wireless-phy based trigger. THis allows the LED to work, even when the wireless interface is not named "wlan0" without modifiying the LED settings. Signed-off-by: David Bauer (cherry picked from commit fa46c9b208fe3833f085e9f6ddf7c492b16f6c34) --- target/linux/ramips/dts/R6220.dtsi | 1 + target/linux/ramips/dts/R6350.dts | 1 + 2 files changed, 2 insertions(+) (limited to 'target/linux/ramips/dts') diff --git a/target/linux/ramips/dts/R6220.dtsi b/target/linux/ramips/dts/R6220.dtsi index 98a2078ecc..4dbb234e82 100644 --- a/target/linux/ramips/dts/R6220.dtsi +++ b/target/linux/ramips/dts/R6220.dtsi @@ -44,6 +44,7 @@ led_wifi: wifi { gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy0tpt"; }; led_wps: wps { diff --git a/target/linux/ramips/dts/R6350.dts b/target/linux/ramips/dts/R6350.dts index e49a5decde..538fa21ace 100644 --- a/target/linux/ramips/dts/R6350.dts +++ b/target/linux/ramips/dts/R6350.dts @@ -49,6 +49,7 @@ wifi { label = "r6350:green:wifi"; gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy0tpt"; }; }; -- cgit v1.2.3