Does anyone know how to modify the default config #2 to config #3 for USB LANE MAPPING?
I had read the document in the “Platform Adaptation and Bring-Up Guide”, but it is not very clear.
Can anyone provide the dts file for config #3?
Thank you very much.
I had try the dts files in the link but it does not work for our carrier board.
Would you provide the diff dts files of the config #3 for us?
Thanks a lot.
Thanks for the information.
I can see two PCIe device now.
But it seems the config is #1.
I had two USB 3.0 port, but it can only detect USB 2.0 now.
Would you help to tell me how to modify it?
Thanks.
I did try to have these and it still doesn’t work.
On my carrier board, here are the used pins :
USB 1 : uses USB_SS1 (G42, G43, D42 and D43 on TX2 module)
USB 2 : uses USB_SS0 (F43, F44, C43 and C44 on TX2 module)
USB 3 : uses USB2_D(B42, B43 of CVM)
PCIE : use PEX1 (H41, H42, E41 and E42)
Here are testing results :
0x609000
PCIE (Use PEX1) : OK
USB port 1 (Uses USB_SS1 ) : Ok within USB 2.0. USB 3.0 failed.
USB port 2 (Uses USB_SS0) : Ok within USB 2.0. USB 3.0 failed.
USB port 3 (Uses USB2_D/P, B42, B43 of CVM) : failed on USB 2.0.
0x109000
PCIE (Use PEX1) : Failed
USB port 1 (Uses USB_SS1 ) : Ok within USB 2.0. USB 3.0 failed.
USB port 2 (Uses USB_SS0) : Ok within USB 2.0. USB 3.0 failed.
USB port 3 (Uses USB2_D/P, B42, B43 of CVM) : USB 2.0 OK.
0x9000
PCIE (Use PEX1) : OK
USB port 1 (Uses USB_SS1 ) : Ok within USB 2.0. USB 3.0 failed.
USB port 2 (Uses USB_SS0) : Ok within USB 2.0. USB 3.0 failed.
USB port 3 (Uses USB2_D/P, B42, B43 of CVM) : USB 2.0 failed.
0x7009000
PCIE (Use PEX1) : Failed
USB port 1 (Uses USB_SS1 ) : Ok within USB 2.0. USB 3.0 failed.
USB port 2 (Uses USB_SS0) : Ok within USB 2.0. USB 3.0 failed.
USB port 3 (Uses USB2_D/P, B42, B43 of CVM) : USB 2.0 OK.
For config #3 it should be 0x609000. Do you also modify device tree according to [USB LANE MAPPING] section? Please share the device tree for reference.
I copied tegra186-quill-p3310-1000-a00-00-base.dts to my.dts.
And I kept all but modify ‘pcie-controller@10003000’ only.
And regarding to the testing result I provide above, I make a mistake in testing USB 3.0.
USB 3.0 is working… Let me correct my testing result :
0x609000
PCIE (Use PEX1) : OK
USB port 1 (Uses USB_SS1 ) : Ok within USB 2.0. and USB 3.0.
USB port 2 (Uses USB_SS0) : Ok within USB 2.0. USB 3.0 failed.
USB port 3 (Uses USB2_D/P, B42, B43 of CVM) : failed on USB 2.0.
0x109000
PCIE (Use PEX1) : Failed
USB port 1 (Uses USB_SS1 ) : Ok within USB 2.0. and USB 3.0.
USB port 2 (Uses USB_SS0) : Ok within USB 2.0. and USB 3.0.
USB port 3 (Uses USB2_D/P, B42, B43 of CVM) : USB 2.0 OK.
We also add USB_SS0 into usb2-1, but I ignore it because I had enabled pins of PEX1.
According to the table 15, USB_SS0 and PEX1 are exclusive.
And I think config#3 is closer to my carrier board, so I use it.
Till now, I still cannot make usb2-2 works…
So I read document and it tells I have to modify xhci@3530000 and pinctrl@3520000.
I tried but my settings make thing worse…
All USB port are gone…