ramips: replace pinctrl property names
[openwrt/staging/noltari.git] / target / linux / ramips / dts / mt7628an_wavlink_wl-wn575a3.dts
index 0aed99c459f98d0147f0e02361cca592c02802db..bee13a9683aef5b336d0cff57a455c1d24ecf2cc 100644 (file)
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
-                       gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
                wifi-high {
                        label = "wl-wn575a3:green:wifi-high";
-                       gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
 
                wifi-med {
                        label = "wl-wn575a3:green:wifi-med";
-                       gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wifi-low {
                        label = "wl-wn575a3:green:wifi-low";
-                       gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                wps {
                        label = "wl-wn575a3:green:wps";
-                       gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "i2c", "wled_an", "gpio", "refclk", "wdt", "p0led_an";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "i2c", "wled_an", "gpio", "refclk", "wdt", "p0led_an";
+               function = "gpio";
        };
 };
 
 
 &ethernet {
        mtd-mac-address = <&factory 0x28>;
-       mediatek,portmap = "llllw";
+};
+
+&esw {
+       mediatek,portmap = <0x2f>;
 };