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 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | * SPDX-License-Identifier: GPL-2.0+ |
TsiChungLiew | a1436a8 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 8 | */ |
| 9 | |
TsiChung Liew | 012522f | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 10 | #ifndef __IMMAP_5253__ |
| 11 | #define __IMMAP_5253__ |
TsiChungLiew | a1436a8 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 12 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 13 | #define MMAP_INTC (CONFIG_SYS_MBAR + 0x00000040) |
TsiChung Liew | 012522f | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 14 | #define MMAP_FBCS (CONFIG_SYS_MBAR + 0x00000080) |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 15 | #define MMAP_DTMR0 (CONFIG_SYS_MBAR + 0x00000140) |
| 16 | #define MMAP_DTMR1 (CONFIG_SYS_MBAR + 0x00000180) |
| 17 | #define MMAP_UART0 (CONFIG_SYS_MBAR + 0x000001C0) |
| 18 | #define MMAP_UART1 (CONFIG_SYS_MBAR + 0x00000200) |
| 19 | #define MMAP_I2C0 (CONFIG_SYS_MBAR + 0x00000280) |
| 20 | #define MMAP_QSPI (CONFIG_SYS_MBAR + 0x00000400) |
| 21 | #define MMAP_CAN0 (CONFIG_SYS_MBAR + 0x00010000) |
| 22 | #define MMAP_CAN1 (CONFIG_SYS_MBAR + 0x00011000) |
TsiChungLiew | a1436a8 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 23 | |
TsiChung Liew | 52affe0 | 2010-03-09 19:17:52 -0600 | [diff] [blame] | 24 | #define MMAP_PAR (CONFIG_SYS_MBAR2 + 0x0000019C) |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 25 | #define MMAP_I2C1 (CONFIG_SYS_MBAR2 + 0x00000440) |
| 26 | #define MMAP_UART2 (CONFIG_SYS_MBAR2 + 0x00000C00) |
TsiChungLiew | a1436a8 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 27 | |
TsiChung Liew | 012522f | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 28 | #include <asm/coldfire/ata.h> |
| 29 | #include <asm/coldfire/flexbus.h> |
| 30 | #include <asm/coldfire/flexcan.h> |
| 31 | #include <asm/coldfire/qspi.h> |
TsiChungLiew | a1436a8 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 32 | |
TsiChung Liew | 012522f | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 33 | typedef struct canex_ctrl { |
| 34 | can_msg_t msg[32]; /* 0x80 Message Buffer 0-31 */ |
| 35 | } canex_t; |
TsiChungLiew | a1436a8 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 36 | |
TsiChung Liew | 012522f | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 37 | #endif /* __IMMAP_5253__ */ |