ramips: mt7621: convert GPIO dts refs
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / mt7621_lenovo_newifi-d1.dts
index 0ff5f2e76d54d3896449638568ce4efec24ad6af..3ede66344dd4d4fde35295ef7e936fc8247bdd1d 100644 (file)
 
                status-red {
                        label = "newifi-d1:red:status";
-                       gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
                status-green {
                        label = "newifi-d1:green:status";
-                       gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
                led_blue: status-blue {
                        label = "newifi-d1:blue:status";
-                       gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
        };
@@ -46,7 +46,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
                usb2power {
                        gpio-export,name = "usb2power";
                        gpio-export,output = <1>;
-                       gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
                };
 
                usb3power {
                        gpio-export,name = "usb3power";
                        gpio-export,output = <1>;
-                       gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
                };
        };
 };