2 * SH5-101/SH5-103 CPU Setup
4 * Copyright (C) 2009 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 #include <linux/serial_sci.h>
16 #include <asm/addrspace.h>
18 static struct plat_sci_port sci_platform_data[] = {
20 .mapbase = PHYS_PERIPHERAL_BLOCK + 0x01030000,
21 .flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP,
23 .irqs = { 39, 40, 42, 0 },
29 static struct platform_device sci_device = {
33 .platform_data = sci_platform_data,
37 static struct platform_device *sh5_devices[] __initdata = {
41 static int __init sh5_devices_setup(void)
43 return platform_add_devices(sh5_devices,
44 ARRAY_SIZE(sh5_devices));
46 __initcall(sh5_devices_setup);