aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-08-26 15:39:54 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-11-11 17:28:30 +0100
commit84ae2383244d4624c29ea3d471e9ef386402b28f (patch)
treebbcd30ef4135ccab42aea1733d6ec30f4b6c485b
parentc25e3275acc745e80c2868edbed7de2a7301372a (diff)
downloadupstream-84ae2383244d4624c29ea3d471e9ef386402b28f.tar.gz
upstream-84ae2383244d4624c29ea3d471e9ef386402b28f.tar.bz2
upstream-84ae2383244d4624c29ea3d471e9ef386402b28f.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> (cherry picked from commit 929e8f0f553637076f2612fb1c2225c5cee1f7ab)
-rw-r--r--target/linux/ramips/dts/DIR-645.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/DIR-645.dts b/target/linux/ramips/dts/DIR-645.dts
index 35d011ebba..40e5cd13ab 100644
--- a/target/linux/ramips/dts/DIR-645.dts
+++ b/target/linux/ramips/dts/DIR-645.dts
@@ -29,13 +29,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>;
};
};