aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2022-06-18 20:46:33 +0200
committerDavid Bauer <mail@david-bauer.net>2022-06-18 22:11:19 +0200
commit535b0c70b1c466733b009144f81f5207f1ecd311 (patch)
tree1c23ec43b34b35f36bc41a4894899a92da35c78d /target/linux/ramips
parentdab91036d69bf1fd30400fcd9c3b96bf7f4f8c78 (diff)
downloadupstream-535b0c70b1c466733b009144f81f5207f1ecd311.tar.gz
upstream-535b0c70b1c466733b009144f81f5207f1ecd311.tar.bz2
upstream-535b0c70b1c466733b009144f81f5207f1ecd311.zip
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@david-bauer.net>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts2
1 files changed, 1 insertions, 1 deletions
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 = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
};