ath79: convert WD MyNet Range Extender to gpio-keys
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_wd_mynet-wifi-rangeextender.dts
index 1877cea3d90975cca3049bad907199aae5aa8e6c..49c6784151824c36ac4b61903d65bc241508d637 100644 (file)
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <50>;
+               compatible = "gpio-keys";
 
                reset {
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
-                       debounce-interval = <60>;
                };
 
                band-switch {
                        linux,code = <BTN_1>;
                        gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
                        linux,input-type = <EV_SW>;
-                       debounce-interval = <60>;
                };
 
                wps {
                        linux,code = <KEY_WPS_BUTTON>;
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
-                       debounce-interval = <60>;
                };
        };
 };