Other Parts Discussed in Thread: AM5728
Dear All,
I do have a question similar to posted here:
I do work on system with AM5728 and AM5718 being interchangeable (pin compatible).
On my AM5728 PCIe[0] and PCIe[1] work correctly
I do use PCIe_SS1 (AH13, AG13, AG14, AH14 - on IDK schematic: PCIE_TX{P|N} and PCIE_RX{P|N} connected to PCIe connector)
and PCIe_SS2 connected to (AD11, AC11, AE12, AF12 - on IDK those are "USB1_3.0"):
root@bb:~# lspci
0000:00:00.0 PCI bridge: Texas Instruments (rev 01)
0001:00:00.0 PCI bridge: Texas Instruments (rev 01)
Problem starts with AM5718.
Point 3.5.4 on AM571x:
AM571x: AM572x PCIe lane 1 balls are N.C. Lane 1 can be mapped on USB3.0 balls by software. Default
configuration is USB3.0 with the same pinout as in AM572x, that is, PCIe lane 1 is not available by
default.
Have I understood correctly that to have PCIe_SS2 output (PCIe lane1?) I do need to change mapping of usb3.0_tx, usb3.0_rx to pcie_tx{p|n} and pcie_rx{p|n}?
I've followed following document:
Point 24.9.2 (PCIe Controller Environment)
Table 24-661. PCIe_SS Port Configuration
Indeed at 0x4A003c3c (CTRL_CORE_PCIE_CONTROL) there is 0x8 value - PCIe_SS: Port 0 (PCIESS lane 0) and Port USB (USB3.0). This is correct and expected on AM5718.
However, changing it to 0x0 don't bring PCIe1 being available:
root@bb:~# lspci
0000:00:00.0 PCI bridge: Texas Instruments (rev 01)
Also in the table "Table 24-661. PCIe_SS Port Configuration" for port USB I can only set PCIESS2 lane 0 (PCIE_B1C0_MODE_SEL=0) or PCIESS1 lane 1(PCIE_B1C0_MODE_SEL=0x1).
Is it at all possible to set PCIESS2 with lane 1 to reuse AM5728 configuration?
Thanks for replying,
Łukasz