PD#SWPL-9127
Problem:
the id pin of the type-c is aways high, whether it is connected to u disk
or usb cable.
Solution:
It need set vbus high when the usb mode is host only.
Verify:
test passed on sm1
Change-Id: I4ff8a9b5419b54828ecd797a78d149da98535dee
Signed-off-by: he.he <he.he@amlogic.com>
&usb3_phy_v2 {
status = "okay";
portnum = <1>;
- otg = <1>;
- gpio-vbus-power = "GPIOH_6";
- gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
+ otg = <0>;
+ /*gpio-vbus-power = "GPIOH_6";*/
+ /*gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;*/
};
&dwc2_a {
status = "okay";
/** 0: normal, 1: otg+dwc3 host only, 2: otg+dwc3 device only*/
- controller-type = <3>;
+ controller-type = <1>;
};
ðmac {
status = "okay";
&usb3_phy_v2 {
status = "okay";
portnum = <1>;
- otg = <1>;
- gpio-vbus-power = "GPIOH_6";
- gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
+ otg = <0>;
+ /*gpio-vbus-power = "GPIOH_6";*/
+ /*gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;*/
};
&dwc2_a {
status = "okay";
/** 0: normal, 1: otg+dwc3 host only, 2: otg+dwc3 device only*/
- controller-type = <3>;
+ controller-type = <1>;
};
ðmac {
status = "okay";
&usb3_phy_v2 {
status = "okay";
portnum = <1>;
- otg = <1>;
- gpio-vbus-power = "GPIOH_6";
- gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
+ otg = <0>;
+ /*gpio-vbus-power = "GPIOH_6";*/
+ /*gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;*/
};
&dwc2_a {
status = "okay";
/** 0: normal, 1: otg+dwc3 host only, 2: otg+dwc3 device only*/
- controller-type = <3>;
+ controller-type = <1>;
};
ðmac {
status = "okay";
&usb3_phy_v2 {
status = "okay";
portnum = <1>;
- otg = <1>;
- gpio-vbus-power = "GPIOH_6";
- gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
+ otg = <0>;
+ /*gpio-vbus-power = "GPIOH_6";*/
+ /*gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;*/
};
&dwc2_a {
status = "okay";
/** 0: normal, 1: otg+dwc3 host only, 2: otg+dwc3 device only*/
- controller-type = <3>;
+ controller-type = <1>;
};
ðmac {
status = "okay";