22 #include <linux/string.h>
24 #include <linux/device.h>
30 #include <linux/mii.h>
33 #include <asm/delay.h>
35 #include <asm/machdep.h>
37 #include <asm/processor.h>
87 for (i = 0; i <
n; i++) {
93 static void __init init_ioports(
void)
99 init_pins(
ARRAY_SIZE(tqm8xx_pins), &tqm8xx_pins[0]);
111 init_pins(
ARRAY_SIZE(tqm8xx_fec_pins), &tqm8xx_fec_pins[0]);
114 static void __init tqm8xx_setup_arch(
void)
120 static int __init tqm8xx_probe(
void)
122 unsigned long node = of_get_flat_dt_root();
124 return of_flat_dt_is_compatible(node,
"tqc,tqm8xx");
130 { .name =
"localbus", },
131 { .compatible =
"simple-bus" },
135 static int __init declare_of_platform_devices(
void)
137 of_platform_bus_probe(
NULL, of_bus_ids,
NULL);
145 .probe = tqm8xx_probe,
146 .setup_arch = tqm8xx_setup_arch,