map.h 2.1 KB

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