2 * Renesas Solutions Highlander R7780RP-1 Support.
4 * Copyright (C) 2002 Atom Create Engineering Co., Ltd.
5 * Copyright (C) 2006 Paul Mundt
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
11 #include <linux/init.h>
13 #include <asm/r7780rp.h>
15 void __init
highlander_init_irq(void)
17 ctrl_outw(0x0000, PA_IRLSSR1
); /* FPGA IRLSSR1(CF_CD clear) */
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 */
27 make_r7780rp_irq(1); /* CF card */
28 make_r7780rp_irq(10); /* On-board ethernet */