ramips: replace pinctrl property names
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_glinet_gl-mt300n-v2.dts
index 533f3b0dc3c1363afa7dd8c112def4d24121b3a4..4dbacba8c693621f3b751793e591ed6527870144 100644 (file)
                led_power: power {
                        label = "gl-mt300n-v2:green:power";
                        default-state = "on";
-                       gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                wan {
                        label = "gl-mt300n-v2:green:wan";
-                       gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
                        label = "gl-mt300n-v2:red:wlan";
-                       gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
 
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
 
                BTN_0 {
                        label = "BTN_0";
-                       gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
                BTN_1 {
                        label = "BTN_1";
-                       gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_1>;
                };
        };
                usb {
                        gpio-export,name = "usb";
                        gpio-export,output = <1>;
-                       gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
                };
        };
 };
 
 &state_default {
        gpio {
-               ralink,group = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s";
-               ralink,function = "gpio";
+               groups = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s";
+               function = "gpio";
        };
 };