immap_5253.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * MCF5253 Internal Memory Map
  4. *
  5. * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
  6. * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  7. */
  8. #ifndef __IMMAP_5253__
  9. #define __IMMAP_5253__
  10. #define MMAP_INTC (CONFIG_SYS_MBAR + 0x00000040)
  11. #define MMAP_FBCS (CONFIG_SYS_MBAR + 0x00000080)
  12. #define MMAP_DTMR0 (CONFIG_SYS_MBAR + 0x00000140)
  13. #define MMAP_DTMR1 (CONFIG_SYS_MBAR + 0x00000180)
  14. #define MMAP_UART0 (CONFIG_SYS_MBAR + 0x000001C0)
  15. #define MMAP_UART1 (CONFIG_SYS_MBAR + 0x00000200)
  16. #define MMAP_I2C0 (CONFIG_SYS_MBAR + 0x00000280)
  17. #define MMAP_QSPI (CONFIG_SYS_MBAR + 0x00000400)
  18. #define MMAP_CAN0 (CONFIG_SYS_MBAR + 0x00010000)
  19. #define MMAP_CAN1 (CONFIG_SYS_MBAR + 0x00011000)
  20. #define MMAP_PAR (CONFIG_SYS_MBAR2 + 0x0000019C)
  21. #define MMAP_I2C1 (CONFIG_SYS_MBAR2 + 0x00000440)
  22. #define MMAP_UART2 (CONFIG_SYS_MBAR2 + 0x00000C00)
  23. #include <asm/coldfire/ata.h>
  24. #include <asm/coldfire/flexbus.h>
  25. #include <asm/coldfire/flexcan.h>
  26. #include <asm/coldfire/qspi.h>
  27. typedef struct canex_ctrl {
  28. can_msg_t msg[32]; /* 0x80 Message Buffer 0-31 */
  29. } canex_t;
  30. #endif /* __IMMAP_5253__ */