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: v18.06.6~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b1eeb5dd2a193a85dc84eea0e04f93e3ce375a69;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 454e757ce1..17bc58e07f 100644 --- a/target/linux/ramips/dts/WD03.dts +++ b/target/linux/ramips/dts/WD03.dts @@ -36,7 +36,7 @@ reset { label = "reset"; - gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; + gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; linux,code = ; }; };