Second usb C on custom carrier board

I am trying to figure out how to add a second USB C device in to the device tree.
Im assuming i need to create another i2c device, but i’m not sure how to make the connection for the interrupts.

on the jetson orin nano dev board, we know that the usb c controller is connected to pins 185, 187, and 87.
And somehow pins 185, and 187 is connected to I2C2 on the SoC.


And Im assuming pin 87 is connected to Z1 on the SoC.

Our second USB C controller is connected 189, 191, and 212, but I cant figure where these pins are mapped to.

I cant find any documentation that translates the SoC BGA assignment to the GPIO on the SODIMM connector.

snippet from tegra234-p3768-0000-a0.dtsi

i2c@c240000{
     status = “okay”;
     fusb301@25 {
         compatible = “onsemi,fusb301”;
         reg = <0x25>;
         status = “okay”;
         #address-cells = <1>;
         #size-cells = <0>;
         interrupt-parent = <&tegra_main_gpio>;
         interrupts = <TEGRA234_MAIN_GPIO(Z, 1) IRQ_TYPE_LEVEL_LOW>;
         connector@0 {
             port@0 {
                 fusb_p0: endpoint {
                     remote-endpoint = <&typec_p0>;
                 };
             };
         };
     };
};

please check with the vendor of the USB type C controller you bought.

were using the same fusb301 as the dev board, we just have two of them now.
dont we need to configure it in the device tree so the SoM know what and where to look for it?

Yes, you need. Follow the original fusb301 setting in the device tree to match your hardware.

I cant use the same I2C memory address space. How do i know what the next I2C address space is mapped to?
How do i know what GPIO pin the interrupt is mapped too?
For the original I2C I can see that its mapped to Z,1, I’m assuming this is the location of the BGA of the SOC. But where is the table showing that Z, 1 is mapped to pin 87 on the SODIMM connector?

interrupts = <TEGRA234_MAIN_GPIO(Z, 1) IRQ_TYPE_LEVEL_LOW>;

please refer to the pinmux spreadsheet. It will have the mapping.

which pinmux sheet? i havent been able to find any that showed me the mapping.
Can you give me an example?

can you tell me which column on this table tells me the BGA spot?

Make your excel show all the hidden column and it will be easier to explain…

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