Browse Source

ath79: DIR825B1 switch to gpio-keys

Signed-off-by: Dmitry Tunin <[email protected]>
Dmitry Tunin 6 years ago
parent
commit
edf1c6c67a
1 changed files with 1 additions and 4 deletions
  1. 1 4
      target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts

+ 1 - 4
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>;
 		};
 	};