USB2 & USB3 ports won't work W/O CYPD4226 solution, what should I do?

We have designed carrier board on Jatson AGX Orin and only USB type A function, but USB function does not working.
Our application removes the USB-C Power delivery chip (CYPD4226-40LQXIT) as well as all other USB-C related items.
When attempting to use USB2 and USB3 Ports, we do not see any enumeration of those ports.
According to R36.2 adaptation guide where we should make device tree changes as the following.
We are open to any suggestions on helping identify the issue we need to look at. Please advise if you can help.

Listed configurations
Jetson Linux: R36.2
UPHY Lane : hsio-uphy-config-16 (USB 3.2 P1 & USB 3.2 P2)

	typec@8 {
		compatible = "cypress,cypd4226";
		status = "disable";

	padctl@3520000 {
		status = "okay";

		pads {
			usb2 {
				lanes {
					usb2-0 {
						status = "okay";
					};

					usb2-1 {
						status = "okay";
					};

					usb2-2 {
						status = "okay";
					};

					usb2-3 {
						status = "okay";
					};
				};
			};

			usb3 {
				lanes {
					usb3-0 {
						status = "okay";
					};

					usb3-1 {
						status = "okay";
					};

					usb3-2 {
						status = "okay";
					};
				};
			};
		};

		ports {
			usb2-0 {
				mode = "host";
				status = "okay";
			};

			usb2-1 {
				mode = "host";
				status = "okay";
			};

			usb2-2 {
				mode = "host";
				status = "okay";
			};

			usb2-3 {
				mode = "host";
				status = "okay";
			};

			usb3-0 {
				nvidia,usb2-companion = <1>;
				status = "okay";
			};

			usb3-1 {
				nvidia,usb2-companion = <0>;
				status = "okay";
			};

			usb3-2 {
				nvidia,usb2-companion = <3>;
				status = "okay";
			};
		};
	};

xudc is for device mode. If your usb is still listed in it, need to get it removed.

xhci is for host mode. If your usb is not listed, need to add it.

hi sir,
could you please explain in more detail? how to config it in device-tree?

Check Jetson AGX Orin Platform Adaptation and Bring-Up — NVIDIA Jetson Linux Developer Guide 1 documentation

基本上現在的狀況是

  1. 文件已經寫的夠in detail 如果你還是看不懂 那請你說明一下你哪邊看不懂 . 我從你上面的敘述只看到你改的東西明顯不夠. 其餘要改什麼全看你其他部份修改了哪些, 甚至是你的線路圖也要附上

  2. 如果這是你第一次bring up, 建議要不要從rel-35的版本開始做 ? rel-36目前還是DP version (developer preview)

Hi sir,
另外發現使用P3701 SKU:0000 on custom carrier board,會不開機,原因是binding GPU driver做了module reset所造成的.暫時點掉” nvidia,ga10b”, 可進ubuntu desktop, 但這是不合理.可協助分析 GPU power gating or有其它要設定???

Debugging log from uEFI:
DeviceDiscoveryEnumerateDevices, DT-NodeName: gpu@17000000
OscarYeh - DeviceDiscoveryBindingStart, AutoDeassertPg: Success
OscarYeh - DeviceDiscoveryBindingStart, PowerGateId[0] Success
OscarYeh - DeviceDiscoveryBindingStart, AutoEnableClocks: Success
OscarYeh - DeviceDiscoveryBindingStart, Enable All Clock: Success
OscarYeh - DeviceDiscoveryBindingStart, AutoResetModule << Here is system hang!!!

Nv_uefi/edk2-nvidia/Silicon/NVIDIA/Drivers/ TegraControllerEnableDxe /TegraControllerEnableDxe.c
NVIDIA_COMPATIBILITY_MAPPING gDeviceCompatibilityMap = {
{ “nvidia,gv11b”, &gNVIDIANonDiscoverableEnableOnlyDeviceGuid },
{ “nvidia,tegra30-hda”, &gNVIDIANonDiscoverableEnableOnlyDeviceGuid },
{ “nvidia,tegra194-hda”, &gNVIDIANonDiscoverableEnableOnlyDeviceGuid },
{ “nvidia,tegra23x-hda”, &gNVIDIANonDiscoverableEnableOnlyDeviceGuid },
//{ “nvidia,ga10b”, &gNVIDIANonDiscoverableEnableOnlyDeviceGuid }, << To comment out GPU driver binding for efi booting.
{ “nvidia,th500-soc-hwpm”, &gNVIDIANonDiscoverableEnableOnlyDeviceGuid },
{ “nvidia,tegra234-nvdla”, &gNVIDIANonDiscoverableEnableOnlyDeviceGuid },
{ “nvidia,tegra234-host1x”, &gNVIDIANonDiscoverableEnableOnlyDeviceGuid },
{ “nvidia,tegra194-rce”, &gNVIDIANonDiscoverableEnableOnlyDeviceGuid },
{ NULL, NULL }
};

r362_boot_failed_with_P3701_0000.log (73.8 KB)

如果你的問題跟原本題目無關 請開新的問題

另外我還是再建議一次 如果這是你第一次做bring up, 建議你還是先用rel-35做

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