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.lede-project.org./?a=commitdiff_plain;h=535b0c70b1c466733b009144f81f5207f1ecd311;p=openwrt%2Fstaging%2Fthess.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 --- diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts b/target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts index 2c6b3f53e6..60ab3e1646 100644 --- a/target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts +++ b/target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts @@ -37,7 +37,7 @@ wps { label = "wps"; - gpios = <&gpio 43 GPIO_ACTIVE_HIGH>; + gpios = <&gpio 43 GPIO_ACTIVE_LOW>; linux,code = ; debounce-interval = <60>; };