ramips/mt762x: convert devices to interrupt-driven gpio-keys
[oweals/openwrt.git] / target / linux / ramips / dts / mt7628an_wiznet_wizfi630s.dts
index 1ddd8190a8da445c39fce74c0da43cb4c2576625..b5da84c9f80b8727debe712d62de57854cdf745e 100644 (file)
        };
 
        keys {
-               compatible = "gpio-keys-polled";
+               compatible = "gpio-keys";
+
                #address-cells = <1>;
                #size-cells = <0>;
-               poll-interval = <20>;
 
                reset {
                        label = "reset";
@@ -76,7 +76,6 @@
                        gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_2>;
                };
-
        };
 };