]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
pci: pcie_cdns_ti: Add PCIe support for J722S SoC
authorGeorge McCollister <george.mccollister@konsulko.com>
Fri, 30 Jan 2026 15:38:05 +0000 (09:38 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 4 Feb 2026 16:40:28 +0000 (10:40 -0600)
TI's J722S SoC has one instance of PCIe namely PCIe0 which is a Gen3
single lane PCIe controller. Add support for the "ti,j722s-pcie-host"
compatible specific to J722S SoC.

Based on:
https://lore.kernel.org/all/20240524092349.158443-1-s-vadapalli@ti.com/

Signed-off-by: George McCollister <george.mccollister@konsulko.com>
Tested-by: Bryan Brattlof <bb@ti.com>
drivers/pci/pcie_cdns_ti.c

index ff56ba3930c60b3f72add39638685be5b7648e11..38804f1c09c75f0cb3b161959ce58ab028ff6aa2 100644 (file)
@@ -855,6 +855,11 @@ static const struct pcie_cdns_ti_data am64_pcie_rc_data = {
        .max_lanes = 1,
 };
 
+static const struct pcie_cdns_ti_data j722s_pcie_rc_data = {
+       .mode = PCIE_MODE_RC,
+       .max_lanes = 1,
+};
+
 static const struct udevice_id pcie_cdns_ti_ids[] = {
        {
                .compatible = "ti,j7200-pcie-host",
@@ -864,6 +869,10 @@ static const struct udevice_id pcie_cdns_ti_ids[] = {
                .compatible = "ti,am64-pcie-host",
                .data = (ulong)&am64_pcie_rc_data,
        },
+       {
+               .compatible = "ti,j722s-pcie-host",
+               .data = (ulong)&j722s_pcie_rc_data,
+       },
        {},
 };