ramips: replace pinctrl property names
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7628an_wiznet_wizfi630s.dts
index b5da84c9f80b8727debe712d62de57854cdf745e..0aeff750e907cb422c90d975fb2f1b67263305e2 100644 (file)
 
                led_run: run {
                        label = "wizfi630s:green:run";
-                       gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
 
                ledwps {
                        label = "wizfi630s:green:wps";
-                       gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                leduart1 {
                        label = "wizfi630s:green:uart1";
-                       gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                };
 
                leduart2 {
                        label = "wizfi630s:green:uart2";
-                       gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                };
        };
 
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
-                       gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
 
                scm1 {
                        label = "SCM1";
-                       gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_1>;
                };
 
                scm2 {
                        label = "SCM2";
-                       gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_2>;
                };
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "gpio";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "gpio";
+               function = "gpio";
+       };
 
-               i2s {
-                       ralink,group = "i2s";
-                       ralink,function = "gpio";
-               };
+       i2s {
+               groups = "i2s";
+               function = "gpio";
+       };
 
-               wdt {
-                       ralink,group = "wdt";
-                       ralink,function = "gpio";
-               };
+       wdt {
+               groups = "wdt";
+               function = "gpio";
+       };
 
-               i2c {
-                       ralink,group = "i2c";
-                       ralink,function = "gpio";
-               };
+       i2c {
+               groups = "i2c";
+               function = "gpio";
+       };
 
-               refclk {
-                       ralink,group = "refclk";
-                       ralink,function = "gpio";
-               };
+       refclk {
+               groups = "refclk";
+               function = "gpio";
        };
 };