blob: b5a4cb54a74d30a2526b46b610d59b5f1a178a76 [file] [log] [blame]
TsiChungLiewa1436a82007-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 Liew012522f2008-10-21 10:03:07 +000026#ifndef __IMMAP_5253__
27#define __IMMAP_5253__
TsiChungLiewa1436a82007-08-16 13:20:50 -050028
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020029#define MMAP_INTC (CONFIG_SYS_MBAR + 0x00000040)
TsiChung Liew012522f2008-10-21 10:03:07 +000030#define MMAP_FBCS (CONFIG_SYS_MBAR + 0x00000080)
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-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)
TsiChungLiewa1436a82007-08-16 13:20:50 -050039
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020040#define MMAP_I2C1 (CONFIG_SYS_MBAR2 + 0x00000440)
41#define MMAP_UART2 (CONFIG_SYS_MBAR2 + 0x00000C00)
TsiChungLiewa1436a82007-08-16 13:20:50 -050042
TsiChung Liew012522f2008-10-21 10:03:07 +000043#include <asm/coldfire/ata.h>
44#include <asm/coldfire/flexbus.h>
45#include <asm/coldfire/flexcan.h>
46#include <asm/coldfire/qspi.h>
TsiChungLiewa1436a82007-08-16 13:20:50 -050047
TsiChung Liew012522f2008-10-21 10:03:07 +000048typedef struct canex_ctrl {
49 can_msg_t msg[32]; /* 0x80 Message Buffer 0-31 */
50} canex_t;
TsiChungLiewa1436a82007-08-16 13:20:50 -050051
TsiChung Liew012522f2008-10-21 10:03:07 +000052#endif /* __IMMAP_5253__ */