21 #include <asm/machdep.h>
35 static struct cpm_pin mpc866ads_pins[] = {
73 static void __init init_ioports(
void)
77 for (i = 0; i <
ARRAY_SIZE(mpc866ads_pins); i++) {
88 clrbits32(&
mpc8xx_immr->im_cpm.cp_cptr, 0x00000180);
91 static void __init mpc86xads_setup_arch(
void)
108 if (bcsr_io ==
NULL) {
113 clrbits32(bcsr_io, BCSR1_RS232EN_1 | BCSR1_RS232EN_2 | BCSR1_ETHEN);
117 static int __init mpc86xads_probe(
void)
119 unsigned long root = of_get_flat_dt_root();
120 return of_flat_dt_is_compatible(root,
"fsl,mpc866ads");
126 { .name =
"localbus", },
130 static int __init declare_of_platform_devices(
void)
132 of_platform_bus_probe(
NULL, of_bus_ids,
NULL);
139 .name =
"MPC86x ADS",
140 .probe = mpc86xads_probe,
141 .setup_arch = mpc86xads_setup_arch,