2 * MCF5272 Internal Memory Map
4 * Copyright (c) 2003 Josef Baumgartner <josef.baumgartner@telex.de>
6 * See file CREDITS for list of people who contributed to this
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
25 #ifndef __IMMAP_5272__
26 #define __IMMAP_5272__
28 #define MMAP_CFG (CONFIG_SYS_MBAR + 0x00000000)
29 #define MMAP_INTC (CONFIG_SYS_MBAR + 0x00000020)
30 #define MMAP_FBCS (CONFIG_SYS_MBAR + 0x00000040)
31 #define MMAP_GPIO (CONFIG_SYS_MBAR + 0x00000080)
32 #define MMAP_QSPI (CONFIG_SYS_MBAR + 0x000000A0)
33 #define MMAP_PWM (CONFIG_SYS_MBAR + 0x000000C0)
34 #define MMAP_DMA0 (CONFIG_SYS_MBAR + 0x000000E0)
35 #define MMAP_UART0 (CONFIG_SYS_MBAR + 0x00000100)
36 #define MMAP_UART1 (CONFIG_SYS_MBAR + 0x00000140)
37 #define MMAP_SDRAM (CONFIG_SYS_MBAR + 0x00000180)
38 #define MMAP_TMR0 (CONFIG_SYS_MBAR + 0x00000200)
39 #define MMAP_TMR1 (CONFIG_SYS_MBAR + 0x00000220)
40 #define MMAP_TMR2 (CONFIG_SYS_MBAR + 0x00000240)
41 #define MMAP_TMR3 (CONFIG_SYS_MBAR + 0x00000260)
42 #define MMAP_WDOG (CONFIG_SYS_MBAR + 0x00000280)
43 #define MMAP_PLIC (CONFIG_SYS_MBAR + 0x00000300)
44 #define MMAP_FEC (CONFIG_SYS_MBAR + 0x00000840)
45 #define MMAP_USB (CONFIG_SYS_MBAR + 0x00001000)
47 #include <asm/coldfire/pwm.h>
49 /* System configuration registers */
50 typedef struct sys_ctrl {
61 /* Interrupt module registers */
62 typedef struct int_ctrl {
74 /* Chip select module registers */
75 typedef struct cs_ctlr {
94 /* GPIO port registers */
95 typedef struct gpio_ctrl {
109 /* DMA module registers */
110 typedef struct dma_ctrl {
120 /* SDRAM controller registers, offset: 0x180 */
121 typedef struct sdram_ctrl {
129 /* Watchdog registers */
130 typedef struct wdog_ctrl {
141 /* PLIC module registers */
142 typedef struct plic_ctrl {
219 /* USB module registers */
317 uchar usb_cfgram[1024];
320 #endif /* __IMMAP_5272__ */