map.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /*
  2. * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
  3. * http://www.samsung.com/
  4. *
  5. * EXYNOS4 - Memory map definitions
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #ifndef __ASM_ARCH_MAP_H
  12. #define __ASM_ARCH_MAP_H __FILE__
  13. #include <plat/map-base.h>
  14. /*
  15. * EXYNOS4 UART offset is 0x10000 but the older S5P SoCs are 0x400.
  16. * So need to define it, and here is to avoid redefinition warning.
  17. */
  18. #define S3C_UART_OFFSET (0x10000)
  19. #include <plat/map-s5p.h>
  20. #define EXYNOS_PA_CHIPID 0x10000000
  21. #define EXYNOS4_PA_SYSCON 0x10010000
  22. #define EXYNOS5_PA_SYSCON 0x10050100
  23. #define EXYNOS4_PA_CMU 0x10030000
  24. #define EXYNOS5_PA_CMU 0x10010000
  25. #define EXYNOS4_PA_SYSTIMER 0x10050000
  26. #define EXYNOS4_PA_WATCHDOG 0x10060000
  27. #define EXYNOS5_PA_WATCHDOG 0x101D0000
  28. #define EXYNOS4_PA_DMC0 0x10400000
  29. #define EXYNOS4_PA_DMC1 0x10410000
  30. #define EXYNOS4_PA_COMBINER 0x10440000
  31. #define EXYNOS5_PA_COMBINER 0x10440000
  32. #define EXYNOS4_PA_GIC_CPU 0x10480000
  33. #define EXYNOS4_PA_GIC_DIST 0x10490000
  34. #define EXYNOS5_PA_GIC_CPU 0x10482000
  35. #define EXYNOS5_PA_GIC_DIST 0x10481000
  36. #define EXYNOS4_PA_COREPERI 0x10500000
  37. #define EXYNOS4_PA_L2CC 0x10502000
  38. #define EXYNOS4_PA_SROMC 0x12570000
  39. #define EXYNOS5_PA_SROMC 0x12250000
  40. #define EXYNOS4_PA_HSPHY 0x125B0000
  41. #define EXYNOS4_PA_UART 0x13800000
  42. #define EXYNOS5_PA_UART 0x12C00000
  43. #define EXYNOS4_PA_TIMER 0x139D0000
  44. #define EXYNOS5_PA_TIMER 0x12DD0000
  45. /* Compatibility UART */
  46. #define EXYNOS5440_PA_UART0 0x000B0000
  47. #define S3C_VA_UARTx(x) (S3C_VA_UART + ((x) * S3C_UART_OFFSET))
  48. #endif /* __ASM_ARCH_MAP_H */