blob: 28cd107a82a7d24ee658454d8a490995f7c22db3 [file] [log] [blame]
TsiChungLiew34674692007-08-16 13:20:50 -05001/*
2 * MCF5253 Internal Memory Map
3 *
4 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
5 * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
6 *
7 * See file CREDITS for list of people who contributed to this
8 * project.
9 *
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.
14 *
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.
19 *
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,
23 * MA 02111-1307 USA
24 */
25
TsiChung Liew7f1a0462008-10-21 10:03:07 +000026#ifndef __IMMAP_5253__
27#define __IMMAP_5253__
TsiChungLiew34674692007-08-16 13:20:50 -050028
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020029#define MMAP_INTC (CONFIG_SYS_MBAR + 0x00000040)
TsiChung Liew7f1a0462008-10-21 10:03:07 +000030#define MMAP_FBCS (CONFIG_SYS_MBAR + 0x00000080)
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020031#define MMAP_DTMR0 (CONFIG_SYS_MBAR + 0x00000140)
32#define MMAP_DTMR1 (CONFIG_SYS_MBAR + 0x00000180)
33#define MMAP_UART0 (CONFIG_SYS_MBAR + 0x000001C0)
34#define MMAP_UART1 (CONFIG_SYS_MBAR + 0x00000200)
35#define MMAP_I2C0 (CONFIG_SYS_MBAR + 0x00000280)
36#define MMAP_QSPI (CONFIG_SYS_MBAR + 0x00000400)
37#define MMAP_CAN0 (CONFIG_SYS_MBAR + 0x00010000)
38#define MMAP_CAN1 (CONFIG_SYS_MBAR + 0x00011000)
TsiChungLiew34674692007-08-16 13:20:50 -050039
TsiChung Liewf9556a72010-03-09 19:17:52 -060040#define MMAP_PAR (CONFIG_SYS_MBAR2 + 0x0000019C)
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020041#define MMAP_I2C1 (CONFIG_SYS_MBAR2 + 0x00000440)
42#define MMAP_UART2 (CONFIG_SYS_MBAR2 + 0x00000C00)
TsiChungLiew34674692007-08-16 13:20:50 -050043
TsiChung Liew7f1a0462008-10-21 10:03:07 +000044#include <asm/coldfire/ata.h>
45#include <asm/coldfire/flexbus.h>
46#include <asm/coldfire/flexcan.h>
47#include <asm/coldfire/qspi.h>
TsiChungLiew34674692007-08-16 13:20:50 -050048
TsiChung Liew7f1a0462008-10-21 10:03:07 +000049typedef struct canex_ctrl {
50 can_msg_t msg[32]; /* 0x80 Message Buffer 0-31 */
51} canex_t;
TsiChungLiew34674692007-08-16 13:20:50 -050052
TsiChung Liew7f1a0462008-10-21 10:03:07 +000053#endif /* __IMMAP_5253__ */