[openwrt/openwrt] mediatek: filogic: Cudy WR3000 v1 wps button fix

LEDE Commits lede-commits at lists.infradead.org
Tue Feb 27 04:32:49 PST 2024


blocktrron pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/b30b1d3685f04afe182f10793085c3da3b6e7792

commit b30b1d3685f04afe182f10793085c3da3b6e7792
Author: Robert Senderek <robert.senderek at 10g.pl>
AuthorDate: Thu Feb 22 16:42:21 2024 +0100

    mediatek: filogic: Cudy WR3000 v1 wps button fix
    
    WPS button activation method is wrong .  It should be active low
    
    Signed-off-by: Robert Senderek <robert.senderek at 10g.pl>
    (cherry picked from commit 611a9894b23c5c2261d607cc0ccfd8dcd1fb2bcf)
---
 target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts b/target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts
index 56e90b1722..d2aacbfb69 100644
--- a/target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts
+++ b/target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts
@@ -34,7 +34,7 @@
 		wps {
 			label = "wps";
 			linux,code = <KEY_WPS_BUTTON>;
-			gpios = <&pio 0 GPIO_ACTIVE_HIGH>;
+			gpios = <&pio 0 GPIO_ACTIVE_LOW>;
 		};
 	};
 




More information about the lede-commits mailing list