We have a custom carrier board designed for Orin Nano 8 GB. I followed the guide from below link and created a custom BSP. I created the pinmux files, and am now able to access and control the GPIOs as required.
However, I am facing two key problems. I am unable to access devices on USBSS and I2C bus. Standard USB devices are detected however. My carrier board does not have a hub like the one on the dev kit. There are two USB 3.2 ports - (USB0 + USBSS0) and (USB1 + USBSS1) directly routed from SoM. Is there any specific configurations to be made to UPHY inorder to use these ports in this manner. This part of the guide was not very clear to me, any help would be highly appreciated.
Regarding I2C, I have an ADS1115 ADC connected to I2C1 and MAX9296 connected to CAM_I2C, and I could not read the addresses of both using i2cdetect. The pins are correctly configured on pinmux sheet. Again, are there any other configurations to be done for I2C master mode?
Thank you so much for pointing this out. I think I have an idea now, the problem with my board was that USBSS0 was paired with USB0, and USBSS1 with USB1. Whereas on the devkit board USBSS1 is paired with USB0 and USBSS0 is paired with USB1. I also confirmed this by manually re-wiring USB1 to USBSS0 (type-A) port on my board and found my USB 3.2 camera to be working (albeit poorly due to SI issues, but at-least its detected and streaming attempted to start).
Now, Could you please help me find where this piece of code is , as I could find the companion port configuration here. I am assuming its on one of the kernel dts files? I am working on Orin Nano for your reference.