summaryrefslogtreecommitdiff
authorLuan Yuan <luan.yuan@amlogic.com>2019-06-20 02:07:11 (GMT)
committer Tao Zeng <tao.zeng@amlogic.com>2019-09-12 01:59:36 (GMT)
commit722f778afcde83bb4afc0865bbcc89f9df75d5e8 (patch)
treed90992b9f267d878665600203269449537e51cc2
parent32070b7cfbc2d1273f800080ca7c9c66fd424f89 (diff)
downloadcommon-722f778afcde83bb4afc0865bbcc89f9df75d5e8.zip
common-722f778afcde83bb4afc0865bbcc89f9df75d5e8.tar.gz
common-722f778afcde83bb4afc0865bbcc89f9df75d5e8.tar.bz2
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>
Diffstat
-rw-r--r--arch/arm/boot/dts/amlogic/g12a_s905y2_u221.dts4
-rw-r--r--arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/amlogic/g12a_s905y2_u221.dts b/arch/arm/boot/dts/amlogic/g12a_s905y2_u221.dts
index 7d65518..aa6641c 100644
--- a/arch/arm/boot/dts/amlogic/g12a_s905y2_u221.dts
+++ b/arch/arm/boot/dts/amlogic/g12a_s905y2_u221.dts
@@ -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";
diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts b/arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts
index b2bb78e..68094b3 100644
--- a/arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts
+++ b/arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts
@@ -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";