diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-04-18 17:43:11 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2008-04-18 17:43:11 -0400 |
commit | 393538e6d2ea1afe42c4ae9382cc78ed51a479f9 (patch) | |
tree | 56ef3f5f64e242bb051ef786936f6c2d88ad9e07 /include | |
parent | 9a386f0651d06002a0468ce4d0e15aaf7c316a3c (diff) |
RealView: Move more device address definitions to board-eb.h
The upcoming PB11MPCore and PB1176 have different memory maps and some
of the definitions in platform.h are no longer common. This patch
moves them to the board-eb.h file and updates their usage in
realview_eb.c.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-realview/board-eb.h | 8 | ||||
-rw-r--r-- | include/asm-arm/arch-realview/platform.h | 16 |
2 files changed, 9 insertions, 15 deletions
diff --git a/include/asm-arm/arch-realview/board-eb.h b/include/asm-arm/arch-realview/board-eb.h index 565bb937ac86..206f7a752882 100644 --- a/include/asm-arm/arch-realview/board-eb.h +++ b/include/asm-arm/arch-realview/board-eb.h | |||
@@ -30,13 +30,21 @@ | |||
30 | #define REALVIEW_EB_UART1_BASE 0x1000A000 /* UART 1 */ | 30 | #define REALVIEW_EB_UART1_BASE 0x1000A000 /* UART 1 */ |
31 | #define REALVIEW_EB_UART2_BASE 0x1000B000 /* UART 2 */ | 31 | #define REALVIEW_EB_UART2_BASE 0x1000B000 /* UART 2 */ |
32 | #define REALVIEW_EB_UART3_BASE 0x1000C000 /* UART 3 */ | 32 | #define REALVIEW_EB_UART3_BASE 0x1000C000 /* UART 3 */ |
33 | #define REALVIEW_EB_SSP_BASE 0x1000D000 /* Synchronous Serial Port */ | ||
34 | #define REALVIEW_EB_WATCHDOG_BASE 0x10010000 /* watchdog interface */ | ||
33 | #define REALVIEW_EB_TIMER0_1_BASE 0x10011000 /* Timer 0 and 1 */ | 35 | #define REALVIEW_EB_TIMER0_1_BASE 0x10011000 /* Timer 0 and 1 */ |
34 | #define REALVIEW_EB_TIMER2_3_BASE 0x10012000 /* Timer 2 and 3 */ | 36 | #define REALVIEW_EB_TIMER2_3_BASE 0x10012000 /* Timer 2 and 3 */ |
37 | #define REALVIEW_EB_GPIO0_BASE 0x10013000 /* GPIO port 0 */ | ||
38 | #define REALVIEW_EB_RTC_BASE 0x10017000 /* Real Time Clock */ | ||
39 | #define REALVIEW_EB_CLCD_BASE 0x10020000 /* CLCD */ | ||
35 | #define REALVIEW_EB_GIC_CPU_BASE 0x10040000 /* Generic interrupt controller CPU interface */ | 40 | #define REALVIEW_EB_GIC_CPU_BASE 0x10040000 /* Generic interrupt controller CPU interface */ |
36 | #define REALVIEW_EB_GIC_DIST_BASE 0x10041000 /* Generic interrupt controller distributor */ | 41 | #define REALVIEW_EB_GIC_DIST_BASE 0x10041000 /* Generic interrupt controller distributor */ |
42 | #define REALVIEW_EB_SMC_BASE 0x10080000 /* Static memory controller */ | ||
37 | 43 | ||
38 | #define REALVIEW_EB_FLASH_BASE 0x40000000 | 44 | #define REALVIEW_EB_FLASH_BASE 0x40000000 |
39 | #define REALVIEW_EB_FLASH_SIZE SZ_64M | 45 | #define REALVIEW_EB_FLASH_SIZE SZ_64M |
46 | #define REALVIEW_EB_ETH_BASE 0x4E000000 /* Ethernet */ | ||
47 | #define REALVIEW_EB_USB_BASE 0x4F000000 /* USB */ | ||
40 | 48 | ||
41 | #ifdef CONFIG_REALVIEW_EB_ARM11MP_REVB | 49 | #ifdef CONFIG_REALVIEW_EB_ARM11MP_REVB |
42 | #define REALVIEW_EB11MP_SCU_BASE 0x10100000 /* SCU registers */ | 50 | #define REALVIEW_EB11MP_SCU_BASE 0x10100000 /* SCU registers */ |
diff --git a/include/asm-arm/arch-realview/platform.h b/include/asm-arm/arch-realview/platform.h index d18fb128ed9c..424c0aaf46a0 100644 --- a/include/asm-arm/arch-realview/platform.h +++ b/include/asm-arm/arch-realview/platform.h | |||
@@ -172,34 +172,20 @@ | |||
172 | #define REALVIEW_INTREG_CARDINSERT 0x03 /* Signal insertion of MMC card */ | 172 | #define REALVIEW_INTREG_CARDINSERT 0x03 /* Signal insertion of MMC card */ |
173 | 173 | ||
174 | /* | 174 | /* |
175 | * REALVIEW peripheral addresses | 175 | * RealView common peripheral addresses |
176 | */ | 176 | */ |
177 | #define REALVIEW_SCTL_BASE 0x10001000 /* System controller */ | 177 | #define REALVIEW_SCTL_BASE 0x10001000 /* System controller */ |
178 | #define REALVIEW_I2C_BASE 0x10002000 /* I2C control */ | 178 | #define REALVIEW_I2C_BASE 0x10002000 /* I2C control */ |
179 | /* Reserved 0x10003000 */ | ||
180 | #define REALVIEW_AACI_BASE 0x10004000 /* Audio */ | 179 | #define REALVIEW_AACI_BASE 0x10004000 /* Audio */ |
181 | #define REALVIEW_MMCI0_BASE 0x10005000 /* MMC interface */ | 180 | #define REALVIEW_MMCI0_BASE 0x10005000 /* MMC interface */ |
182 | #define REALVIEW_KMI0_BASE 0x10006000 /* KMI interface */ | 181 | #define REALVIEW_KMI0_BASE 0x10006000 /* KMI interface */ |
183 | #define REALVIEW_KMI1_BASE 0x10007000 /* KMI 2nd interface */ | 182 | #define REALVIEW_KMI1_BASE 0x10007000 /* KMI 2nd interface */ |
184 | #define REALVIEW_CHAR_LCD_BASE 0x10008000 /* Character LCD */ | 183 | #define REALVIEW_CHAR_LCD_BASE 0x10008000 /* Character LCD */ |
185 | #define REALVIEW_SSP_BASE 0x1000D000 /* Synchronous Serial Port */ | ||
186 | #define REALVIEW_SCI_BASE 0x1000E000 /* Smart card controller */ | 184 | #define REALVIEW_SCI_BASE 0x1000E000 /* Smart card controller */ |
187 | /* Reserved 0x1000F000 */ | ||
188 | #define REALVIEW_WATCHDOG_BASE 0x10010000 /* watchdog interface */ | ||
189 | #define REALVIEW_GPIO0_BASE 0x10013000 /* GPIO port 0 */ | ||
190 | #define REALVIEW_GPIO1_BASE 0x10014000 /* GPIO port 1 */ | 185 | #define REALVIEW_GPIO1_BASE 0x10014000 /* GPIO port 1 */ |
191 | #define REALVIEW_GPIO2_BASE 0x10015000 /* GPIO port 2 */ | 186 | #define REALVIEW_GPIO2_BASE 0x10015000 /* GPIO port 2 */ |
192 | /* Reserved 0x10016000 */ | ||
193 | #define REALVIEW_RTC_BASE 0x10017000 /* Real Time Clock */ | ||
194 | #define REALVIEW_DMC_BASE 0x10018000 /* DMC configuration */ | 187 | #define REALVIEW_DMC_BASE 0x10018000 /* DMC configuration */ |
195 | #define REALVIEW_PCI_CORE_BASE 0x10019000 /* PCI configuration */ | ||
196 | /* Reserved 0x1001A000 - 0x1001FFFF */ | ||
197 | #define REALVIEW_CLCD_BASE 0x10020000 /* CLCD */ | ||
198 | #define REALVIEW_DMAC_BASE 0x10030000 /* DMA controller */ | 188 | #define REALVIEW_DMAC_BASE 0x10030000 /* DMA controller */ |
199 | #define REALVIEW_SMC_BASE 0x10080000 /* SMC */ | ||
200 | /* Reserved 0x10090000 - 0x100EFFFF */ | ||
201 | |||
202 | #define REALVIEW_ETH_BASE 0x4E000000 /* Ethernet */ | ||
203 | 189 | ||
204 | /* PCI space */ | 190 | /* PCI space */ |
205 | #define REALVIEW_PCI_BASE 0x41000000 /* PCI Interface */ | 191 | #define REALVIEW_PCI_BASE 0x41000000 /* PCI Interface */ |