[OpenWrt-Devel] ath79: DIR825B1 switch to gpio-keys
diff mbox series

Message ID 1567192644-29023-1-git-send-email-hanipouspilot@gmail.com
State Accepted, archived
Headers show
Series
  • [OpenWrt-Devel] ath79: DIR825B1 switch to gpio-keys
Related show

Commit Message

Dmitry Tunin Aug. 30, 2019, 7:17 p.m. UTC
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
---
 target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Patch
diff mbox series

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 da19921..8e60bb4 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>;
 		};
 	};