ramips: replace pinctrl property names
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_hilink_hlk-7628n.dts
index 41a140e269b4e569318afc4e8f7f4f5b9e11adf2..ae085255b3cff6185ba3c8b7b38e686a642c7594 100644 (file)
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                wlan {
                        label = "hlk-7628n:green:wlan";
-                       gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "i2c";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "i2c";
+               function = "gpio";
        };
 };