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: v21.02.0-rc1~4161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e1325b219fced91f01d5594503f61d326a93b90;p=thirdparty%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 --- diff --git a/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts b/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts index ee92860b9fa..1740de16ebe 100644 --- a/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts +++ b/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts @@ -32,7 +32,7 @@ reset { label = "reset"; - gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; + gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; linux,code = ; }; };