4 * Copyright (C) 2006 Yoshinori Sato
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>
15 static struct plat_sci_port sci_platform_data
[] = {
17 .mapbase
= 0xfffe8000,
18 .flags
= UPF_BOOT_AUTOCONF
,
20 .irqs
= { 240, 241, 242, 243},
22 .mapbase
= 0xfffe8800,
23 .flags
= UPF_BOOT_AUTOCONF
,
25 .irqs
= { 244, 245, 246, 247},
27 .mapbase
= 0xfffe9000,
28 .flags
= UPF_BOOT_AUTOCONF
,
30 .irqs
= { 248, 249, 250, 251},
32 .mapbase
= 0xfffe9800,
33 .flags
= UPF_BOOT_AUTOCONF
,
35 .irqs
= { 252, 253, 254, 255},
41 static struct platform_device sci_device
= {
45 .platform_data
= sci_platform_data
,
49 static struct platform_device
*sh7206_devices
[] __initdata
= {
53 static int __init
sh7206_devices_setup(void)
55 return platform_add_devices(sh7206_devices
,
56 ARRAY_SIZE(sh7206_devices
));
58 __initcall(sh7206_devices_setup
);