ramips/mt762x: convert devices to interrupt-driven gpio-keys
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7620a_edimax_br-6478ac-v2.dts
index 8f87212902e1ac45d629a4c1db2fcff785b5dd00..43698d9fd6d6202c280e60f4b33759de7dbe5911 100644 (file)
@@ -34,8 +34,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset_wps {
                        label = "reset_wps";
                        label = "br-6478ac-v2:white:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
+
                internet {
                        label = "br-6478ac-v2:blue:internet";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
+
                wlan {
                        label = "br-6478ac-v2:blue:wlan";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
+
                usb {
                        label = "br-6478ac-v2:blue:usb";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;