Re: [PATCH] 85xx: Add several root nodes to probe

From: Christophe Leroy
Date: Fri Oct 10 2025 - 10:50:43 EST




Le 22/04/2025 à 04:40, Ben Collins a écrit :
T4240 fails to hafve ifc, rapidio, and localbus probed.

This matches other QorIQ platforms and ensures devices under these nodes
get added as platform devices.

What do you mean by "this matches other platforms" ? I can't grep any other platform file with "fsl,ifc" or "rapidio"

Christophe


Signed-off-by: Ben Collins <bcollins@xxxxxxxxxx>
Cc: Scott Wood <oss@xxxxxxxxxxxx>
Cc: Madhavan Srinivasan <maddy@xxxxxxxxxxxxx>
Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
Cc: linuxppc-dev@xxxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
arch/powerpc/platforms/85xx/corenet_generic.c | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c b/arch/powerpc/platforms/85xx/corenet_generic.c
index c44400e95f551..c81b8a47f3b0f 100644
--- a/arch/powerpc/platforms/85xx/corenet_generic.c
+++ b/arch/powerpc/platforms/85xx/corenet_generic.c
@@ -61,6 +61,9 @@ static const struct of_device_id of_device_ids[] = {
{
.compatible = "simple-bus"
},
+ {
+ .compatible = "fsl,ifc"
+ },
{
.compatible = "mdio-mux-gpio"
},
@@ -91,6 +94,12 @@ static const struct of_device_id of_device_ids[] = {
{
.compatible = "fsl,qe",
},
+ {
+ .name = "localbus",
+ },
+ {
+ .name = "rapidio",
+ },
/* The following two are for the Freescale hypervisor */
{
.name = "hypervisor",