ramips: mt7621: convert GPIO dts refs
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_zbtlink_zbt-wg3526.dtsi
index f1b126ad15f9aad225c1704c902b7dbd7ee90292..6a9e5e07d2589cf4c99787f9c7a6b3060e6ac521 100644 (file)
@@ -29,7 +29,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
@@ -39,7 +39,7 @@
 
                led_status: status {
                        label = "zbt-wg3526:green:status";
-                       gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
        };
 };
        mtd-mac-address = <&factory 0xe000>;
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "wdt", "rgmii2", "jtag", "mdio";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "wdt", "rgmii2", "jtag", "mdio";
+               ralink,function = "gpio";
        };
 };