ramips/mt762x: convert devices to interrupt-driven gpio-keys
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7628an_tplink_tl-wr840n-v5.dts
index eb00d11273bf3aae450cc1de23cef1038b1872a8..17b8ff4d0ff09d70a92534e652e443428c8c87c3 100644 (file)
@@ -21,8 +21,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
@@ -30,6 +29,7 @@
                        linux,code = <KEY_RESTART>;
                };
        };
+
        /* LED used is dual-color,dual lead LED */
        leds {
                compatible = "gpio-leds";