mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
[POWERPC] mpc5200: Add 'fsl,lpb' bus type for localplus bus
Define MPC52xx specific device id list, add new 'fsl,lpb' compatible id for LocalPlus Bus. Signed-off-by: Marian Balakowicz <m8@semihalf.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
52920df4aa
commit
a6f024bbbe
1 changed files with 11 additions and 1 deletions
|
@ -124,11 +124,21 @@ mpc5200_setup_xlb_arbiter(void)
|
||||||
iounmap(xlb);
|
iounmap(xlb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static struct of_device_id mpc52xx_bus_ids[] __initdata= {
|
||||||
|
{ .compatible = "fsl,mpc5200-immr", },
|
||||||
|
{ .compatible = "fsl,lpb", },
|
||||||
|
|
||||||
|
/* depreciated matches; shouldn't be used in new device trees */
|
||||||
|
{ .type = "builtin", .compatible = "mpc5200", }, /* efika */
|
||||||
|
{ .type = "soc", .compatible = "mpc5200", }, /* lite5200 */
|
||||||
|
{},
|
||||||
|
};
|
||||||
|
|
||||||
void __init
|
void __init
|
||||||
mpc52xx_declare_of_platform_devices(void)
|
mpc52xx_declare_of_platform_devices(void)
|
||||||
{
|
{
|
||||||
/* Find every child of the SOC node and add it to of_platform */
|
/* Find every child of the SOC node and add it to of_platform */
|
||||||
if (of_platform_bus_probe(NULL, NULL, NULL))
|
if (of_platform_bus_probe(NULL, mpc52xx_bus_ids, NULL))
|
||||||
printk(KERN_ERR __FILE__ ": "
|
printk(KERN_ERR __FILE__ ": "
|
||||||
"Error while probing of_platform bus\n");
|
"Error while probing of_platform bus\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue