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: 20b09a2125 ("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>
This commit is contained in:
Jani Partanen
2021-10-18 02:12:27 +03:00
committed by Adrian Schmutzler
parent fbddb38442
commit e06aaba4e3
2 changed files with 2 additions and 4 deletions

View File

@@ -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";
};
};