From: Henryk Heisig <hyniu@o2.pl>
Date: Sat, 29 Oct 2016 20:19:32 +0000 (+0200)
Subject: ipq806x: ArcherC2600: export usb power pins
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0744b6a044a4d97006905b95658b9b5d854f3dd1;p=openwrt%2Fstaging%2Fneocturne.git

ipq806x: ArcherC2600: export usb power pins

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
---

diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
index 1740e3eb3a..9427e993f3 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
@@ -440,6 +440,22 @@
 			gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>;
 		};
 	};
+
+	gpio_export {
+		compatible = "gpio-export";
+		#size-cells = <0>;
+
+		usb1_power {
+			gpio-export,name = "usb1_power";
+			gpio-export,output = <1>;
+			gpios = <&qcom_pinmux 25 GPIO_ACTIVE_HIGH>;
+		};
+		usb2_power {
+			gpio-export,name = "usb2_power";
+			gpio-export,output = <1>;
+			gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
+		};
+	};
 };
 
 &adm_dma {