arm64: tegra: Enable Jetson Xavier NX USB device mode

This commit enables USB device mode at J5 micro-B USB port of Jetson
Xavier NX.

Signed-off-by: Wayne Chang <waynec@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Wayne Chang 2021-12-22 15:15:28 +08:00 committed by Thierry Reding
parent ff578db7b6
commit c6489c30fc
1 changed files with 25 additions and 0 deletions

View File

@ -1826,6 +1826,10 @@
pads {
usb2 {
lanes {
usb2-0 {
status = "okay";
};
usb2-1 {
status = "okay";
};
@ -1846,6 +1850,20 @@
};
ports {
usb2-0 {
mode = "otg";
status = "okay";
usb-role-switch;
connector {
compatible = "gpio-usb-b-connector",
"usb-b-connector";
label = "micro-USB";
type = "micro";
vbus-gpio = <&gpio TEGRA194_MAIN_GPIO(Z, 1)
GPIO_ACTIVE_LOW>;
};
};
usb2-1 {
mode = "host";
status = "okay";
@ -1874,6 +1892,13 @@
phy-names = "usb2-1", "usb2-2", "usb3-2";
};
usb@3550000 {
status = "okay";
phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>;
phy-names = "usb2-0";
};
spi@3270000 {
status = "okay";