aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-08-30 20:11:45 +0200
committerDavid Bauer <mail@david-bauer.net>2019-09-07 00:59:41 +0200
commitf057133349847929080af18ac7687e19d125b7dd (patch)
tree0b7aac418ca78b40523f33a5eaf9fa9b68f661a4 /target/linux/ramips/dts
parentb8b62b8506f5465331e749799c36ef49160036f4 (diff)
downloadupstream-f057133349847929080af18ac7687e19d125b7dd.tar.gz
upstream-f057133349847929080af18ac7687e19d125b7dd.tar.bz2
upstream-f057133349847929080af18ac7687e19d125b7dd.zip
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 <mail@david-bauer.net> (cherry picked from commit fa46c9b208fe3833f085e9f6ddf7c492b16f6c34)
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/R6220.dtsi1
-rw-r--r--target/linux/ramips/dts/R6350.dts1
2 files changed, 2 insertions, 0 deletions
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";
};
};