From: Moritz Warning Date: Tue, 3 Dec 2019 22:36:13 +0000 (+0100) Subject: ramips: fix inverted reset button for Ravpower WD03 X-Git-Tag: v19.07.0~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1f927bd2f023e66a0c8dca0b185586af67f1ca83;p=oweals%2Fopenwrt.git ramips: fix inverted reset button for Ravpower WD03 The button events "pressed" and "released" were switched. Tested with v18.06.4. Signed-off-by: Moritz Warning (cherry picked from commit 3e1325b219fced91f01d5594503f61d326a93b90) --- diff --git a/target/linux/ramips/dts/WD03.dts b/target/linux/ramips/dts/WD03.dts index bbb2ca3dc9..b6c601f58a 100644 --- a/target/linux/ramips/dts/WD03.dts +++ b/target/linux/ramips/dts/WD03.dts @@ -34,7 +34,7 @@ reset { label = "reset"; - gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; + gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; linux,code = ; }; };