Skip to contentSkip to conversation

pci: fsl: Change compatible string for mpc8548 to "fsl, mpc8548-pcie"

PATCH New Pali Rohár 1 participant 1 message Apr 14, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci: fsl: Change compatible string for mpc8548 to "fsl, mpc8548-pcie"

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.

---
 arch/powerpc/dts/mpc8548-post.dtsi | 2 +-
 drivers/pci/pcie_fsl.c             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/dts/mpc8548-post.dtsi +1 -1
index 2206f2da9feb..97c3ce6e74d6 100644
@@ -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>;
drivers/pci/pcie_fsl.c +1 -1
index cc6efdd5b464..be156daf8d49 100644
@@ -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 },
Signature · 1 line
2.20.1