From: Thibaut VARENE Date: Fri, 28 Jul 2017 21:26:40 +0000 (+0200) Subject: ramips: Archer C50v1: fix LEDs active levels X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0c81bc296911c72f49bf9b78a27daa47bd91f71f;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- diff --git a/target/linux/ramips/dts/ArcherC50.dts b/target/linux/ramips/dts/ArcherC50.dts index ac392f390b..e8a1893300 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 {