[PATCH 0/6] arm: k3: j722s: add PCIe support

Bryan Brattlof bb at ti.com
Wed Jan 7 13:57:27 CET 2026


On December 24, 2025 thus sayeth George McCollister:
> This patch series brings over several changes from Linux that are 
> required to get PCIe working on the j722s and also enables PCIe in 
> j722s_evm_a53_defconfig. This allows Linux to be booted from an NVMe 
> drive.
> 
> The J722S SoC provides pcie0 (using pcie_cdns_ti) thru serdes1 (using 
> phy-cadence-torrent) thru serdes_wiz1 (using phy-j721e-wiz). Changes 
> to the three drivers needed to be ported from Linux to enable the 
> REFCLK output which is used with this SoC. These changes should be 
> tested on other platforms using these drivers by those with the 
> hardware available to make sure no problems were introduced.
> 
> The PCIe controller in this SoC relies on the code performing the PCI 
> scan not scanning devices which cannot exist. In Linux this is 
> implemented as only_one_child() in probe.c. If this mechanism is not 
> used, PCI config reads for subsequent functions will return 
> information for device 0 resulting in U-Boot detecting 32 devices when 
> only 1 is present. This change should be tested on other platforms 
> with PCI to ensure the same PCI devices are enumerated before and 
> after the patch is applied.
> 
> I would like to thank Opto 22 for sponsoring the initial development 
> and anyone that is able to contribute to testing of patches.
> 

Thanks Opto 22

> 
> George McCollister (6):
>   pci: skip unnecessary PCIe scanning
>   phy: ti: j721e-wiz: Enable reference clock output in cmn_refclk_<p/m>
>   phy: cadence-torrent: Add support to drive refclk out
>   pci: pcie_cdns_ti: Add support to provide refclk to PCIe connector
>   pci: pcie_cdns_ti: Add PCIe support for J722S SoC
>   configs: j722s_evm_a53_defconfig: enable PCIe
> 
>  configs/j722s_evm_a53_defconfig           |   8 ++
>  drivers/pci/pci-uclass.c                  |  32 +++++
>  drivers/pci/pcie_cdns_ti.c                |  23 +++
>  drivers/phy/cadence/phy-cadence-torrent.c | 168 ++++++++++++++++++++++
>  drivers/phy/ti/phy-j721e-wiz.c            |  46 ++++++
>  5 files changed, 277 insertions(+)
>

This is great George!

Tested-by: Bryan Brattlof <bb at ti.com>

I was not able to find a working baseline for the AM64-EVM even though 
there is a compatible for it. I'm starting to have doubts it was ever 
working to begin with.

I'm sure the BeagleY would want this as well. I'll have to go find one 
of those and try it out.

~Bryan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260107/4eadda61/attachment.sig>


More information about the U-Boot mailing list