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 {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys";
|
||||||
poll-interval = <20>;
|
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
|
||||||
debounce-interval = <60>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
||||||
debounce-interval = <60>;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue