aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/rts7751r2d.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-10-19 04:31:22 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-10-19 04:31:22 -0400
commitc2a560f5334c55da1e8bfa17586cc1d4e7f8ed85 (patch)
tree3949ebfece3f752e78479a3069a4fac76dbe4bbc /include/asm-sh/rts7751r2d.h
parent1f666587dbf6bc660b23d8dd8abb6c572ce3eae5 (diff)
sh: Add some missing board headers.
Some of these were dropped in the header directory rework, add the few missing ones back in. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/rts7751r2d.h')
-rw-r--r--include/asm-sh/rts7751r2d.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/include/asm-sh/rts7751r2d.h b/include/asm-sh/rts7751r2d.h
new file mode 100644
index 000000000000..796b8fcb81a8
--- /dev/null
+++ b/include/asm-sh/rts7751r2d.h
@@ -0,0 +1,74 @@
1#ifndef __ASM_SH_RENESAS_RTS7751R2D_H
2#define __ASM_SH_RENESAS_RTS7751R2D_H
3
4/*
5 * linux/include/asm-sh/renesas_rts7751r2d.h
6 *
7 * Copyright (C) 2000 Atom Create Engineering Co., Ltd.
8 *
9 * Renesas Technology Sales RTS7751R2D support
10 */
11
12/* Box specific addresses. */
13
14#define PA_BCR 0xa4000000 /* FPGA */
15#define PA_IRLMON 0xa4000002 /* Interrupt Status control */
16#define PA_CFCTL 0xa4000004 /* CF Timing control */
17#define PA_CFPOW 0xa4000006 /* CF Power control */
18#define PA_DISPCTL 0xa4000008 /* Display Timing control */
19#define PA_SDMPOW 0xa400000a /* SD Power control */
20#define PA_RTCCE 0xa400000c /* RTC(9701) Enable control */
21#define PA_PCICD 0xa400000e /* PCI Extention detect control */
22#define PA_VOYAGERRTS 0xa4000020 /* VOYAGER Reset control */
23#if defined(CONFIG_RTS7751R2D_REV11)
24#define PA_AXRST 0xa4000022 /* AX_LAN Reset control */
25#define PA_CFRST 0xa4000024 /* CF Reset control */
26#define PA_ADMRTS 0xa4000026 /* SD Reset control */
27#define PA_EXTRST 0xa4000028 /* Extention Reset control */
28#define PA_CFCDINTCLR 0xa400002a /* CF Insert Interrupt clear */
29#else
30#define PA_CFRST 0xa4000022 /* CF Reset control */
31#define PA_ADMRTS 0xa4000024 /* SD Reset control */
32#define PA_EXTRST 0xa4000026 /* Extention Reset control */
33#define PA_CFCDINTCLR 0xa4000028 /* CF Insert Interrupt clear */
34#define PA_KEYCTLCLR 0xa400002a /* Key Interrupt clear */
35#endif
36#define PA_POWOFF 0xa4000030 /* Board Power OFF control */
37#define PA_VERREG 0xa4000032 /* FPGA Version Register */
38#define PA_INPORT 0xa4000034 /* KEY Input Port control */
39#define PA_OUTPORT 0xa4000036 /* LED control */
40#define PA_DMPORT 0xa4000038 /* DM270 Output Port control */
41
42#define PA_AX88796L 0xaa000400 /* AX88796L Area */
43#define PA_VOYAGER 0xab000000 /* VOYAGER GX Area */
44#define PA_IDE_OFFSET 0x1f0 /* CF IDE Offset */
45#define AX88796L_IO_BASE 0x1000 /* AX88796L IO Base Address */
46
47#define IRLCNTR1 (PA_BCR + 0) /* Interrupt Control Register1 */
48
49#if defined(CONFIG_RTS7751R2D_REV11)
50#define IRQ_PCIETH 0 /* PCI Ethernet IRQ */
51#define IRQ_CFCARD 1 /* CF Card IRQ */
52#define IRQ_CFINST 2 /* CF Card Insert IRQ */
53#define IRQ_PCMCIA 3 /* PCMCIA IRQ */
54#define IRQ_VOYAGER 4 /* VOYAGER IRQ */
55#define IRQ_ONETH 5 /* On board Ethernet IRQ */
56#else
57#define IRQ_KEYIN 0 /* Key Input IRQ */
58#define IRQ_PCIETH 1 /* PCI Ethernet IRQ */
59#define IRQ_CFCARD 2 /* CF Card IRQ */
60#define IRQ_CFINST 3 /* CF Card Insert IRQ */
61#define IRQ_PCMCIA 4 /* PCMCIA IRQ */
62#define IRQ_VOYAGER 5 /* VOYAGER IRQ */
63#endif
64#define IRQ_RTCALM 6 /* RTC Alarm IRQ */
65#define IRQ_RTCTIME 7 /* RTC Timer IRQ */
66#define IRQ_SDCARD 8 /* SD Card IRQ */
67#define IRQ_PCISLOT1 9 /* PCI Slot #1 IRQ */
68#define IRQ_PCISLOT2 10 /* PCI Slot #2 IRQ */
69#define IRQ_EXTENTION 11 /* EXTn IRQ */
70
71#define __IO_PREFIX rts7751r2d
72#include <asm/io_generic.h>
73
74#endif /* __ASM_SH_RENESAS_RTS7751R2D */