[source] ipq806x: ArcherC2600: export usb power pins

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 31 11:13:01 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/0744b6a044a4d97006905b95658b9b5d854f3dd1

commit 0744b6a044a4d97006905b95658b9b5d854f3dd1
Author: Henryk Heisig <hyniu at o2.pl>
AuthorDate: Sat Oct 29 22:19:32 2016 +0200

    ipq806x: ArcherC2600: export usb power pins
    
    Signed-off-by: Henryk Heisig <hyniu at o2.pl>
---
 .../files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts       | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

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 1740e3e..9427e99 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 {



More information about the lede-commits mailing list