ramips: mt7621: convert GPIO dts refs
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_adslr_g7.dts
index c086b16f7dae998f2c1eeb04de78cfd4c51837f2..870b3834ddac137cab6349d427ba34183e9b3077 100644 (file)
@@ -27,7 +27,7 @@
 
                led_sys: sys {
                        label = "g7:blue:sys";
-                       gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
                };
        };
 
@@ -36,7 +36,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                        debounce-interval = <60>;
                        linux,code = <KEY_RESTART>;
                };
        mtd-mac-address = <&factory 0xe00c>;
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "i2c", "wdt";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "i2c", "wdt";
+               ralink,function = "gpio";
        };
 };