ramips: mt7621: convert GPIO dts refs
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_mqmaker_witi.dts
index 803b35f8c2db3df2748f1cc21a9d1f026e72f050..e801db22d603e8d29daca0dca531531c25d740be 100644 (file)
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
        mtd-mac-address = <&factory 0xe000>;
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "wdt", "rgmii2", "jtag", "mdio";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "wdt", "rgmii2", "jtag", "mdio";
+               ralink,function = "gpio";
        };
 };