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 | |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 12 | #define MMAP_INTC (CFG_SYS_MBAR + 0x00000040) |
| 13 | #define MMAP_FBCS (CFG_SYS_MBAR + 0x00000080) |
| 14 | #define MMAP_DTMR0 (CFG_SYS_MBAR + 0x00000140) |
| 15 | #define MMAP_DTMR1 (CFG_SYS_MBAR + 0x00000180) |
| 16 | #define MMAP_UART0 (CFG_SYS_MBAR + 0x000001C0) |
| 17 | #define MMAP_UART1 (CFG_SYS_MBAR + 0x00000200) |
| 18 | #define MMAP_I2C0 (CFG_SYS_MBAR + 0x00000280) |
| 19 | #define MMAP_QSPI (CFG_SYS_MBAR + 0x00000400) |
| 20 | #define MMAP_CAN0 (CFG_SYS_MBAR + 0x00010000) |
| 21 | #define MMAP_CAN1 (CFG_SYS_MBAR + 0x00011000) |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 22 | |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 23 | #define MMAP_PAR (CFG_SYS_MBAR2 + 0x0000019C) |
| 24 | #define MMAP_I2C1 (CFG_SYS_MBAR2 + 0x00000440) |
| 25 | #define MMAP_UART2 (CFG_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__ */ |