aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorDmitry Tunin <hanipouspilot@gmail.com>2019-08-30 22:17:24 +0300
committerChristian Lamparter <chunkeey@gmail.com>2019-09-21 23:41:31 +0200
commitedf1c6c67abb1201b3deb8482474239e40d3d7f5 (patch)
tree3087963d175ae35de45839e92962e53d77ae7fc0 /target/linux/ath79/dts
parent391b14a8927df9cfc1d503459dd772cd582a64e7 (diff)
downloadupstream-edf1c6c67abb1201b3deb8482474239e40d3d7f5.tar.gz
upstream-edf1c6c67abb1201b3deb8482474239e40d3d7f5.tar.bz2
upstream-edf1c6c67abb1201b3deb8482474239e40d3d7f5.zip
ath79: DIR825B1 switch to gpio-keys
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts5
1 files changed, 1 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
index da19921973..8e60bb450a 100644
--- a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
+++ b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
@@ -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>;
};
};