ramips: mt7621: convert GPIO dts refs
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_asus_rt-ac57u.dts
index e589461a4dd208c3752cd9eac5bba121c857e359..7c3524d4507aedda2668093e30995bfa3dfb6f95 100644 (file)
 
                led_power: power {
                        label = "rt-ac57u:blue:power";
-                       gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
                };
 
                usb {
                        label = "rt-ac57u:blue:usb";
-                       gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ehci_port2>;
                        linux,default-trigger = "usbport";
                };
 
                wps {
                        label = "wps";
-                       gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_WPS_BUTTON>;
                        debounce-interval = <60>;
                };
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                        debounce-interval = <60>;
                };
@@ -58,7 +58,7 @@
        led-regulator {
                compatible = "regulator-fixed";
                regulator-name = "LED-Power";
-               gpio = <&gpio1 14 GPIO_ACTIVE_LOW>;
+               gpio = <&gpio 46 GPIO_ACTIVE_LOW>;
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
        mtd-mac-address = <&factory 0xe000>;
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "sdhci";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "sdhci";
+               ralink,function = "gpio";
        };
 };