20 #include <linux/kernel.h>
28 #include <linux/input.h>
33 #include <mach/hardware.h>
34 #include <mach/common.h>
36 #include <mach/irqs.h>
46 .virtual = 0xe6000000,
49 .type = MT_DEVICE_NONSHARED
60 .mapbase = 0xe6c40000,
73 .platform_data = &scif0_platform_data,
79 .mapbase = 0xe6c50000,
92 .platform_data = &scif1_platform_data,
98 .mapbase = 0xe6c60000,
111 .platform_data = &scif2_platform_data,
117 .mapbase = 0xe6c70000,
130 .platform_data = &scif3_platform_data,
136 .mapbase = 0xe6c80000,
149 .platform_data = &scif4_platform_data,
155 .mapbase = 0xe6cb0000,
168 .platform_data = &scif5_platform_data,
174 .mapbase = 0xe6cc0000,
187 .platform_data = &scif6_platform_data,
193 .mapbase = 0xe6c30000,
206 .platform_data = &scif7_platform_data,
212 .channel_offset = 0x10,
214 .clockevent_rating = 125,
215 .clocksource_rating = 125,
218 static struct resource cmt10_resources[] = {
235 .platform_data = &cmt10_platform_data,
237 .resource = cmt10_resources,
242 static struct uio_info vpu_platform_data = {
248 static struct resource vpu_resources[] = {
258 .name =
"uio_pdrv_genirq",
261 .platform_data = &vpu_platform_data,
263 .resource = vpu_resources,
268 static struct uio_info veu0_platform_data = {
274 static struct resource veu0_resources[] = {
284 .name =
"uio_pdrv_genirq",
287 .platform_data = &veu0_platform_data,
289 .resource = veu0_resources,
294 static struct uio_info veu1_platform_data = {
300 static struct resource veu1_resources[] = {
310 .name =
"uio_pdrv_genirq",
313 .platform_data = &veu1_platform_data,
315 .resource = veu1_resources,
320 static struct uio_info veu2_platform_data = {
326 static struct resource veu2_resources[] = {
336 .name =
"uio_pdrv_genirq",
339 .platform_data = &veu2_platform_data,
341 .resource = veu2_resources,
346 static struct uio_info veu3_platform_data = {
352 static struct resource veu3_resources[] = {
362 .name =
"uio_pdrv_genirq",
365 .platform_data = &veu3_platform_data,
367 .resource = veu3_resources,
372 static struct uio_info jpu_platform_data = {
378 static struct resource jpu_resources[] = {
388 .name =
"uio_pdrv_genirq",
391 .platform_data = &jpu_platform_data,
393 .resource = jpu_resources,
398 static struct uio_info spu0_platform_data = {
404 static struct resource spu0_resources[] = {
414 .name =
"uio_pdrv_genirq",
417 .platform_data = &spu0_platform_data,
419 .resource = spu0_resources,
424 static struct uio_info spu1_platform_data = {
430 static struct resource spu1_resources[] = {
440 .name =
"uio_pdrv_genirq",
443 .platform_data = &spu1_platform_data,
445 .resource = spu1_resources,
481 static void __init sh7377_earlytimer_init(
void)
487 #define SMSTPCR3 IOMEM(0xe615013c)
488 #define SMSTPCR3_CMT1 (1 << 29)
507 void __init sh7377_add_early_devices_dt(
void)
518 static const struct of_dev_auxdata sh7377_auxdata_lookup[]
__initconst = {
522 void __init sh7377_add_standard_devices_dt(
void)
531 sh7377_auxdata_lookup,
NULL);
534 static const char *sh7377_boards_compat_dt[] __initdata = {
541 .init_early = sh7377_add_early_devices_dt,
544 .init_machine = sh7377_add_standard_devices_dt,
546 .dt_compat = sh7377_boards_compat_dt,