[PATCH] arm64: tegra: Add the USB Type-C controller for IGX Orin

Jon Hunter posted 1 patch 2 weeks, 1 day ago
.../dts/nvidia/tegra234-p3740-0002+p3701-0008.dts  | 36 ++++++++++++++++++++++
1 file changed, 36 insertions(+)
[PATCH] arm64: tegra: Add the USB Type-C controller for IGX Orin
Posted by Jon Hunter 2 weeks, 1 day ago
Add the USB Type-C controller that is present on the NVIDIA IGX Orin
platform and hook up the Type-C controller connector to the USB2 OTG
port on the Orin SoC. The vdd-supply for the Type-C controller is
provided by fixed voltage 5V regulator and so populate this regulator
for the IGX platform too.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
 .../dts/nvidia/tegra234-p3740-0002+p3701-0008.dts  | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts
index 97cede1fcb70..a4ddffb16d85 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts
@@ -93,6 +93,29 @@ rt5640_ep: endpoint {
 				};
 			};
 
+			typec@28 {
+				compatible = "st,stusb1600";
+				reg = <0x28>;
+				interrupt-parent = <&gpio>;
+				interrupts = <TEGRA234_MAIN_GPIO(K, 6) IRQ_TYPE_LEVEL_LOW>;
+				vdd-supply = <&vdd_5v_sys>;
+				vsys-supply = <&vdd_3v3_sys>;
+
+				connector {
+					compatible = "usb-c-connector";
+					label = "USB-C";
+					data-role = "dual";
+					power-role = "dual";
+					typec-power-opmode = "default";
+
+					port {
+						typec_con_ep: endpoint {
+							remote-endpoint = <&usb_role_switch0>;
+						};
+					};
+				};
+			};
+
 			/* carrier board ID EEPROM */
 			eeprom@55 {
 				compatible = "atmel,24c02";
@@ -173,6 +196,12 @@ usb2-0 {
 					mode = "otg";
 					usb-role-switch;
 					status = "okay";
+
+					port {
+						usb_role_switch0: endpoint {
+							remote-endpoint = <&typec_con_ep>;
+						};
+					};
 				};
 
 				usb2-1 {
@@ -473,4 +502,11 @@ vdd_3v3_wifi: regulator-vdd-3v3-wifi {
 		regulator-boot-on;
 		enable-active-high;
 	};
+
+	vdd_5v_sys: regulator-vdd-5v-sys {
+		compatible = "regulator-fixed";
+		regulator-name = "vdd-5v-sys";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+	};
 };

---
base-commit: c68a982815dcce5464e3bf2a31ac94f5146c04ca
change-id: 20260910-tegra-for-7-4-arm64-dt-e4a69bbfbef8

Best regards,
--  
Jon Hunter <jonathanh@nvidia.com>
Re: [PATCH] arm64: tegra: Add the USB Type-C controller for IGX Orin
Posted by Thierry Reding 2 weeks ago
From: Thierry Reding <treding@nvidia.com>


On Thu, 10 Sep 2026 15:52:59 +0100, Jon Hunter wrote:
> Add the USB Type-C controller that is present on the NVIDIA IGX Orin
> platform and hook up the Type-C controller connector to the USB2 OTG
> port on the Orin SoC. The vdd-supply for the Type-C controller is
> provided by fixed voltage 5V regulator and so populate this regulator
> for the IGX platform too.
> 
> 
> [...]

Applied, thanks!

[1/1] arm64: tegra: Add the USB Type-C controller for IGX Orin
      commit: 720ff66b5a00b8fbe86715995b9697f4e955a52d

Best regards,
-- 
Thierry Reding <treding@nvidia.com>