iomap.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. /*
  2. * arch/arm/mach-tegra/include/mach/iomap.h
  3. *
  4. * Copyright (C) 2010 Google, Inc.
  5. *
  6. * Author:
  7. * Colin Cross <ccross@google.com>
  8. * Erik Gilling <konkers@google.com>
  9. *
  10. * This software is licensed under the terms of the GNU General Public
  11. * License version 2, as published by the Free Software Foundation, and
  12. * may be copied, distributed, and modified under those terms.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. */
  20. #ifndef __MACH_TEGRA_IOMAP_H
  21. #define __MACH_TEGRA_IOMAP_H
  22. #include <asm/sizes.h>
  23. #define TEGRA_ARM_PERIF_BASE 0x50040000
  24. #define TEGRA_ARM_PERIF_SIZE SZ_8K
  25. #define TEGRA_ARM_INT_DIST_BASE 0x50041000
  26. #define TEGRA_ARM_INT_DIST_SIZE SZ_4K
  27. #define TEGRA_DISPLAY_BASE 0x54200000
  28. #define TEGRA_DISPLAY_SIZE SZ_256K
  29. #define TEGRA_DISPLAY2_BASE 0x54240000
  30. #define TEGRA_DISPLAY2_SIZE SZ_256K
  31. #define TEGRA_PRIMARY_ICTLR_BASE 0x60004000
  32. #define TEGRA_PRIMARY_ICTLR_SIZE SZ_64
  33. #define TEGRA_SECONDARY_ICTLR_BASE 0x60004100
  34. #define TEGRA_SECONDARY_ICTLR_SIZE SZ_64
  35. #define TEGRA_TERTIARY_ICTLR_BASE 0x60004200
  36. #define TEGRA_TERTIARY_ICTLR_SIZE SZ_64
  37. #define TEGRA_QUATERNARY_ICTLR_BASE 0x60004300
  38. #define TEGRA_QUATERNARY_ICTLR_SIZE SZ_64
  39. #define TEGRA_TMR1_BASE 0x60005000
  40. #define TEGRA_TMR1_SIZE SZ_8
  41. #define TEGRA_TMR2_BASE 0x60005008
  42. #define TEGRA_TMR2_SIZE SZ_8
  43. #define TEGRA_TMRUS_BASE 0x60005010
  44. #define TEGRA_TMRUS_SIZE SZ_64
  45. #define TEGRA_TMR3_BASE 0x60005050
  46. #define TEGRA_TMR3_SIZE SZ_8
  47. #define TEGRA_TMR4_BASE 0x60005058
  48. #define TEGRA_TMR4_SIZE SZ_8
  49. #define TEGRA_CLK_RESET_BASE 0x60006000
  50. #define TEGRA_CLK_RESET_SIZE SZ_4K
  51. #define TEGRA_FLOW_CTRL_BASE 0x60007000
  52. #define TEGRA_FLOW_CTRL_SIZE 20
  53. #define TEGRA_STATMON_BASE 0x6000C4000
  54. #define TEGRA_STATMON_SIZE SZ_1K
  55. #define TEGRA_GPIO_BASE 0x6000D000
  56. #define TEGRA_GPIO_SIZE SZ_4K
  57. #define TEGRA_EXCEPTION_VECTORS_BASE 0x6000F000
  58. #define TEGRA_EXCEPTION_VECTORS_SIZE SZ_4K
  59. #define TEGRA_APB_MISC_BASE 0x70000000
  60. #define TEGRA_APB_MISC_SIZE SZ_4K
  61. #define TEGRA_AC97_BASE 0x70002000
  62. #define TEGRA_AC97_SIZE SZ_512
  63. #define TEGRA_SPDIF_BASE 0x70002400
  64. #define TEGRA_SPDIF_SIZE SZ_512
  65. #define TEGRA_I2S1_BASE 0x70002800
  66. #define TEGRA_I2S1_SIZE SZ_256
  67. #define TEGRA_I2S2_BASE 0x70002A00
  68. #define TEGRA_I2S2_SIZE SZ_256
  69. #define TEGRA_UARTA_BASE 0x70006000
  70. #define TEGRA_UARTA_SIZE SZ_64
  71. #define TEGRA_UARTB_BASE 0x70006040
  72. #define TEGRA_UARTB_SIZE SZ_64
  73. #define TEGRA_UARTC_BASE 0x70006200
  74. #define TEGRA_UARTC_SIZE SZ_256
  75. #define TEGRA_UARTD_BASE 0x70006300
  76. #define TEGRA_UARTD_SIZE SZ_256
  77. #define TEGRA_UARTE_BASE 0x70006400
  78. #define TEGRA_UARTE_SIZE SZ_256
  79. #define TEGRA_NAND_BASE 0x70008000
  80. #define TEGRA_NAND_SIZE SZ_256
  81. #define TEGRA_HSMMC_BASE 0x70008500
  82. #define TEGRA_HSMMC_SIZE SZ_256
  83. #define TEGRA_SNOR_BASE 0x70009000
  84. #define TEGRA_SNOR_SIZE SZ_4K
  85. #define TEGRA_PWFM_BASE 0x7000A000
  86. #define TEGRA_PWFM_SIZE SZ_256
  87. #define TEGRA_MIPI_BASE 0x7000B000
  88. #define TEGRA_MIPI_SIZE SZ_256
  89. #define TEGRA_I2C_BASE 0x7000C000
  90. #define TEGRA_I2C_SIZE SZ_256
  91. #define TEGRA_TWC_BASE 0x7000C100
  92. #define TEGRA_TWC_SIZE SZ_256
  93. #define TEGRA_SPI_BASE 0x7000C380
  94. #define TEGRA_SPI_SIZE 48
  95. #define TEGRA_I2C2_BASE 0x7000C400
  96. #define TEGRA_I2C2_SIZE SZ_256
  97. #define TEGRA_I2C3_BASE 0x7000C500
  98. #define TEGRA_I2C3_SIZE SZ_256
  99. #define TEGRA_OWR_BASE 0x7000D000
  100. #define TEGRA_OWR_SIZE 80
  101. #define TEGRA_DVC_BASE 0x7000D000
  102. #define TEGRA_DVC_SIZE SZ_512
  103. #define TEGRA_SPI1_BASE 0x7000D400
  104. #define TEGRA_SPI1_SIZE SZ_512
  105. #define TEGRA_SPI2_BASE 0x7000D600
  106. #define TEGRA_SPI2_SIZE SZ_512
  107. #define TEGRA_SPI3_BASE 0x7000D800
  108. #define TEGRA_SPI3_SIZE SZ_512
  109. #define TEGRA_SPI4_BASE 0x7000DA00
  110. #define TEGRA_SPI4_SIZE SZ_512
  111. #define TEGRA_RTC_BASE 0x7000E000
  112. #define TEGRA_RTC_SIZE SZ_256
  113. #define TEGRA_KBC_BASE 0x7000E200
  114. #define TEGRA_KBC_SIZE SZ_256
  115. #define TEGRA_PMC_BASE 0x7000E400
  116. #define TEGRA_PMC_SIZE SZ_256
  117. #define TEGRA_MC_BASE 0x7000F000
  118. #define TEGRA_MC_SIZE SZ_1K
  119. #define TEGRA_EMC_BASE 0x7000F400
  120. #define TEGRA_EMC_SIZE SZ_1K
  121. #define TEGRA_FUSE_BASE 0x7000F800
  122. #define TEGRA_FUSE_SIZE SZ_1K
  123. #define TEGRA_KFUSE_BASE 0x7000FC00
  124. #define TEGRA_KFUSE_SIZE SZ_1K
  125. #define TEGRA_CSITE_BASE 0x70040000
  126. #define TEGRA_CSITE_SIZE SZ_256K
  127. #define TEGRA_USB_BASE 0xC5000000
  128. #define TEGRA_USB_SIZE SZ_16K
  129. #define TEGRA_USB1_BASE 0xC5004000
  130. #define TEGRA_USB1_SIZE SZ_16K
  131. #define TEGRA_USB2_BASE 0xC5008000
  132. #define TEGRA_USB2_SIZE SZ_16K
  133. #define TEGRA_SDMMC1_BASE 0xC8000000
  134. #define TEGRA_SDMMC1_SIZE SZ_512
  135. #define TEGRA_SDMMC2_BASE 0xC8000200
  136. #define TEGRA_SDMMC2_SIZE SZ_512
  137. #define TEGRA_SDMMC3_BASE 0xC8000400
  138. #define TEGRA_SDMMC3_SIZE SZ_512
  139. #define TEGRA_SDMMC4_BASE 0xC8000600
  140. #define TEGRA_SDMMC4_SIZE SZ_512
  141. #endif