Skip to contentSkip to conversation

powerpc/85xx: Add fsl,ifc to CoreNet device ids

PATCH New Pawel Dembicki 1 participant 1 message Sep 22

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

PATCH 1/1 powerpc/85xx: Add fsl,ifc to CoreNet device ids

Commit 0bf51cc9e9e5 ("powerpc: dts: mpc85xx: remove "simple-bus" compatible from ifc node") removed the incorrect compatible string from IFC nodes. Commit 25957f7c3dac ("powerpc/85xx: Add fsl,ifc to common device ids") subsequently added an explicit match to mpc85xx_common_ids, allowing of_platform_bus_probe() to create the IFC platform device.

CoreNet platforms use a separate of_device_ids table, which still lacks the corresponding match. As IFC is a direct child of the root node on these platforms, its platform device is not created and the controller and its flash children are never probed.

Add the missing match to the CoreNet device table.

Fixes 0bf51cc9e9e5 ("powerpc: dts: mpc85xx: remove "simple-bus" compatible from ifc node")
---
 arch/powerpc/platforms/85xx/corenet_generic.c | 3 +++
 1 file changed, 3 insertions(+)
arch/powerpc/platforms/85xx/corenet_generic.c +3 -0
index c44400e95f55..fe9e7ba5b77e 100644
@@ -70,6 +70,9 @@ static const struct of_device_id of_device_ids[] = {
 	{
 		.compatible	= "fsl,fpga-qixis"
 	},
+	{
+		.compatible	= "fsl,ifc",
+	},
 	{
 		.compatible	= "fsl,srio",
 	},
Signature · 1 line
2.43.0