pci: layerscape: add support for kernel/official fsl, ls1088a-pcie binding
authorMathew McBride <matt@traverse.com.au>
Wed, 12 Apr 2023 07:38:17 +0000 (07:38 +0000)
committerPeng Fan <peng.fan@nxp.com>
Fri, 5 May 2023 01:46:03 +0000 (09:46 +0800)
This allows the Layerscape PCIe RC driver to use the upstream
style binding (two "reg" entries instead of four).

It is similar to the previous commit e10da1f985ad
("pci: layerscape: add official ls1028a binding support")
which implemented this for the LS1028A.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com> # on LS1088A-RDB
drivers/pci/pcie_layerscape_rc.c

index 17969e2..6a5bf88 100644 (file)
@@ -403,6 +403,7 @@ static const struct ls_pcie_drvdata ls1028a_drvdata = {
 static const struct udevice_id ls_pcie_ids[] = {
        { .compatible = "fsl,ls-pcie" },
        { .compatible = "fsl,ls1028a-pcie", .data = (ulong)&ls1028a_drvdata },
+       { .compatible = "fsl,ls1088a-pcie", .data = (ulong)&ls1028a_drvdata },
        { }
 };