Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 2 | /* |
| 3 | * MCF5253 Internal Memory Map |
| 4 | * |
| 5 | * Copyright (C) 2004-2007 Freescale Semiconductor, Inc. |
| 6 | * TsiChung Liew (Tsi-Chung.Liew@freescale.com) |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 7 | */ |
| 8 | |
TsiChung Liew | 7f1a046 | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 9 | #ifndef __IMMAP_5253__ |
| 10 | #define __IMMAP_5253__ |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 11 | |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 12 | #define MMAP_INTC (CONFIG_SYS_MBAR + 0x00000040) |
TsiChung Liew | 7f1a046 | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 13 | #define MMAP_FBCS (CONFIG_SYS_MBAR + 0x00000080) |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 14 | #define MMAP_DTMR0 (CONFIG_SYS_MBAR + 0x00000140) |
| 15 | #define MMAP_DTMR1 (CONFIG_SYS_MBAR + 0x00000180) |
| 16 | #define MMAP_UART0 (CONFIG_SYS_MBAR + 0x000001C0) |
| 17 | #define MMAP_UART1 (CONFIG_SYS_MBAR + 0x00000200) |
| 18 | #define MMAP_I2C0 (CONFIG_SYS_MBAR + 0x00000280) |
| 19 | #define MMAP_QSPI (CONFIG_SYS_MBAR + 0x00000400) |
| 20 | #define MMAP_CAN0 (CONFIG_SYS_MBAR + 0x00010000) |
| 21 | #define MMAP_CAN1 (CONFIG_SYS_MBAR + 0x00011000) |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 22 | |
TsiChung Liew | f9556a7 | 2010-03-09 19:17:52 -0600 | [diff] [blame] | 23 | #define MMAP_PAR (CONFIG_SYS_MBAR2 + 0x0000019C) |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 24 | #define MMAP_I2C1 (CONFIG_SYS_MBAR2 + 0x00000440) |
| 25 | #define MMAP_UART2 (CONFIG_SYS_MBAR2 + 0x00000C00) |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 26 | |
TsiChung Liew | 7f1a046 | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 27 | #include <asm/coldfire/ata.h> |
| 28 | #include <asm/coldfire/flexbus.h> |
| 29 | #include <asm/coldfire/flexcan.h> |
| 30 | #include <asm/coldfire/qspi.h> |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 31 | |
TsiChung Liew | 7f1a046 | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 32 | typedef struct canex_ctrl { |
| 33 | can_msg_t msg[32]; /* 0x80 Message Buffer 0-31 */ |
| 34 | } canex_t; |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 35 | |
TsiChung Liew | 7f1a046 | 2008-10-21 10:03:07 +0000 | [diff] [blame] | 36 | #endif /* __IMMAP_5253__ */ |