arm64: tegra: Enable USB device for Jetson AGX Orin
Subsystems (2)
Jon Hunter
maintainerPATCH 1/2 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 <[email protected]>
--- .../dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +10 -1
@@ -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";
Signature · 1 line
2.34.1
Jon Hunter
maintainerPATCH 2/2 arm64: tegra: Update USB phy-name for Jetson Orin NX
Running 'make dtbs_check' reports the following warning for the Jetson Orin NX platform ...
arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dtb:
usb@3550000: phy-names:1: 'usb3-0' was expected
Fix this by updating the phy-names:1 to be 'usb3-0' as expected.
Signed-off-by Jon Hunter <[email protected]>
--- arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi +1 -1
@@ -119,7 +119,7 @@ usb@3550000 { phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; - phy-names = "usb2-0", "usb3-1"; + phy-names = "usb2-0", "usb3-0"; }; usb@3610000 {
Signature · 1 line
2.34.1
Thierry Reding
AppliedFrom: Thierry Reding <[email protected]>
Quoted 4 lines · Jon Hunter
Enable USB device support for the Jetson AGX Orin platform and update the mode for the usb2-0 port to be on-the-go.
Applied, thanks!
[1/2] arm64: tegra: Enable USB device for Jetson AGX Orin
commit: 620405856d591ef95b01ee3e275af3a636c05010
[2/2] arm64: tegra: Update USB phy-name for Jetson Orin NX
commit: 86d24f98b75d3a58503554e8d1dd277ae7386966Best regards,
Signature · 1 line
Thierry Reding <[email protected]>