ipq806x: ArcherC2600: export usb power pins
authorHenryk Heisig <hyniu@o2.pl>
Sat, 29 Oct 2016 20:19:32 +0000 (22:19 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 31 Oct 2016 15:40:54 +0000 (16:40 +0100)
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts

index 1740e3eb3af168b2ee6a05a267c309124834d366..9427e993f3f60acf1f25f55ffaec2cc3a428aaa2 100644 (file)
                        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 {