aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-08-26 15:39:54 +0200
committerDavid Bauer <mail@david-bauer.net>2020-10-03 22:52:58 +0200
commit929e8f0f553637076f2612fb1c2225c5cee1f7ab (patch)
tree3e668eae809d6768a02de62171932e08d8575c8a /target
parent6cc99c656d4723a31362d59f0427e0314ce9e9c0 (diff)
downloadupstream-929e8f0f553637076f2612fb1c2225c5cee1f7ab.tar.gz
upstream-929e8f0f553637076f2612fb1c2225c5cee1f7ab.tar.bz2
upstream-929e8f0f553637076f2612fb1c2225c5cee1f7ab.zip
ramips: fix logic level for DIR-645 buttons
The D-Link DIR-645 currently uses an incorrect logic level for its buttons. Correct them in order to prevent unintentional activation of failsafe mode. Reported-by: Perry Melange <isprotejesvalkata@gmail.com> Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/rt3662_dlink_dir-645.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/rt3662_dlink_dir-645.dts b/target/linux/ramips/dts/rt3662_dlink_dir-645.dts
index 778ee3c1e7..23313759c7 100644
--- a/target/linux/ramips/dts/rt3662_dlink_dir-645.dts
+++ b/target/linux/ramips/dts/rt3662_dlink_dir-645.dts
@@ -27,13 +27,13 @@
reset {
label = "reset";
- gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
- gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
};