arm64: dts: ti: k3-am625-sk: Add support for USB
authorAswath Govindraju <a-govindraju@ti.com>
Thu, 12 Jan 2023 16:28:46 +0000 (17:28 +0100)
committerVignesh Raghavendra <vigneshr@ti.com>
Sun, 15 Jan 2023 16:54:36 +0000 (22:24 +0530)
commit2d94dfc438853dca9b390a3f32fe5331c336fd28
tree123dfb6a3cda6136138d013a7e2d12dad017ef25
parent2240f96cf3cd0f74f5c349fb212c4176627f69b0
arm64: dts: ti: k3-am625-sk: Add support for USB

AM62 SoC has two instances of USB and they are brought on to the board
in the following way,

-> USB0 instance
 - This is brought out to a USB TypeC connector on board through TPS6598 PD
   controller. The PD controller should decide the role based on CC pin in
   the connector. Unfortunately the irq line for the TPS isn't hooked up
   which is a mode not yet support by the driver (some patches were
   submitted earlier this year[0]). So for now the PD controller is left
   out and peripheral mode chosen.

-> USB1 instance
 - This is brought out to a USB TypeA connector on board.

Therefore, add the required device tree support for the above in the board
dts file.

0: https://lore.kernel.org/lkml/f714ee55-ef47-317d-81b9-57020dda064b@ti.com/T/

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Tested-by: Martyn Welch <martyn.welch@collabora.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20230112162847.973869-4-sjoerd@collabora.com
arch/arm64/boot/dts/ti/k3-am625-sk.dts