]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pci: fsl: Change compatible string for mpc8548 to "fsl, mpc8548-pcie"
authorPali Rohár <pali@kernel.org>
Thu, 14 Apr 2022 20:52:03 +0000 (22:52 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
Upstream Linux kernel uses for mpc8548-based PCIe controllers compatible
string "fsl,mpc8548-pcie". So change U-Boot fsl PCIe driver and all DTS
files to use "fsl,mpc8548-pcie" instead of "fsl,pcie-mpc8548" to be
compatible with Linux kernel.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/dts/mpc8548-post.dtsi
drivers/pci/pcie_fsl.c

index 2206f2da9feb8ed94cab5e469c6c9bcf1d51283d..97c3ce6e74d625664ce9d5b34c15534a0153c210 100644 (file)
@@ -27,7 +27,7 @@
 };
 
 &pcie {
-       compatible = "fsl,pcie-mpc8548", "fsl,pcie-fsl-qoriq";
+       compatible = "fsl,mpc8548-pcie", "fsl,pcie-fsl-qoriq";
        law_trgt_if = <2>;
        #address-cells = <3>;
        #size-cells = <2>;
index f5ba34970f15dfb6db52db9b4ca6c9e520e62ed4..59c38f9057712f7f822795a96bb5337b9db96e0a 100644 (file)
@@ -646,7 +646,7 @@ static struct fsl_pcie_data t2080_data = {
 };
 
 static const struct udevice_id fsl_pcie_ids[] = {
-       { .compatible = "fsl,pcie-mpc8548", .data = (ulong)&p1_p2_data },
+       { .compatible = "fsl,mpc8548-pcie", .data = (ulong)&p1_p2_data },
        { .compatible = "fsl,pcie-p1_p2", .data = (ulong)&p1_p2_data },
        { .compatible = "fsl,pcie-p2041", .data = (ulong)&p2041_data },
        { .compatible = "fsl,pcie-p3041", .data = (ulong)&p2041_data },