projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e409f0
)
ramips: Archer C50v1: fix LEDs active levels
author
Thibaut VARENE
<hacks@slashdirt.org>
Fri, 28 Jul 2017 21:26:40 +0000
(23:26 +0200)
committer
Mathias Kresin
<dev@kresin.me>
Sat, 29 Jul 2017 07:24:59 +0000
(09:24 +0200)
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>
target/linux/ramips/dts/ArcherC50.dts
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/ArcherC50.dts
b/target/linux/ramips/dts/ArcherC50.dts
index abc4dac5f9789ef91a5c73c80e3af7275bf31e09..294fb5a5ec3b568f18b21e436e5130eaa3d8007b 100644
(file)
--- a/
target/linux/ramips/dts/ArcherC50.dts
+++ b/
target/linux/ramips/dts/ArcherC50.dts
@@
-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 {