12 #include <linux/serial.h>
19 #include <asm/mmzone.h>
31 .mapbase = 0xffc30000,
46 .platform_data = &scif0_platform_data,
51 .mapbase = 0xffc40000,
66 .platform_data = &scif1_platform_data,
71 .mapbase = 0xffc60000,
86 .platform_data = &scif2_platform_data,
91 .channel_offset = 0x04,
93 .clockevent_rating = 200,
96 static struct resource tmu0_resources[] = {
112 .platform_data = &tmu0_platform_data,
114 .resource = tmu0_resources,
119 .channel_offset = 0x10,
121 .clocksource_rating = 200,
124 static struct resource tmu1_resources[] = {
140 .platform_data = &tmu1_platform_data,
142 .resource = tmu1_resources,
147 .channel_offset = 0x1c,
151 static struct resource tmu2_resources[] = {
167 .platform_data = &tmu2_platform_data,
169 .resource = tmu2_resources,
174 .channel_offset = 0x04,
178 static struct resource tmu3_resources[] = {
194 .platform_data = &tmu3_platform_data,
196 .resource = tmu3_resources,
201 .channel_offset = 0x10,
205 static struct resource tmu4_resources[] = {
221 .platform_data = &tmu4_platform_data,
223 .resource = tmu4_resources,
228 .channel_offset = 0x1c,
232 static struct resource tmu5_resources[] = {
248 .platform_data = &tmu5_platform_data,
250 .resource = tmu5_resources,
266 static int __init shx3_devices_setup(
void)
360 static struct intc_group groups[] __initdata = {
375 #define INT2DISTCR0 0xfe4108a0
376 #define INT2DISTCR1 0xfe4108a4
377 #define INT2DISTCR2 0xfe4108a8
380 { 0xfe410030, 0xfe410050, 32,
382 { 0xfe410040, 0xfe410060, 32,
384 { 0xfe410820, 0xfe410850, 32,
387 0, 0, 0, 0, 0, 0, 0, 0,
390 { 0xfe410830, 0xfe410860, 32,
398 { 0xfe410840, 0xfe410870, 32,
399 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
421 { 0xfe410810, 0, 32, 4, { 0, 0,
PAM,
GPIO3,
423 { 0xfe410090, 0xfe4100a0, 32, 4,
429 mask_registers, prio_registers,
NULL);
432 static struct intc_vect vectors_irq[] __initdata = {
442 mask_registers, prio_registers, sense_registers);
445 static struct intc_vect vectors_irl[] __initdata = {
457 mask_registers, prio_registers,
NULL);
471 pr_err(
"Failed to set IRQ mode\n");
484 pr_err(
"Failed to set IRL mode\n");
502 unsigned int nid = 1;