ramips: replace pinctrl property names
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_dlink_dwr-118-a2.dts
index 26b23aa6d1300bca58f29e46aec24808255d1e39..d795c06b509c9b380e8cea643eb3c5e3d22291a0 100644 (file)
@@ -15,8 +15,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
        status = "okay";
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               default {
-                       ralink,group = "ephy", "uartf", "spi refclk", "wled";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       default {
+               groups = "ephy", "uartf", "spi refclk", "wled";
+               function = "gpio";
        };
 };