ramips: fix leds for TP-Link Archer C20 v4
- add "gpio" group for wan_orange led - use tpt triggers for wifi led indication - add wifi 5 GHz led support Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com> [slight commit message adjustment] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
committed by
Adrian Schmutzler
parent
6a28552120
commit
3a538db60a
@@ -42,11 +42,13 @@
|
||||
wlan5g {
|
||||
label = "archer-c20-v4:green:wlan5g";
|
||||
gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy1tpt";
|
||||
};
|
||||
|
||||
wlan2g {
|
||||
label = "archer-c20-v4:green:wlan2g";
|
||||
gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy0tpt";
|
||||
};
|
||||
|
||||
wps {
|
||||
@@ -82,7 +84,7 @@
|
||||
|
||||
&state_default {
|
||||
gpio {
|
||||
ralink,group = "i2s", "refclk", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "wdt";
|
||||
ralink,group = "i2s", "gpio", "refclk", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "wdt";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user