ssb bus needs <linux/io.h>
[sfrench/cifs-2.6.git] / arch / sh / boards / renesas / r7780rp / irq-r7785rp.c
1 /*
2  * Renesas Solutions Highlander R7780RP-1 Support.
3  *
4  * Copyright (C) 2002  Atom Create Engineering Co., Ltd.
5  * Copyright (C) 2006  Paul Mundt
6  *
7  * This file is subject to the terms and conditions of the GNU General Public
8  * License.  See the file "COPYING" in the main directory of this archive
9  * for more details.
10  */
11 #include <linux/init.h>
12 #include <asm/io.h>
13 #include <asm/r7780rp.h>
14
15 void __init highlander_init_irq(void)
16 {
17         ctrl_outw(0x0000, PA_IRLSSR1);  /* FPGA IRLSSR1(CF_CD clear) */
18
19         /* Setup the FPGA IRL */
20         ctrl_outw(0x0000, PA_IRLPRA);   /* FPGA IRLA */
21         ctrl_outw(0xe598, PA_IRLPRB);   /* FPGA IRLB */
22         ctrl_outw(0x7060, PA_IRLPRC);   /* FPGA IRLC */
23         ctrl_outw(0x0000, PA_IRLPRD);   /* FPGA IRLD */
24         ctrl_outw(0x4321, PA_IRLPRE);   /* FPGA IRLE */
25         ctrl_outw(0x0000, PA_IRLPRF);   /* FPGA IRLF */
26
27         make_r7780rp_irq(1);    /* CF card */
28         make_r7780rp_irq(10);   /* On-board ethernet */
29 }