ramips: move compatible for Ubiquiti Edgerouter X to DTS file
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7628an_tplink_archer-c50-v4.dts
index 30132b4c8502dca7b83c54f8e12eb6a338c230b6..f7a559918c373af51f4734c65626494a0665fdbe 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "i2c", "p0led_an", "p1led_an", "p2led_an",
-                                      "p3led_an", "p4led_an", "wdt", "wled_an";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "i2c", "p0led_an", "p1led_an", "p2led_an",
+                                  "p3led_an", "p4led_an", "wdt", "wled_an";
+               ralink,function = "gpio";
        };
 };