ramips: move compatible for Ubiquiti Edgerouter X to DTS file
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_gehua_ghl-r-001.dts
index 12becc2b1d08e233affb2697832003df6ee76355..fea83e5e15f7fcaba8b075e436970ac92f5127b0 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
        mtd-mac-address = <&factory 0xe000>;
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "jtag", "wdt";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "jtag", "wdt";
+               ralink,function = "gpio";
        };
 };