ramips: replace pinctrl property names
[openwrt/staging/noltari.git] / target / linux / ramips / dts / mt7628an_glinet_gl-mt300n-v2.dts
index 48dcfc0e5c77dcf73a803d57f018f98124c93e51..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>;
                };
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s";
+               function = "gpio";
        };
 };
 
@@ -90,7 +88,6 @@
 
 &wmac {
        status = "okay";
-       ralink,mtd-eeprom = <&factory 0x0>;
 };
 
 &spi0 {