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)
master
David Bauer 4 years ago committed by Adrian Schmutzler
parent c25e3275ac
commit 84ae238324
  1. 4
      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>;
};
};

Loading…
Cancel
Save