4 * Copyright (C) 2006 Paul Mundt
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
10 #include <linux/platform_device.h>
11 #include <linux/init.h>
12 #include <linux/serial.h>
13 <<<<<<< HEAD
:arch
/sh
/kernel
/cpu
/sh4a
/setup
-sh7770
.c
16 #include <linux/serial_sci.h>
17 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a
:arch
/sh
/kernel
/cpu
/sh4a
/setup
-sh7770
.c
19 static struct plat_sci_port sci_platform_data
[] = {
21 .mapbase
= 0xff923000,
22 .flags
= UPF_BOOT_AUTOCONF
,
24 .irqs
= { 61, 61, 61, 61 },
26 .mapbase
= 0xff924000,
27 .flags
= UPF_BOOT_AUTOCONF
,
29 .irqs
= { 62, 62, 62, 62 },
31 .mapbase
= 0xff925000,
32 .flags
= UPF_BOOT_AUTOCONF
,
34 .irqs
= { 63, 63, 63, 63 },
40 static struct platform_device sci_device
= {
44 .platform_data
= sci_platform_data
,
48 static struct platform_device
*sh7770_devices
[] __initdata
= {
52 static int __init
sh7770_devices_setup(void)
54 return platform_add_devices(sh7770_devices
,
55 ARRAY_SIZE(sh7770_devices
));
57 __initcall(sh7770_devices_setup
);
59 void __init
plat_irq_setup(void)