USB doesn’t work on our customer board , TX2-4G , R32.2.1 ,jetpack 4.2.2

Hi,USB2.0 doesn’t work on our customer board , TX2-4G , R32.2.1 ,jetpack 4.2.2. I have modified the dts file according to some examples, such as :
Third USB on custom board not working with JetPack 4.2,
Failed to use USB on Jetson TX2.
but the usb still doesn’t work.
sometimes ,when I plug a usb camera into the usb port ,i can get some error log:

[ 335.001365] tegra-xusb 3530000.xhci: exiting ELPG done
[ 336.011493] usb 1-2: new low-speed USB device number 2 using tegra-xusb
[ 336.012261] tegra-xusb 3530000.xhci: ERROR: unexpected setup address command completion code 0x11.
[ 336.228039] tegra-xusb 3530000.xhci: ERROR: unexpected setup address command completion code 0x11.
[ 336.443488] usb 1-2: device not accepting address 2, error -22
[ 337.335725] usb usb1: usb_suspend_both: status 0
[ 337.335822] tegra-xusb 3530000.xhci: entering ELPG
[ 337.342438] tegra-xusb 3530000.xhci: entering ELPG done

But ,most of the time ,there is even no error log ,just like the follows:
[ 72.922321] tegra-xusb 3530000.xhci: exiting ELPG
[ 72.929968] tegra-xusb 3530000.xhci: Firmware timestamp: 2018-12-26 10:30:04 UTC, Version: 55.12 release
[ 72.931728] tegra-xusb 3530000.xhci: exiting ELPG done
[ 74.935528] tegra-xusb 3530000.xhci: entering ELPG
[ 74.942079] tegra-xusb 3530000.xhci: entering ELPG done
[ 75.226017] tegra-xusb 3530000.xhci: exiting ELPG
[ 75.232454] tegra-xusb 3530000.xhci: Firmware timestamp: 2018-12-26 10:30:04 UTC, Version: 55.12 release
[ 75.233940] tegra-xusb 3530000.xhci: exiting ELPG done
[ 77.903555] tegra-xusb 3530000.xhci: entering ELPG
[ 77.910101] tegra-xusb 3530000.xhci: entering ELPG done
[ 311.781382] tegra-xusb 3530000.xhci: exiting ELPG
[ 311.788433] tegra-xusb 3530000.xhci: Firmware timestamp: 2018-12-26 10:30:04 UTC, Version: 55.12 release
[ 311.789957] tegra-xusb 3530000.xhci: exiting ELPG done
[ 312.039833] usb usb1: usb_suspend_both: status 0
[ 313.935720] tegra-xusb 3530000.xhci: entering ELPG
[ 313.942577] tegra-xusb 3530000.xhci: entering ELPG done

could you please give me a favor to find the error?

Here is the dmesg log:
dmesglog.txt (59.5 KB)

schematic diagram:

Hi,
From the log, it seems like the device tree is good but the signals are not tuned. You can confirm if the device tree is good and correct by executing xxd.
And please refer to the tuning guide and check the signals:
http://developer.nvidia.com/embedded/dlc/tx2-series-interface-tuning-compliance-testing-guide

Hi DaneLLL :
Thanks for your reply.I have tested the device tree,it seems that the device tree is ok . But I am not sure ,Logs are as follows:

kdla@tegra-ubuntu:~$ xxd /proc/device-tree/xusb_padctl@3520000/ports/usb2-0/status

00000000: 6f6b 6179 00 okay.
kdla@tegra-ubuntu:~$ xxd /proc/device-tree/xusb_padctl@3520000/ports/usb2-1/status

00000000: 6f6b 6179 00 okay.
kdla@tegra-ubuntu:~$ xxd /proc/device-tree/xusb_padctl@3520000/ports/usb
usb2-0/ usb2-1/ usb2-2/ usb3-0/ usb3-1/ usb3-2/

kdla@tegra-ubuntu:~$ xxd /proc/device-tree/xusb_padctl@3520000/ports/usb2-1/status

00000000: 6f6b 6179 00 okay.
kdla@tegra-ubuntu:~$ xxd /proc/device-tree/xusb_padctl@3520000/ports/usb2-2/status

00000000: 6f6b 6179 00 okay.
kdla@tegra-ubuntu:~$ xxd /proc/device-tree/xusb_padctl@3520000/ports/usb3-/status
usb3-0/ usb3-1/ usb3-2/

kdla@tegra-ubuntu:~$ xxd /proc/device-tree/xusb_padctl@3520000/ports/usb3-0/status

00000000: 6f6b 6179 00 okay.
kdla@tegra-ubuntu:~$ xxd /proc/device-tree/xusb_padctl@3520000/ports/usb3-1/status

00000000: 6469 7361 626c 6564 00 disabled.
kdla@tegra-ubuntu:~$ xxd /proc/device-tree/xusb_padctl@3520000/ports/usb3-2/status

00000000: 6469 7361 626c 6564 00 disabled.
kdla@tegra-ubuntu:~$

So the next ,according your reply, I need to check the hardware design and test signals. is that right?

Hi,
Yes. Please do compliance test to ensure the signals are good.