16 #include <linux/serial.h>
22 #include <asm/clock.h>
28 .mapbase = 0xFFE40000,
41 .platform_data = &scif0_platform_data,
46 .mapbase = 0xFFE41000,
59 .platform_data = &scif1_platform_data,
64 .mapbase = 0xFFE42000,
77 .platform_data = &scif2_platform_data,
82 .mapbase = 0xFFE43000,
95 .platform_data = &scif3_platform_data,
100 .mapbase = 0xFFE44000,
113 .platform_data = &scif4_platform_data,
118 .mapbase = 0xFFE43000,
131 .platform_data = &scif5_platform_data,
136 static struct resource rtc_resources[] = {
140 .end = 0xFFFC5000 + 0x26 - 1,
153 .resource = rtc_resources,
157 static struct resource i2c0_resources[] = {
161 .end = 0xFFC7000A - 1,
171 .name =
"i2c-sh7734",
174 .resource = i2c0_resources,
179 .channel_offset = 0x04,
181 .clockevent_rating = 200,
184 static struct resource tmu0_resources[] = {
187 .end = 0xFFD80014 - 1,
200 .platform_data = &tmu0_platform_data,
202 .resource = tmu0_resources,
207 .channel_offset = 0x10,
209 .clocksource_rating = 200,
212 static struct resource tmu1_resources[] = {
215 .end = 0xFFD80020 - 1,
228 .platform_data = &tmu1_platform_data,
230 .resource = tmu1_resources,
235 .channel_offset = 0x1c,
239 static struct resource tmu2_resources[] = {
242 .end = 0xFFD80030 - 1,
255 .platform_data = &tmu2_platform_data,
257 .resource = tmu2_resources,
263 .channel_offset = 0x04,
267 static struct resource tmu3_resources[] = {
270 .end = 0xFFD81014 - 1,
283 .platform_data = &tmu3_platform_data,
285 .resource = tmu3_resources,
290 .channel_offset = 0x10,
294 static struct resource tmu4_resources[] = {
297 .end = 0xFFD81020 - 1,
310 .platform_data = &tmu4_platform_data,
312 .resource = tmu4_resources,
317 .channel_offset = 0x1c,
321 static struct resource tmu5_resources[] = {
324 .end = 0xFFD81030 - 1,
337 .platform_data = &tmu5_platform_data,
339 .resource = tmu5_resources,
344 .channel_offset = 0x4,
348 static struct resource tmu6_resources[] = {
351 .end = 0xFFD82014 - 1,
364 .platform_data = &tmu6_platform_data,
366 .resource = tmu6_resources,
371 .channel_offset = 0x10,
375 static struct resource tmu7_resources[] = {
378 .end = 0xFFD82020 - 1,
391 .platform_data = &tmu7_platform_data,
393 .resource = tmu7_resources,
398 .channel_offset = 0x1c,
402 static struct resource tmu8_resources[] = {
405 .end = 0xFFD82030 - 1,
418 .platform_data = &tmu8_platform_data,
420 .resource = tmu8_resources,
614 static struct intc_group groups[] __initdata = {
643 { 0xFF804040, 0xFF804044, 32,
679 { 0xFF804000, 0, 32, 8,
681 { 0xFF804004, 0, 32, 8,
683 { 0xFF804008, 0, 32, 8,
685 { 0xFF80400C, 0, 32, 8,
687 { 0xFF804010, 0, 32, 8,
689 { 0xFF804014, 0, 32, 8,
691 { 0xFF804018, 0, 32, 8,
693 { 0xFF80401C, 0, 32, 8,
695 { 0xFF804020, 0, 32, 8,
697 { 0xFF804024, 0, 32, 8,
699 { 0xFF804028, 0, 32, 8,
701 { 0xFF80402C, 0, 32, 8,
706 mask_registers, prio_registers,
NULL);
710 static struct intc_vect irq3210_vectors[] __initdata = {
715 static struct intc_sense_reg irq3210_sense_registers[] __initdata = {
720 static struct intc_mask_reg irq3210_ack_registers[] __initdata = {
725 static struct intc_mask_reg irq3210_mask_registers[] __initdata = {
726 { 0xFF802044, 0xFF802064, 32,
730 static struct intc_prio_reg irq3210_prio_registers[] __initdata = {
731 { 0xFF802010, 0, 32, 4,
736 irq3210_vectors,
NULL,
737 irq3210_mask_registers, irq3210_prio_registers,
738 irq3210_sense_registers, irq3210_ack_registers);
742 static struct intc_vect vectors_irl3210[] __initdata = {
756 #define INTC_ICR0 0xFF802000
757 #define INTC_INTMSK0 0xFF802044
758 #define INTC_INTMSK1 0xFF802048
759 #define INTC_INTMSKCLR0 0xFF802064
760 #define INTC_INTMSKCLR1 0xFF802068