[openwrt/openwrt] ramips: fix RT-AC57U button level
LEDE Commits
lede-commits at lists.infradead.org
Sat Jun 18 13:15:55 PDT 2022
blocktrron pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/01dcdf7b3ca6fc00f7f8d16a719fa7b1ad16c882
commit 01dcdf7b3ca6fc00f7f8d16a719fa7b1ad16c882
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sat Jun 18 20:46:33 2022 +0200
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 <mail at david-bauer.net>
(cherry picked from commit 535b0c70b1c466733b009144f81f5207f1ecd311)
---
target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts b/target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts
index 78f5584b4c..dcf5cea460 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 = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
};
More information about the lede-commits
mailing list