PCI: layerscape: Add support for ls1012a
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Tue, 19 Sep 2017 09:26:56 +0000 (17:26 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 12 Oct 2017 16:25:11 +0000 (11:25 -0500)
Add support for ls1012a.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Minghuan Lian <minghuan.Lian@nxp.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/devicetree/bindings/pci/layerscape-pci.txt
drivers/pci/dwc/pci-layerscape.c

index c0484da0f20d9d87f3be44f9bfd844362820bb59..66df1e81e0b8d218ad39396e41be2c2d2e504f5c 100644 (file)
@@ -18,6 +18,7 @@ Required properties:
         "fsl,ls2088a-pcie"
         "fsl,ls1088a-pcie"
         "fsl,ls1046a-pcie"
+        "fsl,ls1012a-pcie"
 - reg: base addresses and lengths of the PCIe controller register blocks.
 - interrupts: A list of interrupt outputs of the controller. Must contain an
   entry for each entry in the interrupt-names property.
index 87fa486bee2cd4f56322115db2efcc1f4bb49e69..3b01e309a55e99617c305e300641c49947a1a8c0 100644 (file)
@@ -253,6 +253,7 @@ static struct ls_pcie_drvdata ls2088_drvdata = {
 };
 
 static const struct of_device_id ls_pcie_of_match[] = {
+       { .compatible = "fsl,ls1012a-pcie", .data = &ls1046_drvdata },
        { .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata },
        { .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata },
        { .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },