14 #include <linux/serial.h>
20 #include <asm/clock.h>
23 .mapbase = 0xffe00000,
24 .port_reg = 0xa405013e,
36 .platform_data = &scif0_platform_data,
40 static struct resource iic_resources[] = {
55 .name =
"i2c-sh_mobile",
58 .resource = iic_resources,
65 static struct resource usb_host_resources[] = {
79 .name =
"r8a66597_hcd",
83 .coherent_dma_mask = 0xffffffff,
84 .platform_data = &r8a66597_data,
86 .num_resources =
ARRAY_SIZE(usb_host_resources),
87 .resource = usb_host_resources,
90 static struct uio_info vpu_platform_data = {
96 static struct resource vpu_resources[] = {
109 .name =
"uio_pdrv_genirq",
112 .platform_data = &vpu_platform_data,
114 .resource = vpu_resources,
118 static struct uio_info veu0_platform_data = {
124 static struct resource veu0_resources[] = {
137 .name =
"uio_pdrv_genirq",
140 .platform_data = &veu0_platform_data,
142 .resource = veu0_resources,
146 static struct uio_info veu1_platform_data = {
152 static struct resource veu1_resources[] = {
165 .name =
"uio_pdrv_genirq",
168 .platform_data = &veu1_platform_data,
170 .resource = veu1_resources,
175 .channel_offset = 0x60,
177 .clockevent_rating = 125,
178 .clocksource_rating = 200,
181 static struct resource cmt_resources[] = {
197 .platform_data = &cmt_platform_data,
199 .resource = cmt_resources,
204 .channel_offset = 0x04,
206 .clockevent_rating = 200,
209 static struct resource tmu0_resources[] = {
225 .platform_data = &tmu0_platform_data,
227 .resource = tmu0_resources,
232 .channel_offset = 0x10,
234 .clocksource_rating = 200,
237 static struct resource tmu1_resources[] = {
253 .platform_data = &tmu1_platform_data,
255 .resource = tmu1_resources,
260 .channel_offset = 0x1c,
264 static struct resource tmu2_resources[] = {
280 .platform_data = &tmu2_platform_data,
282 .resource = tmu2_resources,
299 static int __init sh7366_devices_setup(
void)
381 static struct intc_group groups[] __initdata = {
392 { 0xa4080080, 0xa40800c0, 8,
394 { 0xa4080084, 0xa40800c4, 8,
396 { 0xa4080088, 0xa40800c8, 8,
397 { 0, 0, 0,
VPU, 0, 0, 0,
MFI } },
398 { 0xa408008c, 0xa40800cc, 8,
400 { 0xa4080090, 0xa40800d0, 8,
402 { 0xa4080094, 0xa40800d4, 8,
404 { 0xa4080098, 0xa40800d8, 8,
405 { 0, 0, 0, 0, 0, 0, 0,
MSIOF } },
406 { 0xa408009c, 0xa40800dc, 8,
409 { 0xa40800a0, 0xa40800e0, 8,
411 { 0xa40800a4, 0xa40800e4, 8,
412 { 0, 0, 0,
CMT, 0,
USB, } },
413 { 0xa40800a8, 0xa40800e8, 8,
415 { 0xa40800ac, 0xa40800ec, 8,
416 { 0, 0, 0, 0, 0, 0, 0,
TSIF } },
417 { 0xa4140044, 0xa4140064, 8,
424 { 0xa4080008, 0, 16, 4, { } },
425 { 0xa408000c, 0, 16, 4, { } },
430 { 0xa4080020, 0, 16, 4, { 0, 0,
TSIF, } },
431 { 0xa4080024, 0, 16, 4, { 0, 0,
SIU } },
432 { 0xa4080028, 0, 16, 4, { 0,
MMC, 0,
SDHI } },
433 { 0xa408002c, 0, 16, 4, { } },
434 { 0xa4140010, 0, 32, 4,
453 prio_registers, sense_registers, ack_registers),