From: David Bauer Date: Sat, 18 Jun 2022 18:46:33 +0000 (+0200) Subject: ramips: fix RT-AC57U button level X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10481%2Fhead;p=thirdparty%2Fopenwrt.git ramips: fix RT-AC57U button level Both buttons on the RT-AC57U are active-low. Fix the GPIO flag for the WPS cutton to fix button behavior. Signed-off-by: David Bauer (cherry picked from commit 535b0c70b1c466733b009144f81f5207f1ecd311) --- diff --git a/target/linux/ramips/dts/RT-AC57U.dts b/target/linux/ramips/dts/RT-AC57U.dts index 6fec0cdf619..ba9fac9bee1 100644 --- a/target/linux/ramips/dts/RT-AC57U.dts +++ b/target/linux/ramips/dts/RT-AC57U.dts @@ -47,7 +47,7 @@ wps { label = "wps"; - gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; + gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; linux,code = ; debounce-interval = <60>; };