mediatek: filogic: Cudy WR3000 v1 wps button fix
authorRobert Senderek <robert.senderek@10g.pl>
Thu, 22 Feb 2024 15:42:21 +0000 (16:42 +0100)
committerDavid Bauer <mail@david-bauer.net>
Tue, 27 Feb 2024 11:46:06 +0000 (12:46 +0100)
WPS button activation method is wrong .  It should be active low

Signed-off-by: Robert Senderek <robert.senderek@10g.pl>
(cherry picked from commit 611a9894b23c5c2261d607cc0ccfd8dcd1fb2bcf)

target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts

index 56e90b172289c2f9e24e4543758ec8fc926243ca..d2aacbfb6916cd8b1a8417e90ffc664b0a49c280 100644 (file)
@@ -34,7 +34,7 @@
                wps {
                        label = "wps";
                        linux,code = <KEY_WPS_BUTTON>;
-                       gpios = <&pio 0 GPIO_ACTIVE_HIGH>;
+                       gpios = <&pio 0 GPIO_ACTIVE_LOW>;
                };
        };