12 #include <linux/serial.h>
17 #include <asm/clock.h>
21 .mapbase = 0xffe00000,
33 .platform_data = &scif0_platform_data,
38 .mapbase = 0xffe10000,
50 .platform_data = &scif1_platform_data,
55 .mapbase = 0xffe20000,
67 .platform_data = &scif2_platform_data,
72 .mapbase = 0xffe30000,
84 .platform_data = &scif3_platform_data,
88 static struct resource iic0_resources[] = {
103 .name =
"i2c-sh_mobile",
106 .resource = iic0_resources,
109 static struct resource iic1_resources[] = {
124 .name =
"i2c-sh_mobile",
127 .resource = iic1_resources,
130 static struct uio_info vpu_platform_data = {
136 static struct resource vpu_resources[] = {
149 .name =
"uio_pdrv_genirq",
152 .platform_data = &vpu_platform_data,
154 .resource = vpu_resources,
158 static struct uio_info veu_platform_data = {
164 static struct resource veu_resources[] = {
177 .name =
"uio_pdrv_genirq",
180 .platform_data = &veu_platform_data,
182 .resource = veu_resources,
186 static struct uio_info jpu_platform_data = {
192 static struct resource jpu_resources[] = {
205 .name =
"uio_pdrv_genirq",
208 .platform_data = &jpu_platform_data,
210 .resource = jpu_resources,
215 .channel_offset = 0x60,
217 .clockevent_rating = 125,
218 .clocksource_rating = 200,
221 static struct resource cmt_resources[] = {
237 .platform_data = &cmt_platform_data,
239 .resource = cmt_resources,
244 .channel_offset = 0x04,
246 .clockevent_rating = 200,
249 static struct resource tmu0_resources[] = {
265 .platform_data = &tmu0_platform_data,
267 .resource = tmu0_resources,
272 .channel_offset = 0x10,
274 .clocksource_rating = 200,
277 static struct resource tmu1_resources[] = {
293 .platform_data = &tmu1_platform_data,
295 .resource = tmu1_resources,
300 .channel_offset = 0x1c,
304 static struct resource tmu2_resources[] = {
320 .platform_data = &tmu2_platform_data,
322 .resource = tmu2_resources,
342 static int __init sh7343_devices_setup(
void)
433 static struct intc_group groups[] __initdata = {
447 { 0xa4080084, 0xa40800c4, 8,
449 { 0xa4080088, 0xa40800c8, 8,
450 { 0, 0, 0,
VPU, 0, 0, 0,
MFI } },
451 { 0xa408008c, 0xa40800cc, 8,
453 { 0xa4080090, 0xa40800d0, 8,
455 { 0xa4080094, 0xa40800d4, 8,
457 { 0xa4080098, 0xa40800d8, 8,
459 { 0xa408009c, 0xa40800dc, 8,
462 { 0xa40800a0, 0xa40800e0, 8,
464 { 0xa40800a4, 0xa40800e4, 8,
466 { 0xa40800a8, 0xa40800e8, 8,
468 { 0xa40800ac, 0xa40800ec, 8,
470 { 0xa4140044, 0xa4140064, 8,
482 { 0xa4080024, 0, 16, 4, {
Z3D4, 0,
SIU } },
483 { 0xa4080028, 0, 16, 4, { 0,
MMC, 0,
SDHI } },
484 { 0xa408002c, 0, 16, 4, { 0, 0,
TPU } },
485 { 0xa4140010, 0, 32, 4,
504 prio_registers, sense_registers, ack_registers),