]> git.openpandora.org Git - pandora-u-boot.git/commitdiff
pci: pcie_cdns_ti: enable PCIe root-complex mode for J784S4 SoC
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Fri, 27 Feb 2026 11:58:30 +0000 (17:28 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 9 Mar 2026 15:35:43 +0000 (09:35 -0600)
The PCIe Controllers on the J784S4 SoC support Root-Complex mode of
operation. Hence, enable it.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Fixes: 79f3e77133bd ("Subtree merge tag 'v6.16-dts' of dts repo [1] into dts/upstream")
drivers/pci/pcie_cdns_ti.c

index 38804f1c09c75f0cb3b161959ce58ab028ff6aa2..63d249c25064d95302252eefc48bd7b2166dfb63 100644 (file)
@@ -860,6 +860,12 @@ static const struct pcie_cdns_ti_data j722s_pcie_rc_data = {
        .max_lanes = 1,
 };
 
+static const struct pcie_cdns_ti_data j784s4_pcie_rc_data = {
+       .mode = PCIE_MODE_RC,
+       .quirk_detect_quiet_flag = true,
+       .max_lanes = 4,
+};
+
 static const struct udevice_id pcie_cdns_ti_ids[] = {
        {
                .compatible = "ti,j7200-pcie-host",
@@ -873,6 +879,10 @@ static const struct udevice_id pcie_cdns_ti_ids[] = {
                .compatible = "ti,j722s-pcie-host",
                .data = (ulong)&j722s_pcie_rc_data,
        },
+       {
+               .compatible = "ti,j784s4-pcie-host",
+               .data = (ulong)&j784s4_pcie_rc_data,
+       },
        {},
 };