aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2023-07-10 14:37:36 +0200
committerMichal Simek <michal.simek@amd.com>2023-07-21 09:00:39 +0200
commit1ea11e8138767a262e576d5b08bb1509fed62dd9 (patch)
treef40aeec29068ed533c72a65da5d03b7f914140b7 /arch
parent58601fbb8f6ab1122abe5569ac572c44d4f97d77 (diff)
downloadu-boot-1ea11e8138767a262e576d5b08bb1509fed62dd9.zip
u-boot-1ea11e8138767a262e576d5b08bb1509fed62dd9.tar.gz
u-boot-1ea11e8138767a262e576d5b08bb1509fed62dd9.tar.bz2
arm64: zynqmp: Fix usb reset over bootmode pins on zcu100
The commit a4180c369607 ("arm64: zynqmp: Add mode-pin GPIO controller DT node") added usb phy reset over bootmode pins by default on usb0 only. zcu100 is using usb0 as peripheral and usb1 as host. Unfortunately reset line is shared for both usb ulpi phys but usb_rst_b is connected to usb5744 hub which is used only in host mode. Especially this chip requires reset to operate properly that's why better assign gpio reset to usb1 instead of usb0. Without this change usb start crashed when runs. Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/1ca80ec5bf7a595c03822f3e4e3683298205067a.1688992653.git.michal.simek@amd.com
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/zynqmp-zcu100-revC.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/dts/zynqmp-zcu100-revC.dts b/arch/arm/dts/zynqmp-zcu100-revC.dts
index 78c3250..a84cd86 100644
--- a/arch/arm/dts/zynqmp-zcu100-revC.dts
+++ b/arch/arm/dts/zynqmp-zcu100-revC.dts
@@ -569,6 +569,7 @@
pinctrl-0 = <&pinctrl_usb0_default>;
phy-names = "usb3-phy";
phys = <&psgtr 2 PHY_TYPE_USB3 0 0>;
+ /delete-property/ reset-gpios;
};
&dwc3_0 {
@@ -584,6 +585,7 @@
pinctrl-0 = <&pinctrl_usb1_default>;
phy-names = "usb3-phy";
phys = <&psgtr 3 PHY_TYPE_USB3 1 0>;
+ reset-gpios = <&modepin_gpio 1 GPIO_ACTIVE_LOW>;
};
&dwc3_1 {