ath79: DIR825B1 switch to gpio-keys
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
This commit is contained in:
parent
391b14a892
commit
edf1c6c67a
1 changed files with 1 additions and 4 deletions
|
@ -81,21 +81,18 @@
|
|||
};
|
||||
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <20>;
|
||||
compatible = "gpio-keys";
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
linux,code = <KEY_RESTART>;
|
||||
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
|
||||
debounce-interval = <60>;
|
||||
};
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
||||
debounce-interval = <60>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue