arm64: tegra: Enable USB device for Jetson AGX Orin

Enable USB device support for the Jetson AGX Orin platform and update
the mode for the usb2-0 port to be on-the-go.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Jon Hunter 2023-05-30 15:02:31 +01:00 committed by Thierry Reding
parent 282fde0027
commit 620405856d

View File

@ -2096,7 +2096,8 @@ usb3-2 {
ports {
usb2-0 {
mode = "host";
mode = "otg";
usb-role-switch;
status = "okay";
port {
hs_typec_p1: endpoint {
@ -2152,6 +2153,14 @@ usb3-2 {
};
};
usb@3550000 {
status = "okay";
phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
<&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>;
phy-names = "usb2-0", "usb3-0";
};
usb@3610000 {
status = "okay";