12 #include <linux/serial.h>
19 .mapbase = 0xff923000,
31 .platform_data = &scif0_platform_data,
36 .mapbase = 0xff924000,
48 .platform_data = &scif1_platform_data,
53 .mapbase = 0xff925000,
65 .platform_data = &scif2_platform_data,
70 .mapbase = 0xff926000,
82 .platform_data = &scif3_platform_data,
87 .mapbase = 0xff927000,
99 .platform_data = &scif4_platform_data,
104 .mapbase = 0xff928000,
116 .platform_data = &scif5_platform_data,
121 .mapbase = 0xff929000,
133 .platform_data = &scif6_platform_data,
138 .mapbase = 0xff92a000,
150 .platform_data = &scif7_platform_data,
155 .mapbase = 0xff92b000,
167 .platform_data = &scif8_platform_data,
172 .mapbase = 0xff92c000,
184 .platform_data = &scif9_platform_data,
189 .channel_offset = 0x04,
191 .clockevent_rating = 200,
194 static struct resource tmu0_resources[] = {
210 .platform_data = &tmu0_platform_data,
212 .resource = tmu0_resources,
217 .channel_offset = 0x10,
219 .clocksource_rating = 200,
222 static struct resource tmu1_resources[] = {
238 .platform_data = &tmu1_platform_data,
240 .resource = tmu1_resources,
245 .channel_offset = 0x1c,
249 static struct resource tmu2_resources[] = {
265 .platform_data = &tmu2_platform_data,
267 .resource = tmu2_resources,
272 .channel_offset = 0x04,
276 static struct resource tmu3_resources[] = {
292 .platform_data = &tmu3_platform_data,
294 .resource = tmu3_resources,
299 .channel_offset = 0x10,
303 static struct resource tmu4_resources[] = {
319 .platform_data = &tmu4_platform_data,
321 .resource = tmu4_resources,
326 .channel_offset = 0x1c,
330 static struct resource tmu5_resources[] = {
346 .platform_data = &tmu5_platform_data,
348 .resource = tmu5_resources,
353 .channel_offset = 0x04,
357 static struct resource tmu6_resources[] = {
373 .platform_data = &tmu6_platform_data,
375 .resource = tmu6_resources,
380 .channel_offset = 0x10,
384 static struct resource tmu7_resources[] = {
400 .platform_data = &tmu7_platform_data,
402 .resource = tmu7_resources,
407 .channel_offset = 0x1c,
411 static struct resource tmu8_resources[] = {
427 .platform_data = &tmu8_platform_data,
429 .resource = tmu8_resources,
455 static int __init sh7770_devices_setup(
void)
572 static struct intc_group groups[] __initdata = {
588 { 0xffe00040, 0xffe00044, 32,
590 GPS,
CAN,
ATAPI,
USB,
YUV,
REMOTE,
VIDEO_IN,
DU,
SRC,
I2S,
603 { 0xffe00020, 0, 32, 8,
605 { 0xffe00024, 0, 32, 8,
607 { 0xffe00028, 0, 32, 8,
609 { 0xffe0002c, 0, 32, 8,
611 { 0xffe00030, 0, 32, 8,
613 { 0xffe00034, 0, 32, 8,
618 mask_registers, prio_registers,
NULL);
621 static struct intc_vect irq_vectors[] __initdata = {
627 static struct intc_mask_reg irq_mask_registers[] __initdata = {
628 { 0xffd00044, 0xffd00064, 32,
632 static struct intc_prio_reg irq_prio_registers[] __initdata = {
643 NULL, irq_mask_registers, irq_prio_registers,
644 irq_sense_registers);
647 static struct intc_vect irl_vectors[] __initdata = {
658 static struct intc_mask_reg irl3210_mask_registers[] __initdata = {
659 { 0xffd40080, 0xffd40084, 32,
666 static struct intc_mask_reg irl7654_mask_registers[] __initdata = {
667 { 0xffd40080, 0xffd40084, 32,
668 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
681 #define INTC_ICR0 0xffd00000
682 #define INTC_INTMSK0 0xffd00044
683 #define INTC_INTMSK1 0xffd00048
684 #define INTC_INTMSK2 0xffd40080
685 #define INTC_INTMSKCLR1 0xffd00068
686 #define INTC_INTMSKCLR2 0xffd40084