TsiChungLiew | a1436a8 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 1 | /* |
| 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 Liew | 012522f | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 26 | #ifndef __IMMAP_5253__ |
| 27 | #define __IMMAP_5253__ |
TsiChungLiew | a1436a8 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 28 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 29 | #define MMAP_INTC (CONFIG_SYS_MBAR + 0x00000040) |
TsiChung Liew | 012522f | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 30 | #define MMAP_FBCS (CONFIG_SYS_MBAR + 0x00000080) |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 31 | #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) |
TsiChungLiew | a1436a8 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 39 | |
TsiChung Liew | 52affe0 | 2010-03-09 19:17:52 -0600 | [diff] [blame] | 40 | #define MMAP_PAR (CONFIG_SYS_MBAR2 + 0x0000019C) |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 41 | #define MMAP_I2C1 (CONFIG_SYS_MBAR2 + 0x00000440) |
| 42 | #define MMAP_UART2 (CONFIG_SYS_MBAR2 + 0x00000C00) |
TsiChungLiew | a1436a8 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 43 | |
TsiChung Liew | 012522f | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 44 | #include <asm/coldfire/ata.h> |
| 45 | #include <asm/coldfire/flexbus.h> |
| 46 | #include <asm/coldfire/flexcan.h> |
| 47 | #include <asm/coldfire/qspi.h> |
TsiChungLiew | a1436a8 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 48 | |
TsiChung Liew | 012522f | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 49 | typedef struct canex_ctrl { |
| 50 | can_msg_t msg[32]; /* 0x80 Message Buffer 0-31 */ |
| 51 | } canex_t; |
TsiChungLiew | a1436a8 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 52 | |
TsiChung Liew | 012522f | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 53 | #endif /* __IMMAP_5253__ */ |