summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorThibaut VARENE <hacks@slashdirt.org>2017-07-28 23:26:40 +0200
committerMathias Kresin <dev@kresin.me>2017-07-29 09:24:32 +0200
commit0c81bc296911c72f49bf9b78a27daa47bd91f71f (patch)
tree5f2feed0e5dc0527915c9be0d0bf17851800d173 /target
parent99f1097c0adcbe4730f86fbcdfbe7f291cdb25cf (diff)
downloadmtk-20170518-0c81bc296911c72f49bf9b78a27daa47bd91f71f.zip
mtk-20170518-0c81bc296911c72f49bf9b78a27daa47bd91f71f.tar.gz
mtk-20170518-0c81bc296911c72f49bf9b78a27daa47bd91f71f.tar.bz2
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>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/ArcherC50.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/ArcherC50.dts b/target/linux/ramips/dts/ArcherC50.dts
index ac392f3..e8a1893 100644
--- 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 {