aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorJani Partanen <rtfm@iki.fi>2021-10-18 02:12:27 +0300
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-10-30 22:11:23 +0200
commite06aaba4e3bef4ebd3e2b153dbc5e04dd5ba92e1 (patch)
treed2d2f587e44dcaac1bdc92557110d9c684787f58 /target/linux/ramips/dts
parentfbddb384422c3c9583b3112dad6387d0e87dea74 (diff)
downloadupstream-e06aaba4e3bef4ebd3e2b153dbc5e04dd5ba92e1.tar.gz
upstream-e06aaba4e3bef4ebd3e2b153dbc5e04dd5ba92e1.tar.bz2
upstream-e06aaba4e3bef4ebd3e2b153dbc5e04dd5ba92e1.zip
ramips: fix LAVA LR-25G001 broken wifi led triggers
LED labels for this device are different in 01_leds file and in device DTS. Switch to DT triggers, which works on Telewell TW-4 (LTE) clone device. This has not been tested on the LR-25G001 itself, just on the clone mentioned above. Fixes: 20b09a2125f5 ("ramips: add support for Lava LR-25G001") Signed-off-by: Jani Partanen <rtfm@iki.fi> [rephrase commit title/message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts b/target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts
index 1966e4cffd..b7fa78661e 100644
--- a/target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts
+++ b/target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts
@@ -41,11 +41,13 @@
wifi2g {
label = "green:wifi2g";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy1tpt";
};
wifi5g {
label = "green:wifi5g";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0tpt";
};
};