Jetson Orin Developer Kits cannot function without VBUS detection

Device:Jetson Orin Developer Kits (EVM)

OS Version:R36.4.3

Issue: Unable to enter USB client mode without checking the VBUS detect pin(R696).

We are using an Orin EVM. When we flash it via USB (J40), everything works normally — our PC can detect the Orin and we can flash it. However, after R696 NC, the Orin device can no longer be detected.

How can we modify the SDK so that J40 Type-C enters client mode without needing to detect the voltage status from R696?

===============================================

*** Please note that this reply is generated by LLM automatically ***

To address the issue of the Jetson AGX Orin device not being detected by the PC when trying to enter USB client mode without checking the VBUS detect pin R696, we need to modify the SDK to allow J40 Type-C to enter USB client mode without relying on the voltage status from R696.

The issue arises because the default configuration of the Jetson AGX Orin device requires the VBUS detect pin R696 to be asserted before entering USB client mode. However, in your setup, you want to bypass this requirement and allow the device to enter USB client mode without checking the VBUS detect pin.

To achieve this, you need to modify the device tree configuration of the Jetson AGX Orin device. The device tree is a data structure that describes the hardware components of the system, including the USB ports.

Here are the steps to modify the device tree configuration:

  1. Obtain the device tree source files: You can obtain the device tree source files from the NVIDIA Jetson Linux Developer Guide. The files are usually located in the hardware/nvidia/soc/t19x/kernel-dts directory.

  2. Modify the device tree configuration: Open the tegra194.dtsi file and locate the usb@3550000 node, which corresponds to the USB controller. Within this node, you need to modify the vbus-detect property to disable the VBUS detect pin R696.

    Before modification:

usb@3550000 {
…
vbus-detect = <&gpio TEGRA194_MAIN_GPIO(P, 6) GPIO_ACTIVE_HIGH>;
…
};


    After modification:

    ```c
usb@3550000 {
    ...
    vbus-detect = <&gpio TEGRA194_MAIN_GPIO(P, 6) GPIO_ACTIVE_LOW>;
    ...
};
Alternatively, you can also remove the `vbus-detect` property altogether to disable the VBUS detect pin R696.
  1. Recompile the device tree: After modifying the device tree configuration, you need to recompile the device tree binary using the dtc compiler.

dtc -I dts -O dtb -o tegra194.dtb tegra194.dts


4.  **Flash the modified device tree**: Flash the modified device tree binary to the Jetson AGX Orin device using the `flash.sh` script.

    ```bash
sudo ./flash.sh -k kernel-dtb jetson-agx-orin-emc mmcblk0p1

After modifying the device tree configuration and flashing the modified device tree binary, your Jetson AGX Orin device should be able to enter USB client mode without checking the VBUS detect pin R696.

Comparison with other Jetson devices:

The modification described above is specific to the Jetson AGX Orin device. If you are using other Jetson devices, such as the Jetson Xavier NX or Jetson Nano, you may need to modify the device tree configuration differently.

For example, on the Jetson Xavier NX, the USB controller is located at usb@3550000, and the vbus-detect property is located within the usb@3550000 node. However, the pin configuration may differ.

On the Jetson Nano, the USB controller is located at usb@700900, and the vbus-detect property is located within the usb@700900 node. Again, the pin configuration may differ.

Therefore, it is essential to consult the device tree documentation for your specific Jetson device to determine the correct modification.

Conclusion:

By modifying the device tree configuration, you can enable the Jetson AGX Orin device to enter USB client mode without checking the VBUS detect pin R696. This modification allows you to use the device in USB client mode without relying on the voltage status from R696.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

Don’t know what is the exact purpose of doing this…
Why are you rework devkit to do this when the original design already support OTG well

Regarding the DTS Modification Issue
Your proposed change is as follows:

usb@3550000 {
    …
    vbus-detect = <&gpio TEGRA194_MAIN_GPIO(P, 6) GPIO_ACTIVE_HIGH>;
    …
};

After our verification, the current code base does not contain the usb@3550000 node, nor does it include the vbus-detect property.
Therefore, we are unable to apply the modification as instructed.


Regarding the Hardware Impact of Removing R696
According to the P3449_B01_OrCAD_schematics.pdf, the pin associated with R696 is originally used as a detection or control signal for the Type-C/PD controller (U153).
If R696 is removed and the system still relies on that signal for state detection, it may lead to USB functionality issues or incorrect mode detection.


Our Question (Requesting Your Guidance)
If we follow the P3449_B01 reference design and remove R696:
Do you have any recommended software configurations or DTS modifications that would allow the system to stop monitoring that pin while still maintaining normal USB operation?

Below is our clarification regarding the purpose of this modification:

  1. Reason for changing R696 to NC
    Since our application is for OS flashing, the controller at U153 (CYPD4226-40LQXIT) is originally a two-port Type-C controller, while our actual design requires only a single Type-C port.
    Therefore, we are planning to change the controller IC to a single-port solution (or another alternative). In such case, the I²C signaling and pin definition will inevitably differ from the devkit design.

  2. Why we must evaluate the impact of removing R696
    Even though our USB flashing port only requires VBUS, D+, D−, and GND, and does not require CC1, CC2, SBU1, or SBU2 (all can remain unconnected),
    we found that removing R696 still causes functional impact in the current design.

  3. Purpose of our question
    We need to understand what specific role R696 plays, and what settings or configuration changes are required to allow the system to function without relying on the signal routed through R696, especially when the PD controller will be changed in our final design.

Do you mean you want to make a custom board with only single type C port?

What will be your final design looks like? What would be the type C solution you will adopt on your board?

The point here is you should contact with the type C solution vendor and confirm with them if their chip supports such design.

And just to clarify. carolyuuu is just a chatbot here. The info provided from it might not be correct.

Thanks help,

Let’s get back to the simplest question: why does removing R696 cause USB to lose device detection? Which section of code is affected? Can you provide a way to make this section skip normal operations?

Just to clarify. You could try to at least share the dmesg after your removal..

We are not aware of what is going on doing that kind of experiment. Especially when you are doing a pure hardware rework without knowing how actual software running in the background… Actually, that pin is not present in the major part of USB part device tree.