1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * MCF5272 Internal Memory Map
5 * Copyright (c) 2003 Josef Baumgartner <josef.baumgartner@telex.de>
11 #define MMAP_CFG (CONFIG_SYS_MBAR + 0x00000000)
12 #define MMAP_INTC (CONFIG_SYS_MBAR + 0x00000020)
13 #define MMAP_FBCS (CONFIG_SYS_MBAR + 0x00000040)
14 #define MMAP_GPIO (CONFIG_SYS_MBAR + 0x00000080)
15 #define MMAP_QSPI (CONFIG_SYS_MBAR + 0x000000A0)
16 #define MMAP_PWM (CONFIG_SYS_MBAR + 0x000000C0)
17 #define MMAP_DMA0 (CONFIG_SYS_MBAR + 0x000000E0)
18 #define MMAP_UART0 (CONFIG_SYS_MBAR + 0x00000100)
19 #define MMAP_UART1 (CONFIG_SYS_MBAR + 0x00000140)
20 #define MMAP_SDRAM (CONFIG_SYS_MBAR + 0x00000180)
21 #define MMAP_TMR0 (CONFIG_SYS_MBAR + 0x00000200)
22 #define MMAP_TMR1 (CONFIG_SYS_MBAR + 0x00000220)
23 #define MMAP_TMR2 (CONFIG_SYS_MBAR + 0x00000240)
24 #define MMAP_TMR3 (CONFIG_SYS_MBAR + 0x00000260)
25 #define MMAP_WDOG (CONFIG_SYS_MBAR + 0x00000280)
26 #define MMAP_PLIC (CONFIG_SYS_MBAR + 0x00000300)
27 #define MMAP_FEC (CONFIG_SYS_MBAR + 0x00000840)
28 #define MMAP_USB (CONFIG_SYS_MBAR + 0x00001000)
30 #include <asm/coldfire/pwm.h>
32 /* System configuration registers */
33 typedef struct sys_ctrl {
44 /* Interrupt module registers */
45 typedef struct int_ctrl {
57 /* Chip select module registers */
58 typedef struct cs_ctlr {
77 /* GPIO port registers */
78 typedef struct gpio_ctrl {
92 /* DMA module registers */
93 typedef struct dma_ctrl {
103 /* SDRAM controller registers, offset: 0x180 */
104 typedef struct sdram_ctrl {
112 /* Watchdog registers */
113 typedef struct wdog_ctrl {
124 /* PLIC module registers */
125 typedef struct plic_ctrl {
202 /* USB module registers */
300 uchar usb_cfgram[1024];
303 #endif /* __IMMAP_5272__ */