ath79: convert devices to interrupt-driven gpio-keys
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9331_pisen_wmm003n.dts
index 3573665b341f16199db39cfc066976f590ff555c..6fb11545adabfd096fb3750f57d1074058ba59ac 100644 (file)
@@ -18,9 +18,8 @@
                led-upgrade = &led_system;
        };
 
-       gpio-keys-polled {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+       keys {
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
@@ -30,7 +29,7 @@
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                led_system: system {