summaryrefslogtreecommitdiff
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:14:29 +0200
commit83b0e20711ee4a927634b3c2a018c93527e84a2b (patch)
treeda9101853d546e9d155aece39767083d68d37430
parentecbbb373edf7be017e546be2443e6c422cb9c220 (diff)
downloadopenwrt-19.07.tar.gz
ramips: fix RT-AC57U button levelopenwrt-19.07
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> (cherry picked from commit 535b0c70b1c466733b009144f81f5207f1ecd311)
-rw-r--r--target/linux/ramips/dts/RT-AC57U.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/RT-AC57U.dts b/target/linux/ramips/dts/RT-AC57U.dts
index 6fec0cdf61..ba9fac9bee 100644
--- a/target/linux/ramips/dts/RT-AC57U.dts
+++ b/target/linux/ramips/dts/RT-AC57U.dts
@@ -47,7 +47,7 @@
wps {
label = "wps";
- gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
};