diff options
author | Greg Ungerer <gerg@snapgear.com> | 2005-09-08 19:32:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-08 20:27:35 -0400 |
commit | 910ce396a88b84b99377f7c46888a1ff9a86ded3 (patch) | |
tree | 215714e910916197be1de590a595bdb8adaf4178 /include/asm-m68knommu | |
parent | 4fe8a0f4c5d64cbc78227a88df4566c0d0ee4648 (diff) |
[PATCH] m68knommu: ColdFire 523x processor register definitions
ColdFire 523x processor hardware register definitions.
Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m68knommu')
-rw-r--r-- | include/asm-m68knommu/m523xsim.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/include/asm-m68knommu/m523xsim.h b/include/asm-m68knommu/m523xsim.h new file mode 100644 index 000000000000..926cfb805df7 --- /dev/null +++ b/include/asm-m68knommu/m523xsim.h | |||
@@ -0,0 +1,46 @@ | |||
1 | /****************************************************************************/ | ||
2 | |||
3 | /* | ||
4 | * m523xsim.h -- ColdFire 523x System Integration Module support. | ||
5 | * | ||
6 | * (C) Copyright 2003-2005, Greg Ungerer <gerg@snapgear.com> | ||
7 | */ | ||
8 | |||
9 | /****************************************************************************/ | ||
10 | #ifndef m523xsim_h | ||
11 | #define m523xsim_h | ||
12 | /****************************************************************************/ | ||
13 | |||
14 | #include <linux/config.h> | ||
15 | |||
16 | /* | ||
17 | * Define the 523x SIM register set addresses. | ||
18 | */ | ||
19 | #define MCFICM_INTC0 0x0c00 /* Base for Interrupt Ctrl 0 */ | ||
20 | #define MCFICM_INTC1 0x0d00 /* Base for Interrupt Ctrl 0 */ | ||
21 | #define MCFINTC_IPRH 0x00 /* Interrupt pending 32-63 */ | ||
22 | #define MCFINTC_IPRL 0x04 /* Interrupt pending 1-31 */ | ||
23 | #define MCFINTC_IMRH 0x08 /* Interrupt mask 32-63 */ | ||
24 | #define MCFINTC_IMRL 0x0c /* Interrupt mask 1-31 */ | ||
25 | #define MCFINTC_INTFRCH 0x10 /* Interrupt force 32-63 */ | ||
26 | #define MCFINTC_INTFRCL 0x14 /* Interrupt force 1-31 */ | ||
27 | #define MCFINTC_IRLR 0x18 /* */ | ||
28 | #define MCFINTC_IACKL 0x19 /* */ | ||
29 | #define MCFINTC_ICR0 0x40 /* Base ICR register */ | ||
30 | |||
31 | #define MCFINT_VECBASE 64 /* Vector base number */ | ||
32 | #define MCFINT_UART0 13 /* Interrupt number for UART0 */ | ||
33 | #define MCFINT_PIT1 36 /* Interrupt number for PIT1 */ | ||
34 | #define MCFINT_QSPI 18 /* Interrupt number for QSPI */ | ||
35 | |||
36 | /* | ||
37 | * SDRAM configuration registers. | ||
38 | */ | ||
39 | #define MCFSIM_DCR 0x44 /* SDRAM control */ | ||
40 | #define MCFSIM_DACR0 0x48 /* SDRAM base address 0 */ | ||
41 | #define MCFSIM_DMR0 0x4c /* SDRAM address mask 0 */ | ||
42 | #define MCFSIM_DACR1 0x50 /* SDRAM base address 1 */ | ||
43 | #define MCFSIM_DMR1 0x54 /* SDRAM address mask 1 */ | ||
44 | |||
45 | /****************************************************************************/ | ||
46 | #endif /* m523xsim_h */ | ||