diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2007-03-26 14:27:43 +0900 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-05-07 02:10:54 +0000 |
commit | c86c5a910451dd5a30e62a9e36d8e9b3c7a0c1d1 (patch) | |
tree | 69acbb65e61a8895dfdebfd70dc58f5d8d9dbe38 /include/asm-sh/lboxre2.h | |
parent | 00e8c494a1603eac0a2cae9836e624a752ad45b1 (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/asm-sh/lboxre2.h')
-rw-r--r-- | include/asm-sh/lboxre2.h | 32 |
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 00000000000..65775668df9 --- /dev/null +++ b/include/asm-sh/lboxre2.h @@ -0,0 +1,32 @@ +#ifndef __ASM_SH_LBOXRE2_H +#define __ASM_SH_LBOXRE2_H + +/* + * linux/include/asm-sh/lbox.h + * + * Copyright (C) 2007 Nobuhiro Iwamatsu + * + * NTT COMWARE L-BOX RE2 support + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + */ + +#define CONFIG_CF0_BASE_ADDR 0xb4000000 /* Boot only */ +#define CONFIG_CF1_BASE_ADDR 0xb8000000 + +#define IRQ_CF1 9 /* CF1 */ +#define IRQ_CF0 10 /* CF0 */ +#define IRQ_INTD 11 /* INTD */ +#define IRQ_ETH1 12 /* Ether1 */ +#define IRQ_ETH0 13 /* Ether0 */ +#define IRQ_INTA 14 /* INTA */ + +void init_lboxre2_IRQ(void); + +#define __IO_PREFIX lboxre2 +#include <asm/io_generic.h> + +#endif /* __ASM_SH_LBOXRE2_H */ |