mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
ramips: Archer C50v1: fix LEDs active levels
All LEDs GPIOs are active low on this device. WAN and POWER states were inverted. Add default state for power. Tested on Archer C50v1. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
This commit is contained in:
parent
99f1097c0a
commit
0c81bc2969
@ -22,7 +22,7 @@
|
||||
|
||||
power {
|
||||
label = "c50:green:power";
|
||||
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
usb {
|
||||
@ -32,7 +32,7 @@
|
||||
|
||||
wan {
|
||||
label = "c50:green:wan";
|
||||
gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
wan_orange {
|
||||
|
Loading…
x
Reference in New Issue
Block a user