15 #include <asm/machdep.h>
26 static struct cpm_pin ep88xc_pins[] = {
86 static void __init init_ioports(
void)
90 for (i = 0; i <
ARRAY_SIZE(ep88xc_pins); i++) {
104 #define BCSR7_SCC2_ENABLE 0x10
106 #define BCSR8_PHY1_ENABLE 0x80
107 #define BCSR8_PHY1_POWER 0x40
108 #define BCSR8_PHY2_ENABLE 0x20
109 #define BCSR8_PHY2_POWER 0x10
111 #define BCSR9_USB_ENABLE 0x80
112 #define BCSR9_USB_POWER 0x40
113 #define BCSR9_USB_HOST 0x20
114 #define BCSR9_USB_FULL_SPEED_TARGET 0x10
116 static void __init ep88xc_setup_arch(
void)
142 static int __init ep88xc_probe(
void)
144 unsigned long root = of_get_flat_dt_root();
145 return of_flat_dt_is_compatible(root,
"fsl,ep88xc");
151 { .name =
"localbus", },
155 static int __init declare_of_platform_devices(
void)
158 of_platform_bus_probe(
NULL, of_bus_ids,
NULL);
165 .name =
"Embedded Planet EP88xC",
166 .probe = ep88xc_probe,
167 .setup_arch = ep88xc_setup_arch,