Hi,
We have hardware production design guide and software adaptation guide for USB lane mapping, please check the document:
https://developer.nvidia.com/embedded/dlc/jetson-tx2-series-oem-product-design-guide
If your USB lane mapping is different from developer kit, please refer to the document to check if hardware design is good, and modify the device tree accordingly
Some topics for modifying device tree:
USB not working in Jetson TX2 - R32.2 - #2 by DaneLLL
Jetson TX2 USB 2/3 connection - #2 by DaneLLL