ath79: DIR825B1 switch to gpio-keys
authorDmitry Tunin <hanipouspilot@gmail.com>
Fri, 30 Aug 2019 19:17:24 +0000 (22:17 +0300)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 21 Sep 2019 21:41:31 +0000 (23:41 +0200)
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts

index da19921973655709c81cd981e9b025ff44f57765..8e60bb450a66b0232e16e151fda4fccbca801ebb 100644 (file)
        };
 
        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>;
                };
        };