arm64: zynqmp: Fix usb reset over bootmode pins on zcu100
authorMichal Simek <michal.simek@amd.com>
Tue, 2 May 2023 13:35:32 +0000 (15:35 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 16 May 2023 11:04:51 +0000 (13:04 +0200)
commit028d125a30ff5646b3ad22445080d8f2946d67d7
tree02faa1e8e9a000e2b17017271f492d933c06fd2b
parent3effc177f12d5062bf39496aa6db23d29924678b
arm64: zynqmp: Fix usb reset over bootmode pins on zcu100

The commit 53ba1b2bdaf7 ("arm64: dts: 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.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/d117473da3bab39a82fe900cecd8ca78df9adeda.1683034376.git.michal.simek@amd.com
arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts