2 * arch/sh/boards/se/73180/setup.c
4 * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp>
5 * Based on arch/sh/setup_shmse.c
7 * Modified for 73180 SolutionEngine
8 * by YOSHII Takashi <yoshii-takashi@hitachi-ul.co.jp>
12 #include <linux/init.h>
13 #include <linux/platform_device.h>
14 #include <asm/machvec.h>
15 #include <asm/se73180.h>
18 void init_73180se_IRQ(void);
20 static struct resource heartbeat_resources[] = {
23 .end = PA_LED + 8 - 1,
24 .flags = IORESOURCE_MEM,
28 static struct platform_device heartbeat_device = {
31 .num_resources = ARRAY_SIZE(heartbeat_resources),
32 .resource = heartbeat_resources,
35 static struct platform_device *se73180_devices[] __initdata = {
39 static int __init se73180_devices_setup(void)
41 return platform_add_devices(sh7343se_platform_devices,
42 ARRAY_SIZE(sh7343se_platform_devices));
44 __initcall(se73180_devices_setup);
49 struct sh_machine_vector mv_73180se __initmv = {
50 .mv_name = "SolutionEngine 73180",
52 .mv_inb = sh73180se_inb,
53 .mv_inw = sh73180se_inw,
54 .mv_inl = sh73180se_inl,
55 .mv_outb = sh73180se_outb,
56 .mv_outw = sh73180se_outw,
57 .mv_outl = sh73180se_outl,
59 .mv_inb_p = sh73180se_inb_p,
60 .mv_inw_p = sh73180se_inw,
61 .mv_inl_p = sh73180se_inl,
62 .mv_outb_p = sh73180se_outb_p,
63 .mv_outw_p = sh73180se_outw,
64 .mv_outl_p = sh73180se_outl,
66 .mv_insb = sh73180se_insb,
67 .mv_insw = sh73180se_insw,
68 .mv_insl = sh73180se_insl,
69 .mv_outsb = sh73180se_outsb,
70 .mv_outsw = sh73180se_outsw,
71 .mv_outsl = sh73180se_outsl,
73 .mv_init_irq = init_73180se_IRQ,
74 .mv_irq_demux = shmse_irq_demux,