aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2007-03-26 01:27:43 -0400
committerPaul Mundt <lethal@hera.kernel.org>2007-05-06 22:10:54 -0400
commitc86c5a910451dd5a30e62a9e36d8e9b3c7a0c1d1 (patch)
tree69acbb65e61a8895dfdebfd70dc58f5d8d9dbe38 /include
parent00e8c494a1603eac0a2cae9836e624a752ad45b1 (diff)
sh: L-BOX RE2 support.
This adds support for the L-BOX RE2 router. http://www.nttcom.co.jp/l-box/ L-BOX RE2 is a SH7751R-based router. It has CF, Cardbus, serial, and LAN x2. This is one of the very few SH boards that a general person can obtain now. The L-BOX shipped with a 2.4.28 kernel, this is a rewritten patch adding it to current git. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sh/lboxre2.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/asm-sh/lboxre2.h b/include/asm-sh/lboxre2.h
new file mode 100644
index 000000000000..65775668df93
--- /dev/null
+++ b/include/asm-sh/lboxre2.h
@@ -0,0 +1,32 @@
1#ifndef __ASM_SH_LBOXRE2_H
2#define __ASM_SH_LBOXRE2_H
3
4/*
5 * linux/include/asm-sh/lbox.h
6 *
7 * Copyright (C) 2007 Nobuhiro Iwamatsu
8 *
9 * NTT COMWARE L-BOX RE2 support
10 *
11 * This file is subject to the terms and conditions of the GNU General Public
12 * License. See the file "COPYING" in the main directory of this archive
13 * for more details.
14 *
15 */
16
17#define CONFIG_CF0_BASE_ADDR 0xb4000000 /* Boot only */
18#define CONFIG_CF1_BASE_ADDR 0xb8000000
19
20#define IRQ_CF1 9 /* CF1 */
21#define IRQ_CF0 10 /* CF0 */
22#define IRQ_INTD 11 /* INTD */
23#define IRQ_ETH1 12 /* Ether1 */
24#define IRQ_ETH0 13 /* Ether0 */
25#define IRQ_INTA 14 /* INTA */
26
27void init_lboxre2_IRQ(void);
28
29#define __IO_PREFIX lboxre2
30#include <asm/io_generic.h>
31
32#endif /* __ASM_SH_LBOXRE2_H */