diff options
Diffstat (limited to 'arch/m68k/include/asm/m520xsim.h')
-rw-r--r-- | arch/m68k/include/asm/m520xsim.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/m520xsim.h b/arch/m68k/include/asm/m520xsim.h index db824a4b136e..88ed8239fe4e 100644 --- a/arch/m68k/include/asm/m520xsim.h +++ b/arch/m68k/include/asm/m520xsim.h | |||
@@ -11,6 +11,11 @@ | |||
11 | #define m520xsim_h | 11 | #define m520xsim_h |
12 | /****************************************************************************/ | 12 | /****************************************************************************/ |
13 | 13 | ||
14 | #define CPU_NAME "COLDFIRE(m520x)" | ||
15 | #define CPU_INSTR_PER_JIFFY 3 | ||
16 | |||
17 | #include <asm/m52xxacr.h> | ||
18 | |||
14 | /* | 19 | /* |
15 | * Define the 520x SIM register set addresses. | 20 | * Define the 520x SIM register set addresses. |
16 | */ | 21 | */ |
@@ -54,6 +59,9 @@ | |||
54 | #define MCFSIM_SDCS0 0x000a8110 /* SDRAM Chip Select 0 Configuration */ | 59 | #define MCFSIM_SDCS0 0x000a8110 /* SDRAM Chip Select 0 Configuration */ |
55 | #define MCFSIM_SDCS1 0x000a8114 /* SDRAM Chip Select 1 Configuration */ | 60 | #define MCFSIM_SDCS1 0x000a8114 /* SDRAM Chip Select 1 Configuration */ |
56 | 61 | ||
62 | /* | ||
63 | * EPORT and GPIO registers. | ||
64 | */ | ||
57 | #define MCFEPORT_EPDDR 0xFC088002 | 65 | #define MCFEPORT_EPDDR 0xFC088002 |
58 | #define MCFEPORT_EPDR 0xFC088004 | 66 | #define MCFEPORT_EPDR 0xFC088004 |
59 | #define MCFEPORT_EPPDR 0xFC088005 | 67 | #define MCFEPORT_EPPDR 0xFC088005 |
@@ -97,6 +105,7 @@ | |||
97 | #define MCFGPIO_PCLRR_UART 0xFC0A402A | 105 | #define MCFGPIO_PCLRR_UART 0xFC0A402A |
98 | #define MCFGPIO_PCLRR_FECH 0xFC0A402B | 106 | #define MCFGPIO_PCLRR_FECH 0xFC0A402B |
99 | #define MCFGPIO_PCLRR_FECL 0xFC0A402C | 107 | #define MCFGPIO_PCLRR_FECL 0xFC0A402C |
108 | |||
100 | /* | 109 | /* |
101 | * Generic GPIO support | 110 | * Generic GPIO support |
102 | */ | 111 | */ |
@@ -109,7 +118,6 @@ | |||
109 | #define MCFGPIO_PIN_MAX 80 | 118 | #define MCFGPIO_PIN_MAX 80 |
110 | #define MCFGPIO_IRQ_MAX 8 | 119 | #define MCFGPIO_IRQ_MAX 8 |
111 | #define MCFGPIO_IRQ_VECBASE MCFINT_VECBASE | 120 | #define MCFGPIO_IRQ_VECBASE MCFINT_VECBASE |
112 | /****************************************************************************/ | ||
113 | 121 | ||
114 | #define MCF_GPIO_PAR_UART (0xA4036) | 122 | #define MCF_GPIO_PAR_UART (0xA4036) |
115 | #define MCF_GPIO_PAR_FECI2C (0xA4033) | 123 | #define MCF_GPIO_PAR_FECI2C (0xA4033) |
@@ -126,6 +134,13 @@ | |||
126 | #define MCF_GPIO_PAR_FECI2C_PAR_SCL_UTXD2 (0x04) | 134 | #define MCF_GPIO_PAR_FECI2C_PAR_SCL_UTXD2 (0x04) |
127 | 135 | ||
128 | /* | 136 | /* |
137 | * UART module. | ||
138 | */ | ||
139 | #define MCFUART_BASE1 0x60000 /* Base address of UART1 */ | ||
140 | #define MCFUART_BASE2 0x64000 /* Base address of UART2 */ | ||
141 | #define MCFUART_BASE3 0x68000 /* Base address of UART2 */ | ||
142 | |||
143 | /* | ||
129 | * Reset Controll Unit. | 144 | * Reset Controll Unit. |
130 | */ | 145 | */ |
131 | #define MCF_RCR 0xFC0A0000 | 146 | #define MCF_RCR 0xFC0A0000 |