19 #include <linux/serial.h>
23 #include <cpu/serial.h>
47 #if defined(CONFIG_CPU_SUBTYPE_SH7706) || \
48 defined(CONFIG_CPU_SUBTYPE_SH7707) || \
49 defined(CONFIG_CPU_SUBTYPE_SH7709)
57 #if defined(CONFIG_CPU_SUBTYPE_SH7707) || \
58 defined(CONFIG_CPU_SUBTYPE_SH7709)
63 #if defined(CONFIG_CPU_SUBTYPE_SH7707)
71 { 0xfffffee4, 0, 16, 4, {
WDT,
REF,
SCI, 0 } },
72 #if defined(CONFIG_CPU_SUBTYPE_SH7706) || \
73 defined(CONFIG_CPU_SUBTYPE_SH7707) || \
74 defined(CONFIG_CPU_SUBTYPE_SH7709)
76 { 0xa4000018, 0, 16, 4, { 0, 0,
IRQ5,
IRQ4 } },
79 #if defined(CONFIG_CPU_SUBTYPE_SH7707) || \
80 defined(CONFIG_CPU_SUBTYPE_SH7709)
82 { 0xa400001a, 0, 16, 4, { 0,
SCIF0 } },
84 #if defined(CONFIG_CPU_SUBTYPE_SH7707)
92 static struct resource rtc_resources[] = {
95 .end = 0xfffffec0 + 0x1e,
108 .resource = rtc_resources,
112 .mapbase = 0xfffffe80,
113 .port_reg = 0xa4000136,
127 .platform_data = &scif0_platform_data,
130 #if defined(CONFIG_CPU_SUBTYPE_SH7706) || \
131 defined(CONFIG_CPU_SUBTYPE_SH7707) || \
132 defined(CONFIG_CPU_SUBTYPE_SH7709)
148 .platform_data = &scif1_platform_data,
152 #if defined(CONFIG_CPU_SUBTYPE_SH7707) || \
153 defined(CONFIG_CPU_SUBTYPE_SH7709)
170 .platform_data = &scif2_platform_data,
176 .channel_offset = 0x02,
178 .clockevent_rating = 200,
181 static struct resource tmu0_resources[] = {
197 .platform_data = &tmu0_platform_data,
199 .resource = tmu0_resources,
204 .channel_offset = 0xe,
206 .clocksource_rating = 200,
209 static struct resource tmu1_resources[] = {
225 .platform_data = &tmu1_platform_data,
227 .resource = tmu1_resources,
232 .channel_offset = 0x1a,
236 static struct resource tmu2_resources[] = {
252 .platform_data = &tmu2_platform_data,
254 .resource = tmu2_resources,
260 #if defined(CONFIG_CPU_SUBTYPE_SH7706) || \
261 defined(CONFIG_CPU_SUBTYPE_SH7707) || \
262 defined(CONFIG_CPU_SUBTYPE_SH7709)
265 #if defined(CONFIG_CPU_SUBTYPE_SH7707) || \
266 defined(CONFIG_CPU_SUBTYPE_SH7709)
275 static int __init sh770x_devices_setup(
void)
284 #if defined(CONFIG_CPU_SUBTYPE_SH7706) || \
285 defined(CONFIG_CPU_SUBTYPE_SH7707) || \
286 defined(CONFIG_CPU_SUBTYPE_SH7709)
289 #if defined(CONFIG_CPU_SUBTYPE_SH7707) || \
290 defined(CONFIG_CPU_SUBTYPE_SH7709)
307 #if defined(CONFIG_CPU_SUBTYPE_SH7706) || \
308 defined(CONFIG_CPU_SUBTYPE_SH7707) || \
309 defined(CONFIG_CPU_SUBTYPE_SH7709)