diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-mips/vr41xx/cmbvr4133.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-mips/vr41xx/cmbvr4133.h')
-rw-r--r-- | include/asm-mips/vr41xx/cmbvr4133.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/include/asm-mips/vr41xx/cmbvr4133.h b/include/asm-mips/vr41xx/cmbvr4133.h new file mode 100644 index 000000000000..42af389019ea --- /dev/null +++ b/include/asm-mips/vr41xx/cmbvr4133.h | |||
@@ -0,0 +1,61 @@ | |||
1 | /* | ||
2 | * include/asm-mips/vr41xx/cmbvr4133.h | ||
3 | * | ||
4 | * Include file for NEC CMB-VR4133. | ||
5 | * | ||
6 | * Author: Yoichi Yuasa <yyuasa@mvista.com, or source@mvista.com> and | ||
7 | * Jun Sun <jsun@mvista.com, or source@mvista.com> and | ||
8 | * Alex Sapkov <asapkov@ru.mvista.com> | ||
9 | * | ||
10 | * 2002-2004 (c) MontaVista, Software, Inc. This file is licensed under | ||
11 | * the terms of the GNU General Public License version 2. This program | ||
12 | * is licensed "as is" without any warranty of any kind, whether express | ||
13 | * or implied. | ||
14 | */ | ||
15 | #ifndef __NEC_CMBVR4133_H | ||
16 | #define __NEC_CMBVR4133_H | ||
17 | |||
18 | #include <asm/addrspace.h> | ||
19 | #include <asm/vr41xx/vr41xx.h> | ||
20 | |||
21 | /* | ||
22 | * General-Purpose I/O Pin Number | ||
23 | */ | ||
24 | #define CMBVR41XX_INTA_PIN 1 | ||
25 | #define CMBVR41XX_INTB_PIN 1 | ||
26 | #define CMBVR41XX_INTC_PIN 3 | ||
27 | #define CMBVR41XX_INTD_PIN 1 | ||
28 | #define CMBVR41XX_INTE_PIN 1 | ||
29 | |||
30 | /* | ||
31 | * Interrupt Number | ||
32 | */ | ||
33 | #define CMBVR41XX_INTA_IRQ GIU_IRQ(CMBVR41XX_INTA_PIN) | ||
34 | #define CMBVR41XX_INTB_IRQ GIU_IRQ(CMBVR41XX_INTB_PIN) | ||
35 | #define CMBVR41XX_INTC_IRQ GIU_IRQ(CMBVR41XX_INTC_PIN) | ||
36 | #define CMBVR41XX_INTD_IRQ GIU_IRQ(CMBVR41XX_INTD_PIN) | ||
37 | #define CMBVR41XX_INTE_IRQ GIU_IRQ(CMBVR41XX_INTE_PIN) | ||
38 | |||
39 | #define I8259_IRQ_BASE 72 | ||
40 | #define I8259_IRQ(x) (I8259_IRQ_BASE + (x)) | ||
41 | #define TIMER_IRQ I8259_IRQ(0) | ||
42 | #define KEYBOARD_IRQ I8259_IRQ(1) | ||
43 | #define I8259_SLAVE_IRQ I8259_IRQ(2) | ||
44 | #define UART3_IRQ I8259_IRQ(3) | ||
45 | #define UART1_IRQ I8259_IRQ(4) | ||
46 | #define UART2_IRQ I8259_IRQ(5) | ||
47 | #define FDC_IRQ I8259_IRQ(6) | ||
48 | #define PARPORT_IRQ I8259_IRQ(7) | ||
49 | #define RTC_IRQ I8259_IRQ(8) | ||
50 | #define USB_IRQ I8259_IRQ(9) | ||
51 | #define I8259_INTA_IRQ I8259_IRQ(10) | ||
52 | #define AUDIO_IRQ I8259_IRQ(11) | ||
53 | #define AUX_IRQ I8259_IRQ(12) | ||
54 | #define IDE_PRIMARY_IRQ I8259_IRQ(14) | ||
55 | #define IDE_SECONDARY_IRQ I8259_IRQ(15) | ||
56 | #define I8259_IRQ_LAST IDE_SECONDARY_IRQ | ||
57 | |||
58 | #define RTC_PORT(x) (0xaf000100 + (x)) | ||
59 | #define RTC_IO_EXTENT 0x140 | ||
60 | |||
61 | #endif /* __NEC_CMBVR4133_H */ | ||