projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c25e327
)
ramips: fix logic level for DIR-645 buttons
author
David Bauer
<
[email protected]
>
Wed, 26 Aug 2020 13:39:54 +0000
(15:39 +0200)
committer
Adrian Schmutzler
<
[email protected]
>
Wed, 11 Nov 2020 16:28:30 +0000
(17:28 +0100)
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 <
[email protected]
>
Signed-off-by: David Bauer <
[email protected]
>
(cherry picked from commit
929e8f0f553637076f2612fb1c2225c5cee1f7ab
)
target/linux/ramips/dts/DIR-645.dts
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/DIR-645.dts
b/target/linux/ramips/dts/DIR-645.dts
index 35d011ebba4fbdeacc61f9e81c7bd843d42d6a23..40e5cd13abaf3dfb77c3c889d3cb029992c5450c 100644
(file)
--- 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>;
};
};