map.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /* arch/arm/mach-s3c2410/include/mach/map.h
  2. *
  3. * Copyright (c) 2003 Simtec Electronics
  4. * Ben Dooks <ben@simtec.co.uk>
  5. *
  6. * S3C2410 - 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
  14. #include <plat/map-base.h>
  15. #include <plat/map.h>
  16. #define S3C2410_ADDR(x) S3C_ADDR(x)
  17. /* USB host controller */
  18. #define S3C2410_PA_USBHOST (0x49000000)
  19. /* DMA controller */
  20. #define S3C2410_PA_DMA (0x4B000000)
  21. #define S3C24XX_SZ_DMA SZ_1M
  22. /* Clock and Power management */
  23. #define S3C2410_PA_CLKPWR (0x4C000000)
  24. /* LCD controller */
  25. #define S3C2410_PA_LCD (0x4D000000)
  26. #define S3C24XX_SZ_LCD SZ_1M
  27. /* NAND flash controller */
  28. #define S3C2410_PA_NAND (0x4E000000)
  29. /* IIC hardware controller */
  30. #define S3C2410_PA_IIC (0x54000000)
  31. /* IIS controller */
  32. #define S3C2410_PA_IIS (0x55000000)
  33. /* RTC */
  34. #define S3C2410_PA_RTC (0x57000000)
  35. #define S3C24XX_SZ_RTC SZ_1M
  36. /* ADC */
  37. #define S3C2410_PA_ADC (0x58000000)
  38. /* SPI */
  39. #define S3C2410_PA_SPI (0x59000000)
  40. /* SDI */
  41. #define S3C2410_PA_SDI (0x5A000000)
  42. /* CAMIF */
  43. #define S3C2440_PA_CAMIF (0x4F000000)
  44. #define S3C2440_SZ_CAMIF SZ_1M
  45. /* AC97 */
  46. #define S3C2440_PA_AC97 (0x5B000000)
  47. #define S3C2440_SZ_AC97 SZ_1M
  48. /* S3C2443/S3C2416 High-speed SD/MMC */
  49. #define S3C2443_PA_HSMMC (0x4A800000)
  50. #define S3C2416_PA_HSMMC0 (0x4AC00000)
  51. #define S3C2443_PA_FB (0x4C800000)
  52. /* S3C2412 memory and IO controls */
  53. #define S3C2412_PA_SSMC (0x4F000000)
  54. #define S3C2412_VA_SSMC S3C_ADDR_CPU(0x00000000)
  55. #define S3C2412_PA_EBI (0x48800000)
  56. #define S3C2412_VA_EBI S3C_ADDR_CPU(0x00010000)
  57. /* physical addresses of all the chip-select areas */
  58. #define S3C2410_CS0 (0x00000000)
  59. #define S3C2410_CS1 (0x08000000)
  60. #define S3C2410_CS2 (0x10000000)
  61. #define S3C2410_CS3 (0x18000000)
  62. #define S3C2410_CS4 (0x20000000)
  63. #define S3C2410_CS5 (0x28000000)
  64. #define S3C2410_CS6 (0x30000000)
  65. #define S3C2410_CS7 (0x38000000)
  66. #define S3C2410_SDRAM_PA (S3C2410_CS6)
  67. /* Use a single interface for common resources between S3C24XX cpus */
  68. #define S3C24XX_PA_IRQ S3C2410_PA_IRQ
  69. #define S3C24XX_PA_MEMCTRL S3C2410_PA_MEMCTRL
  70. #define S3C24XX_PA_DMA S3C2410_PA_DMA
  71. #define S3C24XX_PA_CLKPWR S3C2410_PA_CLKPWR
  72. #define S3C24XX_PA_LCD S3C2410_PA_LCD
  73. #define S3C24XX_PA_UART S3C2410_PA_UART
  74. #define S3C24XX_PA_TIMER S3C2410_PA_TIMER
  75. #define S3C24XX_PA_USBDEV S3C2410_PA_USBDEV
  76. #define S3C24XX_PA_WATCHDOG S3C2410_PA_WATCHDOG
  77. #define S3C24XX_PA_IIS S3C2410_PA_IIS
  78. #define S3C24XX_PA_GPIO S3C2410_PA_GPIO
  79. #define S3C24XX_PA_RTC S3C2410_PA_RTC
  80. #define S3C24XX_PA_ADC S3C2410_PA_ADC
  81. #define S3C24XX_PA_SPI S3C2410_PA_SPI
  82. #define S3C24XX_PA_SDI S3C2410_PA_SDI
  83. #define S3C24XX_PA_NAND S3C2410_PA_NAND
  84. #define S3C_PA_FB S3C2443_PA_FB
  85. #define S3C_PA_IIC S3C2410_PA_IIC
  86. #define S3C_PA_UART S3C24XX_PA_UART
  87. #define S3C_PA_USBHOST S3C2410_PA_USBHOST
  88. #define S3C_PA_HSMMC0 S3C2443_PA_HSMMC
  89. #define S3C_PA_HSMMC1 S3C2416_PA_HSMMC0
  90. #define S3C_PA_WDT S3C2410_PA_WATCHDOG
  91. #define S3C_PA_NAND S3C24XX_PA_NAND
  92. #endif /* __ASM_ARCH_MAP_H */