ramips: mt7621: convert GPIO dts refs
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7621_xiaomi_mir3g.dts
index a09cbb6ee4ed614f8e372765bb105a8777453665..1730bc62eecb22701ff752a7d6ff273208d9c71f 100644 (file)
 
                led_status_red: status_red {
                        label = "mir3g:red:status";
-                       gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
 
                led_status_blue: status_blue {
                        label = "mir3g:blue:status";
-                       gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                led_status_yellow: status_yellow {
                        label = "mir3g:yellow:status";
-                       gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
                };
 
                wan_amber {
                        label = "mir3g:amber:wan";
-                       gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
                lan1_amber {
                        label = "mir3g:amber:lan1";
-                       gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
                lan2_amber {
                        label = "mir3g:amber:lan2";
-                       gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                };
        };
 
@@ -59,7 +59,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
@@ -69,7 +69,7 @@
                regulator-name = "usb_vbus";
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
-               gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
+               gpio = <&gpio 12 GPIO_ACTIVE_HIGH>;
                enable-active-high;
        };
 };