sm7150.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Qualcomm #define SM7150 interconnect IDs
  4. *
  5. * Copyright (c) 2020, The Linux Foundation. All rights reserved.
  6. * Copyright (c) 2024, Danila Tikhonov <danila@jiaxyga.com>
  7. */
  8. #ifndef __DRIVERS_INTERCONNECT_QCOM_SM7150_H
  9. #define __DRIVERS_INTERCONNECT_QCOM_SM7150_H
  10. #define SM7150_A1NOC_SNOC_MAS 0
  11. #define SM7150_A1NOC_SNOC_SLV 1
  12. #define SM7150_A2NOC_SNOC_MAS 2
  13. #define SM7150_A2NOC_SNOC_SLV 3
  14. #define SM7150_MASTER_A1NOC_CFG 4
  15. #define SM7150_MASTER_A2NOC_CFG 5
  16. #define SM7150_MASTER_AMPSS_M0 6
  17. #define SM7150_MASTER_CAMNOC_HF0 7
  18. #define SM7150_MASTER_CAMNOC_HF0_UNCOMP 8
  19. #define SM7150_MASTER_CAMNOC_NRT 9
  20. #define SM7150_MASTER_CAMNOC_NRT_UNCOMP 10
  21. #define SM7150_MASTER_CAMNOC_RT 11
  22. #define SM7150_MASTER_CAMNOC_RT_UNCOMP 12
  23. #define SM7150_MASTER_CAMNOC_SF 13
  24. #define SM7150_MASTER_CAMNOC_SF_UNCOMP 14
  25. #define SM7150_MASTER_CNOC_A2NOC 15
  26. #define SM7150_MASTER_CNOC_DC_NOC 16
  27. #define SM7150_MASTER_CNOC_MNOC_CFG 17
  28. #define SM7150_MASTER_COMPUTE_NOC 18
  29. #define SM7150_MASTER_CRYPTO_CORE_0 19
  30. #define SM7150_MASTER_EMMC 20
  31. #define SM7150_MASTER_GEM_NOC_CFG 21
  32. #define SM7150_MASTER_GEM_NOC_PCIE_SNOC 22
  33. #define SM7150_MASTER_GEM_NOC_SNOC 23
  34. #define SM7150_MASTER_GIC 24
  35. #define SM7150_MASTER_GRAPHICS_3D 25
  36. #define SM7150_MASTER_IPA 26
  37. #define SM7150_MASTER_LLCC 27
  38. #define SM7150_MASTER_MDP_PORT0 28
  39. #define SM7150_MASTER_MDP_PORT1 29
  40. #define SM7150_MASTER_MNOC_HF_MEM_NOC 30
  41. #define SM7150_MASTER_MNOC_SF_MEM_NOC 31
  42. #define SM7150_MASTER_NPU 32
  43. #define SM7150_MASTER_PCIE 33
  44. #define SM7150_MASTER_PIMEM 34
  45. #define SM7150_MASTER_QDSS_BAM 35
  46. #define SM7150_MASTER_QDSS_DAP 36
  47. #define SM7150_MASTER_QDSS_ETR 37
  48. #define SM7150_MASTER_QUP_0 38
  49. #define SM7150_MASTER_QUP_1 39
  50. #define SM7150_MASTER_ROTATOR 40
  51. #define SM7150_MASTER_SDCC_2 41
  52. #define SM7150_MASTER_SDCC_4 42
  53. #define SM7150_MASTER_SNOC_CFG 43
  54. #define SM7150_MASTER_SNOC_GC_MEM_NOC 44
  55. #define SM7150_MASTER_SNOC_SF_MEM_NOC 45
  56. #define SM7150_MASTER_SPDM 46
  57. #define SM7150_MASTER_SYS_TCU 47
  58. #define SM7150_MASTER_TSIF 48
  59. #define SM7150_MASTER_UFS_MEM 49
  60. #define SM7150_MASTER_USB3 50
  61. #define SM7150_MASTER_VIDEO_P0 51
  62. #define SM7150_MASTER_VIDEO_P1 52
  63. #define SM7150_MASTER_VIDEO_PROC 53
  64. #define SM7150_SLAVE_A1NOC_CFG 54
  65. #define SM7150_SLAVE_A2NOC_CFG 55
  66. #define SM7150_SLAVE_AHB2PHY_NORTH 56
  67. #define SM7150_SLAVE_AHB2PHY_SOUTH 57
  68. #define SM7150_SLAVE_AHB2PHY_WEST 58
  69. #define SM7150_SLAVE_ANOC_PCIE_GEM_NOC 59
  70. #define SM7150_SLAVE_AOP 60
  71. #define SM7150_SLAVE_AOSS 61
  72. #define SM7150_SLAVE_APPSS 62
  73. #define SM7150_SLAVE_CAMERA_CFG 63
  74. #define SM7150_SLAVE_CAMERA_NRT_THROTTLE_CFG 64
  75. #define SM7150_SLAVE_CAMERA_RT_THROTTLE_CFG 65
  76. #define SM7150_SLAVE_CAMNOC_UNCOMP 66
  77. #define SM7150_SLAVE_CDSP_CFG 67
  78. #define SM7150_SLAVE_CDSP_GEM_NOC 68
  79. #define SM7150_SLAVE_CLK_CTL 69
  80. #define SM7150_SLAVE_CNOC_A2NOC 70
  81. #define SM7150_SLAVE_CNOC_DDRSS 71
  82. #define SM7150_SLAVE_CNOC_MNOC_CFG 72
  83. #define SM7150_SLAVE_CRYPTO_0_CFG 73
  84. #define SM7150_SLAVE_DISPLAY_CFG 74
  85. #define SM7150_SLAVE_DISPLAY_THROTTLE_CFG 75
  86. #define SM7150_SLAVE_EBI_CH0 76
  87. #define SM7150_SLAVE_EMMC_CFG 77
  88. #define SM7150_SLAVE_GEM_NOC_CFG 78
  89. #define SM7150_SLAVE_GEM_NOC_SNOC 79
  90. #define SM7150_SLAVE_GLM 80
  91. #define SM7150_SLAVE_GRAPHICS_3D_CFG 81
  92. #define SM7150_SLAVE_IMEM_CFG 82
  93. #define SM7150_SLAVE_IPA_CFG 83
  94. #define SM7150_SLAVE_LLCC 84
  95. #define SM7150_SLAVE_LLCC_CFG 85
  96. #define SM7150_SLAVE_MNOC_HF_MEM_NOC 86
  97. #define SM7150_SLAVE_MNOC_SF_MEM_NOC 87
  98. #define SM7150_SLAVE_MSS_PROC_MS_MPU_CFG 88
  99. #define SM7150_SLAVE_OCIMEM 89
  100. #define SM7150_SLAVE_PCIE_CFG 90
  101. #define SM7150_SLAVE_PDM 91
  102. #define SM7150_SLAVE_PIMEM 92
  103. #define SM7150_SLAVE_PIMEM_CFG 93
  104. #define SM7150_SLAVE_PRNG 94
  105. #define SM7150_SLAVE_QDSS_CFG 95
  106. #define SM7150_SLAVE_QDSS_STM 96
  107. #define SM7150_SLAVE_QUP_0 97
  108. #define SM7150_SLAVE_QUP_1 98
  109. #define SM7150_SLAVE_RBCPR_CX_CFG 99
  110. #define SM7150_SLAVE_RBCPR_MX_CFG 100
  111. #define SM7150_SLAVE_SDCC_2 101
  112. #define SM7150_SLAVE_SDCC_4 102
  113. #define SM7150_SLAVE_SERVICE_A1NOC 103
  114. #define SM7150_SLAVE_SERVICE_A2NOC 104
  115. #define SM7150_SLAVE_SERVICE_CNOC 105
  116. #define SM7150_SLAVE_SERVICE_GEM_NOC 106
  117. #define SM7150_SLAVE_SERVICE_MNOC 107
  118. #define SM7150_SLAVE_SERVICE_SNOC 108
  119. #define SM7150_SLAVE_SNOC_CFG 109
  120. #define SM7150_SLAVE_SNOC_GEM_NOC_GC 110
  121. #define SM7150_SLAVE_SNOC_GEM_NOC_SF 111
  122. #define SM7150_SLAVE_SPDM_WRAPPER 112
  123. #define SM7150_SLAVE_TCSR 113
  124. #define SM7150_SLAVE_TCU 114
  125. #define SM7150_SLAVE_TLMM_NORTH 115
  126. #define SM7150_SLAVE_TLMM_SOUTH 116
  127. #define SM7150_SLAVE_TLMM_WEST 117
  128. #define SM7150_SLAVE_TSIF 118
  129. #define SM7150_SLAVE_UFS_MEM_CFG 119
  130. #define SM7150_SLAVE_USB3 120
  131. #define SM7150_SLAVE_VENUS_CFG 121
  132. #define SM7150_SLAVE_VENUS_CVP_THROTTLE_CFG 122
  133. #define SM7150_SLAVE_VENUS_THROTTLE_CFG 123
  134. #define SM7150_SLAVE_VSENSE_CTRL_CFG 124
  135. #define SM7150_SNOC_CNOC_MAS 125
  136. #define SM7150_SNOC_CNOC_SLV 126
  137. #endif