[PATCH 2/2] PCI: amd-mdb: Add amd,versal2-cpm6-host compatible

From: Sai Krishna Musham

Date: Thu Apr 02 2026 - 14:01:21 EST


Add "amd,versal2-cpm6-host" to the OF match table of the AMD MDB PCIe
host controller driver.

The Versal2 CPM6 host controller is DesignWare-based and supports
PCIe Gen6 operation at up to 64 GT/s per lane. It is currently
handled by the same driver and match data (NULL) as the existing
MDB host controller, but CPM6 uses a newer IP revision and differs
in legacy INTx register offsets.

Use a separate compatible to allow CPM6-specific handling once legacy
interrupt support is validated.

Signed-off-by: Sai Krishna Musham <sai.krishna.musham@xxxxxxx>
---
drivers/pci/controller/dwc/pcie-amd-mdb.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/pci/controller/dwc/pcie-amd-mdb.c b/drivers/pci/controller/dwc/pcie-amd-mdb.c
index 3c6e837465bb..325bf7aad657 100644
--- a/drivers/pci/controller/dwc/pcie-amd-mdb.c
+++ b/drivers/pci/controller/dwc/pcie-amd-mdb.c
@@ -511,6 +511,9 @@ static const struct of_device_id amd_mdb_pcie_of_match[] = {
{
.compatible = "amd,versal2-mdb-host",
},
+ {
+ .compatible = "amd,versal2-cpm6-host",
+ },
{},
};

--
2.44.4