AGX xavier: USB OTG cann't work for custom carrier board

The agx xavier product want to update jetpack 5.1 which already is developed in jetpack 4.6;
I have modify dtsi file tegra194-p2888-0001-p2822-0000-common.dtsi, but it doesn’t work.
and host machine can’t discovery nvidia device info by lsusb.

I have some analysis:
1、in uart log, there is “extcon usb_vbus_en0_gpio fail”. dtb file don’t add gpio infos correctly.
2、at jp5.1, TEGRA_XUSB_DT_VERSION is defined DT_VERSION_3. It maybe affect tegra_xudc and tegra_xhci;
3、out custom carrier board don’t use ucsi_ccg;
4、by forum and nv doc, I cann’t find effective info. maybe custom board is different.

the atteched file is using file, please help to check the dtb file.
and give some advices about it.

tegra194-p2888-0001-p2822-0000-common.dtsi (10.5 KB)
usb_uart1.log (68.5 KB)
sch_v03_type-c.pdf (424.4 KB)

Hi,
The device tree programming for OTG port is different between Jetpack 4 and Jetpack 5, please refer to the adaptation guide of Jetpack 5:
Jetson Module Adaptation and Bring-Up: Jetson AGX Xavier Series — Jetson Linux Developer Guide documentation

The states are defined in USBConnectorClass on Jetpack 5.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.