dts: S905Y2 can not switch adb/usb. [1/1]

PD#SWPL-13103

Problem:
S905Y2 can not use adb.

Solution:
config dts, and switch the state in uboot.
setenv otg_device 0 or 1.

Verify:
verify by faraday.

Change-Id: If4cda761e346fb63d6918db74bc03f23cdcb3a1b
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
This commit is contained in:
Luan Yuan
2019-06-20 10:07:11 +08:00
committed by Tao Zeng
parent 32070b7cfb
commit 722f778afc
2 changed files with 4 additions and 4 deletions

View File

@@ -1168,7 +1168,7 @@
&usb3_phy_v2 {
status = "okay";
portnum = <0>;
otg = <1>;
otg = <0>;
gpio-vbus-power = "GPIOH_6";
gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
};
@@ -1176,7 +1176,7 @@
&dwc2_a {
status = "okay";
/** 0: normal, 1: otg+dwc3 host only, 2: otg+dwc3 device only*/
controller-type = <3>;
controller-type = <1>;
};
&ethmac {
status = "disabled";

View File

@@ -1165,7 +1165,7 @@
&usb3_phy_v2 {
status = "okay";
portnum = <0>;
otg = <1>;
otg = <0>;
gpio-vbus-power = "GPIOH_6";
gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
};
@@ -1173,7 +1173,7 @@
&dwc2_a {
status = "okay";
/** 0: normal, 1: otg+dwc3 host only, 2: otg+dwc3 device only*/
controller-type = <3>;
controller-type = <1>;
};
&ethmac {
status = "disabled";