ramips/mt762x: convert devices to interrupt-driven gpio-keys
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7620a_zbtlink_zbt-we1026-5g.dtsi
index 68a74ede39749723ee0c2c24a8cade8f0d4729f1..c728dc1bfaf0ef18db6b5df3908898474375362a 100644 (file)
@@ -45,6 +45,7 @@
 
        leds {
                compatible = "gpio-leds";
+
                lan {
                        label = "we1026-5g:green:lan";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
@@ -64,8 +65,8 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;