mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
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>
This commit is contained in:
parent
6cc99c656d
commit
929e8f0f55
@ -27,13 +27,13 @@
|
|||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user