spear.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * arch/arm/mach-spear6xx/include/mach/spear.h
  3. *
  4. * SPEAr6xx Machine family specific definition
  5. *
  6. * Copyright (C) 2009 ST Microelectronics
  7. * Rajeev Kumar<rajeev-dlh.kumar@st.com>
  8. *
  9. * This file is licensed under the terms of the GNU General Public
  10. * License version 2. This program is licensed "as is" without any
  11. * warranty of any kind, whether express or implied.
  12. */
  13. #ifndef __MACH_SPEAR6XX_H
  14. #define __MACH_SPEAR6XX_H
  15. #include <asm/memory.h>
  16. /* ICM1 - Low speed connection */
  17. #define SPEAR6XX_ICM1_BASE UL(0xD0000000)
  18. #define VA_SPEAR6XX_ICM1_BASE UL(0xFD000000)
  19. #define SPEAR6XX_ICM1_UART0_BASE UL(0xD0000000)
  20. #define VA_SPEAR6XX_ICM1_UART0_BASE (VA_SPEAR6XX_ICM1_2_BASE | SPEAR6XX_ICM1_UART0_BASE)
  21. /* ML-1, 2 - Multi Layer CPU Subsystem */
  22. #define SPEAR6XX_ML_CPU_BASE UL(0xF0000000)
  23. #define VA_SPEAR6XX_ML_CPU_BASE UL(0xF0000000)
  24. /* ICM3 - Basic Subsystem */
  25. #define SPEAR6XX_ICM3_SMI_CTRL_BASE UL(0xFC000000)
  26. #define VA_SPEAR6XX_ICM3_SMI_CTRL_BASE UL(0xFC000000)
  27. #define SPEAR6XX_ICM3_DMA_BASE UL(0xFC400000)
  28. #define SPEAR6XX_ICM3_SYS_CTRL_BASE UL(0xFCA00000)
  29. #define VA_SPEAR6XX_ICM3_SYS_CTRL_BASE (VA_SPEAR6XX_ICM3_SMI_CTRL_BASE | SPEAR6XX_ICM3_SYS_CTRL_BASE)
  30. #define SPEAR6XX_ICM3_MISC_REG_BASE UL(0xFCA80000)
  31. #define VA_SPEAR6XX_ICM3_MISC_REG_BASE (VA_SPEAR6XX_ICM3_SMI_CTRL_BASE | SPEAR6XX_ICM3_MISC_REG_BASE)
  32. /* Debug uart for linux, will be used for debug and uncompress messages */
  33. #define SPEAR_DBG_UART_BASE SPEAR6XX_ICM1_UART0_BASE
  34. #define VA_SPEAR_DBG_UART_BASE VA_SPEAR6XX_ICM1_UART0_BASE
  35. /* Sysctl base for spear platform */
  36. #define SPEAR_SYS_CTRL_BASE SPEAR6XX_ICM3_SYS_CTRL_BASE
  37. #define VA_SPEAR_SYS_CTRL_BASE VA_SPEAR6XX_ICM3_SYS_CTRL_BASE
  38. #endif /* __MACH_SPEAR6XX_H */