12 #include <linux/serial.h>
20 #include <asm/clock.h>
21 #include <asm/mmzone.h>
26 .mapbase = 0xffe00000,
27 .port_reg = 0xa4050160,
40 .platform_data = &scif0_platform_data,
45 .mapbase = 0xffe10000,
59 .platform_data = &scif1_platform_data,
64 .mapbase = 0xffe20000,
78 .platform_data = &scif2_platform_data,
83 .mapbase = 0xa4e30000,
96 .platform_data = &scif3_platform_data,
101 .mapbase = 0xa4e40000,
114 .platform_data = &scif4_platform_data,
119 .mapbase = 0xa4e50000,
132 .platform_data = &scif5_platform_data,
136 static struct uio_info vpu_platform_data = {
142 static struct resource vpu_resources[] = {
155 .name =
"uio_pdrv_genirq",
158 .platform_data = &vpu_platform_data,
160 .resource = vpu_resources,
164 static struct uio_info veu0_platform_data = {
170 static struct resource veu0_resources[] = {
183 .name =
"uio_pdrv_genirq",
186 .platform_data = &veu0_platform_data,
188 .resource = veu0_resources,
192 static struct uio_info veu1_platform_data = {
198 static struct resource veu1_resources[] = {
211 .name =
"uio_pdrv_genirq",
214 .platform_data = &veu1_platform_data,
216 .resource = veu1_resources,
221 .channel_offset = 0x60,
223 .clockevent_rating = 125,
224 .clocksource_rating = 125,
227 static struct resource cmt_resources[] = {
243 .platform_data = &cmt_platform_data,
245 .resource = cmt_resources,
250 .channel_offset = 0x04,
252 .clockevent_rating = 200,
255 static struct resource tmu0_resources[] = {
271 .platform_data = &tmu0_platform_data,
273 .resource = tmu0_resources,
278 .channel_offset = 0x10,
280 .clocksource_rating = 200,
283 static struct resource tmu1_resources[] = {
299 .platform_data = &tmu1_platform_data,
301 .resource = tmu1_resources,
306 .channel_offset = 0x1c,
310 static struct resource tmu2_resources[] = {
326 .platform_data = &tmu2_platform_data,
328 .resource = tmu2_resources,
333 .channel_offset = 0x04,
337 static struct resource tmu3_resources[] = {
353 .platform_data = &tmu3_platform_data,
355 .resource = tmu3_resources,
360 .channel_offset = 0x10,
364 static struct resource tmu4_resources[] = {
380 .platform_data = &tmu4_platform_data,
382 .resource = tmu4_resources,
387 .channel_offset = 0x1c,
391 static struct resource tmu5_resources[] = {
407 .platform_data = &tmu5_platform_data,
409 .resource = tmu5_resources,
413 static struct resource rtc_resources[] = {
416 .end = 0xa465fec0 + 0x58 - 1,
440 .resource = rtc_resources,
447 static struct resource sh7723_usb_host_resources[] = {
461 .name =
"r8a66597_hcd",
465 .coherent_dma_mask = 0xffffffff,
466 .platform_data = &r8a66597_data,
468 .num_resources =
ARRAY_SIZE(sh7723_usb_host_resources),
469 .resource = sh7723_usb_host_resources,
472 static struct resource iic_resources[] = {
487 .name =
"i2c-sh_mobile",
490 .resource = iic_resources,
509 &sh7723_usb_host_device,
515 static int __init sh7723_devices_setup(
void)
548 #define RAMCR_CACHE_L2FC 0x0002
549 #define RAMCR_CACHE_L2E 0x0001
550 #define L2_CACHE_ENABLE (RAMCR_CACHE_L2E|RAMCR_CACHE_L2FC)
690 static struct intc_group groups[] __initdata = {
703 { 0xa4080080, 0xa40800c0, 8,
706 { 0xa4080084, 0xa40800c4, 8,
708 { 0xa4080088, 0xa40800c8, 8,
710 { 0xa408008c, 0xa40800cc, 8,
712 { 0xa4080090, 0xa40800d0, 8,
714 { 0xa4080094, 0xa40800d4, 8,
716 { 0xa4080098, 0xa40800d8, 8,
718 { 0xa408009c, 0xa40800dc, 8,
721 { 0xa40800a0, 0xa40800e0, 8,
724 { 0xa40800a4, 0xa40800e4, 8,
726 { 0xa40800a8, 0xa40800e8, 8,
728 { 0xa40800ac, 0xa40800ec, 8,
730 { 0xa40800b0, 0xa40800f0, 8,
732 { 0xa4140044, 0xa4140064, 8,
740 { 0xa408000c, 0, 16, 4, { } },
749 { 0xa4140010, 0, 32, 4,
768 prio_registers, sense_registers, ack_registers),