diff options
author | Thibaut VARENE <hacks@slashdirt.org> | 2017-07-28 23:26:40 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-07-29 09:24:59 +0200 |
commit | a9439344e71287cb172cf73880f800dc374fc5b7 (patch) | |
tree | f7585b30056c3ff128865f4961b92750239a982f /target/linux/ramips/dts/ArcherC50.dts | |
parent | 5e409f0e69ce77186f4e70dd9068e43dfc36a9bc (diff) | |
download | upstream-a9439344e71287cb172cf73880f800dc374fc5b7.tar.gz upstream-a9439344e71287cb172cf73880f800dc374fc5b7.tar.bz2 upstream-a9439344e71287cb172cf73880f800dc374fc5b7.zip |
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/linux/ramips/dts/ArcherC50.dts')
-rw-r--r-- | target/linux/ramips/dts/ArcherC50.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/ArcherC50.dts b/target/linux/ramips/dts/ArcherC50.dts index abc4dac5f9..294fb5a5ec 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 { |