diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-07 11:49:36 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-07 11:57:48 +0200 |
commit | 7cb721c03fdc163818f8114692229d0097d2f26b (patch) | |
tree | 1e0f4276862ff904d30d5d9be713cd0d9042408f /target/linux/ramips/dts | |
parent | d8ab3216e688e3f810bf2d3109ad85a805582076 (diff) | |
download | upstream-7cb721c03fdc163818f8114692229d0097d2f26b.tar.gz upstream-7cb721c03fdc163818f8114692229d0097d2f26b.tar.bz2 upstream-7cb721c03fdc163818f8114692229d0097d2f26b.zip |
ramips: use WiFi LED DT triggers for TP-Link RE650 v1
This moves WiFi LED triggers from 01_leds to device tree.
While at it, convert the labels there to lower case; this is
more commonly used and the change will actually remove competition
between DT trigger and leftover uci config on already installed
systems.
Suggested-by: Georgi Vlaev <georgi.vlaev@gmail.com>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_tplink_re650-v1.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_tplink_re650-v1.dts b/target/linux/ramips/dts/mt7621_tplink_re650-v1.dts index ab8805f163..b7290635b9 100644 --- a/target/linux/ramips/dts/mt7621_tplink_re650-v1.dts +++ b/target/linux/ramips/dts/mt7621_tplink_re650-v1.dts @@ -23,13 +23,15 @@ }; wifi2g { - label = "re650-v1:blue:wifi2G"; + label = "re650-v1:blue:wifi2g"; gpios = <&gpio 23 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy0tpt"; }; wifi5g { - label = "re650-v1:blue:wifi5G"; + label = "re650-v1:blue:wifi5g"; gpios = <&gpio 24 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy1tpt"; }; wps_red { |