diff options
author | Wayne Chang <waynec@nvidia.com> | 2021-12-22 10:15:28 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-02-24 22:06:53 +0300 |
commit | c6489c30fcbcfda963c79f003adcdf7a69e33b8a (patch) | |
tree | 7d730db534c5cad7c4e02b2d6bee7de3c23df7b4 /arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi | |
parent | ff578db7b69374fb632ed76e8fd5406f9466c5bd (diff) | |
download | linux-c6489c30fcbcfda963c79f003adcdf7a69e33b8a.tar.xz |
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>
Diffstat (limited to 'arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi index 1323fa9b8301..32ce7904f44f 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi @@ -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"; |