2 * ColdFire Internal Memory Map and Defines
4 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
5 * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
7 * See file CREDITS for list of people who contributed to this
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation; either version 2 of
13 * the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
30 #include <asm/immap_5329.h>
31 #include <asm/m5329.h>
33 #define CFG_FEC0_IOBASE (MMAP_FEC)
34 #define CFG_UART_BASE (MMAP_UART0 + (CFG_UART_PORT * 0x4000))
35 #define CFG_MCFRTC_BASE (MMAP_RTC)
39 #define CFG_UDELAY_BASE (MMAP_DTMR0)
40 #define CFG_TMR_BASE (MMAP_DTMR1)
41 #define CFG_TMRINTR_NO (INT0_HI_DTMR1)
42 #define CFG_TMRINTR_MASK (INTC_IPRH_INT33)
43 #define CFG_TMRINTR_PRI (6)
44 #define CFG_TIMER_PRESCALER (((gd->bus_clk / 1000000) - 1) << 8)
48 #define CFG_UDELAY_BASE (MMAP_PIT0)
49 #define CFG_PIT_BASE (MMAP_PIT1)
50 #define CFG_PIT_PRESCALE (6)
53 #define CFG_INTR_BASE (MMAP_INTC0)
54 #define CFG_NUM_IRQS (128)
55 #endif /* CONFIG_M5329 */
57 #endif /* __IMMAP_H */