diff options
Diffstat (limited to 'arch/powerpc/platforms/52xx/mpc52xx_common.c')
-rw-r--r-- | arch/powerpc/platforms/52xx/mpc52xx_common.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_common.c b/arch/powerpc/platforms/52xx/mpc52xx_common.c index 9850685c542..e626d103f52 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_common.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_common.c | |||
@@ -124,11 +124,21 @@ mpc5200_setup_xlb_arbiter(void) | |||
124 | iounmap(xlb); | 124 | iounmap(xlb); |
125 | } | 125 | } |
126 | 126 | ||
127 | static struct of_device_id mpc52xx_bus_ids[] __initdata= { | ||
128 | { .compatible = "fsl,mpc5200-immr", }, | ||
129 | { .compatible = "fsl,lpb", }, | ||
130 | |||
131 | /* depreciated matches; shouldn't be used in new device trees */ | ||
132 | { .type = "builtin", .compatible = "mpc5200", }, /* efika */ | ||
133 | { .type = "soc", .compatible = "mpc5200", }, /* lite5200 */ | ||
134 | {}, | ||
135 | }; | ||
136 | |||
127 | void __init | 137 | void __init |
128 | mpc52xx_declare_of_platform_devices(void) | 138 | mpc52xx_declare_of_platform_devices(void) |
129 | { | 139 | { |
130 | /* Find every child of the SOC node and add it to of_platform */ | 140 | /* Find every child of the SOC node and add it to of_platform */ |
131 | if (of_platform_bus_probe(NULL, NULL, NULL)) | 141 | if (of_platform_bus_probe(NULL, mpc52xx_bus_ids, NULL)) |
132 | printk(KERN_ERR __FILE__ ": " | 142 | printk(KERN_ERR __FILE__ ": " |
133 | "Error while probing of_platform bus\n"); | 143 | "Error while probing of_platform bus\n"); |
134 | } | 144 | } |