]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc/fsl_pci: add versionless pci compatible
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Wed, 25 Dec 2013 10:06:56 +0000 (18:06 +0800)
committerScott Wood <scottwood@freescale.com>
Fri, 10 Jan 2014 23:38:56 +0000 (17:38 -0600)
There are much pci compatible with version on existing platforms.
To stop putting version numbers in device tree later, we add a
generic compatible 'fsl,qoriq-pcie'.
The version number is readable directly from a register.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/sysdev/fsl_pci.c

index e8be4344742b23983836e2a65264f2cbc5712da8..a625dcf26b2b7c53374883980d9f45e1881098ff 100644 (file)
@@ -1035,6 +1035,7 @@ static const struct of_device_id pci_ids[] = {
        { .compatible = "fsl,mpc8548-pcie", },
        { .compatible = "fsl,mpc8610-pci", },
        { .compatible = "fsl,mpc8641-pcie", },
+       { .compatible = "fsl,qoriq-pcie", },
        { .compatible = "fsl,qoriq-pcie-v2.1", },
        { .compatible = "fsl,qoriq-pcie-v2.2", },
        { .compatible = "fsl,qoriq-pcie-v2.3", },