ramips: fix RT-AC57U button level
authorDavid Bauer <mail@david-bauer.net>
Sat, 18 Jun 2022 18:46:33 +0000 (20:46 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sat, 18 Jun 2022 20:11:19 +0000 (22:11 +0200)
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 <mail@david-bauer.net>
target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts

index 2c6b3f53e6b80c3289d586cd30a855e2a9971034..60ab3e1646c63daa7c2e2f0bd37bc00a7afe9c1b 100644 (file)
@@ -37,7 +37,7 @@
 
                wps {
                        label = "wps";
-                       gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                        debounce-interval = <60>;
                };