2 * Routines common to most mpc86xx-based boards.
4 * This is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #include <linux/of_platform.h>
10 #include <asm/synch.h>
14 static const struct of_device_id mpc86xx_common_ids
[] __initconst
= {
16 { .compatible
= "soc", },
17 { .compatible
= "simple-bus", },
18 { .name
= "localbus", },
19 { .compatible
= "gianfar", },
20 { .compatible
= "fsl,mpc8641-pcie", },
24 int __init
mpc86xx_common_publish_devices(void)
26 return of_platform_bus_probe(NULL
, mpc86xx_common_ids
, NULL
);
29 long __init
mpc86xx_time_init(void)
33 /* Set the time base to zero */
37 temp
= mfspr(SPRN_HID0
);
39 mtspr(SPRN_HID0
, temp
);