msmhwiobase.h 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. /*
  2. * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  11. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  13. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  14. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. #ifndef __MSMHWIOBASE_H__
  17. #define __MSMHWIOBASE_H__
  18. #define WCSS_WCSS_BASE 0x00000000
  19. #define WCSS_WCSS_BASE_SIZE 0x01000000
  20. #define WCSS_WCSS_BASE_PHYS 0x00000000
  21. #define QDSS_STM_SIZE_BASE 0x00100000
  22. #define QDSS_STM_SIZE_BASE_SIZE 0x100000000
  23. #define QDSS_STM_SIZE_BASE_PHYS 0x00100000
  24. #define BOOT_ROM_SIZE_BASE 0x00200000
  25. #define BOOT_ROM_SIZE_BASE_SIZE 0x100000000
  26. #define BOOT_ROM_SIZE_BASE_PHYS 0x00200000
  27. #define SYSTEM_IRAM_SIZE_BASE 0x00400000
  28. #define SYSTEM_IRAM_SIZE_BASE_SIZE 0x100000000
  29. #define SYSTEM_IRAM_SIZE_BASE_PHYS 0x00400000
  30. #define BOOT_ROM_START_ADDRESS_BASE 0x01200000
  31. #define BOOT_ROM_START_ADDRESS_BASE_SIZE 0x100000000
  32. #define BOOT_ROM_START_ADDRESS_BASE_PHYS 0x01200000
  33. #define BOOT_ROM_END_ADDRESS_BASE 0x013fffff
  34. #define BOOT_ROM_END_ADDRESS_BASE_SIZE 0x100000000
  35. #define BOOT_ROM_END_ADDRESS_BASE_PHYS 0x013fffff
  36. #define SYSTEM_IRAM_START_ADDRESS_BASE 0x01400000
  37. #define SYSTEM_IRAM_START_ADDRESS_BASE_SIZE 0x100000000
  38. #define SYSTEM_IRAM_START_ADDRESS_BASE_PHYS 0x01400000
  39. #define SYSTEM_IRAM_END_ADDRESS_BASE 0x017fffff
  40. #define SYSTEM_IRAM_END_ADDRESS_BASE_SIZE 0x100000000
  41. #define SYSTEM_IRAM_END_ADDRESS_BASE_PHYS 0x017fffff
  42. #define QDSS_STM_BASE 0x01800000
  43. #define QDSS_STM_BASE_SIZE 0x100000000
  44. #define QDSS_STM_BASE_PHYS 0x01800000
  45. #define QDSS_STM_END_BASE 0x018fffff
  46. #define QDSS_STM_END_BASE_SIZE 0x100000000
  47. #define QDSS_STM_END_BASE_PHYS 0x018fffff
  48. #define TLMM_BASE 0x01900000
  49. #define TLMM_BASE_SIZE 0x00200000
  50. #define TLMM_BASE_PHYS 0x01900000
  51. #define CORE_TOP_CSR_BASE 0x01b00000
  52. #define CORE_TOP_CSR_BASE_SIZE 0x00040000
  53. #define CORE_TOP_CSR_BASE_PHYS 0x01b00000
  54. #define BLSP1_BLSP_BASE 0x01b40000
  55. #define BLSP1_BLSP_BASE_SIZE 0x00040000
  56. #define BLSP1_BLSP_BASE_PHYS 0x01b40000
  57. #define SOC_WFSS_CE_REG_BASE 0x01b80000
  58. #define SOC_WFSS_CE_REG_BASE_SIZE 0x0001c000
  59. #define SOC_WFSS_CE_REG_BASE_PHYS 0x01b80000
  60. #define WL_TLMM_BASE 0x01bc0000
  61. #define WL_TLMM_BASE_SIZE 0x00020000
  62. #define WL_TLMM_BASE_PHYS 0x01bc0000
  63. #define MEMSS_CSR_BASE 0x01be0000
  64. #define MEMSS_CSR_BASE_SIZE 0x0000001c
  65. #define MEMSS_CSR_BASE_PHYS 0x01be0000
  66. #define TSENS_SROT_BASE 0x01bf0000
  67. #define TSENS_SROT_BASE_SIZE 0x00001000
  68. #define TSENS_SROT_BASE_PHYS 0x01bf0000
  69. #define TSENS_TM_BASE 0x01bf1000
  70. #define TSENS_TM_BASE_SIZE 0x00001000
  71. #define TSENS_TM_BASE_PHYS 0x01bf1000
  72. #define QDSS_APB_DEC_QDSS_APB_BASE 0x01c00000
  73. #define QDSS_APB_DEC_QDSS_APB_BASE_SIZE 0x00080000
  74. #define QDSS_APB_DEC_QDSS_APB_BASE_PHYS 0x01c00000
  75. #define QDSS_WRAPPER_TOP_BASE 0x01c80000
  76. #define QDSS_WRAPPER_TOP_BASE_SIZE 0x0007fffd
  77. #define QDSS_WRAPPER_TOP_BASE_PHYS 0x01c80000
  78. #define QDSS_APB_WCSS_DBG_DEC_QDSS_APB_WCSSDBG_BASE 0x01d00000
  79. #define QDSS_APB_WCSS_DBG_DEC_QDSS_APB_WCSSDBG_BASE_SIZE 0x00100000
  80. #define QDSS_APB_WCSS_DBG_DEC_QDSS_APB_WCSSDBG_BASE_PHYS 0x01d00000
  81. #define PCIE_PCIE_TOP_WRAPPER_BASE 0x01e00000
  82. #define PCIE_PCIE_TOP_WRAPPER_BASE_SIZE 0x00020000
  83. #define PCIE_PCIE_TOP_WRAPPER_BASE_PHYS 0x01e00000
  84. #define SECURITY_CONTROL_WLAN_BASE 0x01e20000
  85. #define SECURITY_CONTROL_WLAN_BASE_SIZE 0x00008000
  86. #define SECURITY_CONTROL_WLAN_BASE_PHYS 0x01e20000
  87. #define EDPD_CAL_ACC_BASE 0x01e28000
  88. #define EDPD_CAL_ACC_BASE_SIZE 0x00003000
  89. #define EDPD_CAL_ACC_BASE_PHYS 0x01e28000
  90. #define CPR_CX_CPR3_BASE 0x01e30000
  91. #define CPR_CX_CPR3_BASE_SIZE 0x00004000
  92. #define CPR_CX_CPR3_BASE_PHYS 0x01e30000
  93. #define CPR_MX_CPR3_BASE 0x01e34000
  94. #define CPR_MX_CPR3_BASE_SIZE 0x00004000
  95. #define CPR_MX_CPR3_BASE_PHYS 0x01e34000
  96. #define GCC_GCC_BASE 0x01e40000
  97. #define GCC_GCC_BASE_SIZE 0x000003e8
  98. #define GCC_GCC_BASE_PHYS 0x01e40000
  99. #define PRNG_PRNG_TOP_BASE 0x01e50000
  100. #define PRNG_PRNG_TOP_BASE_SIZE 0x00010000
  101. #define PRNG_PRNG_TOP_BASE_PHYS 0x01e50000
  102. #define PCNOC_0_BUS_TIMEOUT_BASE 0x01e60000
  103. #define PCNOC_0_BUS_TIMEOUT_BASE_SIZE 0x00001000
  104. #define PCNOC_0_BUS_TIMEOUT_BASE_PHYS 0x01e60000
  105. #define PCNOC_1_BUS_TIMEOUT_BASE 0x01e61000
  106. #define PCNOC_1_BUS_TIMEOUT_BASE_SIZE 0x00001000
  107. #define PCNOC_1_BUS_TIMEOUT_BASE_PHYS 0x01e61000
  108. #define PCNOC_2_BUS_TIMEOUT_BASE 0x01e62000
  109. #define PCNOC_2_BUS_TIMEOUT_BASE_SIZE 0x00001000
  110. #define PCNOC_2_BUS_TIMEOUT_BASE_PHYS 0x01e62000
  111. #define PCNOC_3_BUS_TIMEOUT_BASE 0x01e63000
  112. #define PCNOC_3_BUS_TIMEOUT_BASE_SIZE 0x00001000
  113. #define PCNOC_3_BUS_TIMEOUT_BASE_PHYS 0x01e63000
  114. #define RRI_PREFETCH_REG_BASE 0x01e70000
  115. #define RRI_PREFETCH_REG_BASE_SIZE 0x00010000
  116. #define RRI_PREFETCH_REG_BASE_PHYS 0x01e70000
  117. #define SYSTEM_NOC_BASE 0x01e80000
  118. #define SYSTEM_NOC_BASE_SIZE 0x0000a000
  119. #define SYSTEM_NOC_BASE_PHYS 0x01e80000
  120. #define PC_NOC_BASE 0x01f00000
  121. #define PC_NOC_BASE_SIZE 0x00003880
  122. #define PC_NOC_BASE_PHYS 0x01f00000
  123. #define WLAON_WL_AON_REG_BASE 0x01f80000
  124. #define WLAON_WL_AON_REG_BASE_SIZE 0x000007c8
  125. #define WLAON_WL_AON_REG_BASE_PHYS 0x01f80000
  126. #define SYSPM_SYSPM_REG_BASE 0x01f82000
  127. #define SYSPM_SYSPM_REG_BASE_SIZE 0x00001000
  128. #define SYSPM_SYSPM_REG_BASE_PHYS 0x01f82000
  129. #define PMU_WLAN_PMU_TOP_BASE 0x01f88000
  130. #define PMU_WLAN_PMU_TOP_BASE_SIZE 0x00000340
  131. #define PMU_WLAN_PMU_TOP_BASE_PHYS 0x01f88000
  132. #define PMU_NOC_BASE 0x01f8a000
  133. #define PMU_NOC_BASE_SIZE 0x00000080
  134. #define PMU_NOC_BASE_PHYS 0x01f8a000
  135. #define PCIE_ATU_REGION_BASE 0x04000000
  136. #define PCIE_ATU_REGION_BASE_SIZE 0x100000000
  137. #define PCIE_ATU_REGION_BASE_PHYS 0x04000000
  138. #define PCIE_ATU_REGION_SIZE_BASE 0x40000000
  139. #define PCIE_ATU_REGION_SIZE_BASE_SIZE 0x100000000
  140. #define PCIE_ATU_REGION_SIZE_BASE_PHYS 0x40000000
  141. #define PCIE_ATU_REGION_END_BASE 0x43ffffff
  142. #define PCIE_ATU_REGION_END_BASE_SIZE 0x100000000
  143. #define PCIE_ATU_REGION_END_BASE_PHYS 0x43ffffff
  144. #endif