immap_5253.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. #ifndef __IMMAP_5253__
  26. #define __IMMAP_5253__
  27. #define MMAP_INTC (CONFIG_SYS_MBAR + 0x00000040)
  28. #define MMAP_FBCS (CONFIG_SYS_MBAR + 0x00000080)
  29. #define MMAP_DTMR0 (CONFIG_SYS_MBAR + 0x00000140)
  30. #define MMAP_DTMR1 (CONFIG_SYS_MBAR + 0x00000180)
  31. #define MMAP_UART0 (CONFIG_SYS_MBAR + 0x000001C0)
  32. #define MMAP_UART1 (CONFIG_SYS_MBAR + 0x00000200)
  33. #define MMAP_I2C0 (CONFIG_SYS_MBAR + 0x00000280)
  34. #define MMAP_QSPI (CONFIG_SYS_MBAR + 0x00000400)
  35. #define MMAP_CAN0 (CONFIG_SYS_MBAR + 0x00010000)
  36. #define MMAP_CAN1 (CONFIG_SYS_MBAR + 0x00011000)
  37. #define MMAP_I2C1 (CONFIG_SYS_MBAR2 + 0x00000440)
  38. #define MMAP_UART2 (CONFIG_SYS_MBAR2 + 0x00000C00)
  39. #include <asm/coldfire/ata.h>
  40. #include <asm/coldfire/flexbus.h>
  41. #include <asm/coldfire/flexcan.h>
  42. #include <asm/coldfire/qspi.h>
  43. typedef struct canex_ctrl {
  44. can_msg_t msg[32]; /* 0x80 Message Buffer 0-31 */
  45. } canex_t;
  46. #endif /* __IMMAP_5253__ */