[PATCH] powerpc/85xx: corenet: add fsl,ifc to device ids

DORMANTno replies

From: Alexander Wilhelm <hidden>
Date: 2026-10-21 06:20:23
Also in: lkml
Subsystem: linux for powerpc (32-bit and 64-bit), linux for powerpc embedded ppc85xx, the rest · Maintainers: Madhavan Srinivasan, Scott Wood, Linus Torvalds

Commit 0bf51cc9e9e5 ("powerpc: dts: mpc85xx: remove simple-bus compatible
from ifc node") removed "simple-bus" from the IFC nodes. Commit
25957f7c3dac ("powerpc/85xx: Add fsl,ifc to common device ids") restored
the probing only for boards using mpc85xx_common_ids.

CoreNet platforms (T1023, T1040/T1042, T2081, ...) use their own
of_device_ids table in corenet_generic.c. The IFC node is a direct child of
the root there, so without a matching entry no platform device is created
for it and its NOR/NAND children are never probed. As a result /proc/mtd
stays empty.

Add "fsl,ifc" to the CoreNet device ids so that of_platform_bus_probe
populates the IFC node and its children again.

Fixes: 0bf51cc9e9e5 ("powerpc: dts: mpc85xx: remove simple-bus compatible from ifc node")
Assisted-by: claude-opus-5.5
Signed-off-by: Alexander Wilhelm <redacted>
---
 arch/powerpc/platforms/85xx/corenet_generic.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c b/arch/powerpc/platforms/85xx/corenet_generic.c
index c44400e95f55..881fd25cad10 100644
--- a/arch/powerpc/platforms/85xx/corenet_generic.c
+++ b/arch/powerpc/platforms/85xx/corenet_generic.c
@@ -91,6 +91,9 @@ static const struct of_device_id of_device_ids[] = {
 	{
 		.compatible	= "fsl,qe",
 	},
+	{
+		.compatible	= "fsl,ifc",
+	},
 	/* The following two are for the Freescale hypervisor */
 	{
 		.name		= "hypervisor",
---
base-commit: 2c455ddca7827ad8fa3a64fdbf5a60efb928b46a
change-id: 20261021-powerpc-corenet-fsl-ifc-215c32e2bee2

Best regards,
-- 
Alexander Wilhelm [off-list ref]

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help