qcom,sc8180x.h 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
  2. /*
  3. * Qualcomm SC8180x interconnect IDs
  4. *
  5. * Copyright (c) 2021, The Linux Foundation. All rights reserved.
  6. * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
  7. */
  8. #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SC8180X_H
  9. #define __DT_BINDINGS_INTERCONNECT_QCOM_SC8180X_H
  10. #define MASTER_APPSS_PROC 0
  11. #define MASTER_AMPSS_M0 MASTER_APPSS_PROC
  12. #define MASTER_GPU_TCU 1
  13. #define MASTER_SYS_TCU 2
  14. #define MASTER_IPA_CORE 3
  15. #define MASTER_LLCC 4
  16. #define MASTER_A1NOC_CFG 5
  17. #define MASTER_A2NOC_CFG 6
  18. #define MASTER_CNOC_DC_NOC 7
  19. #define MASTER_GEM_NOC_CFG 8
  20. #define MASTER_CNOC_MNOC_CFG 9
  21. #define MASTER_QDSS_BAM 10
  22. #define MASTER_QSPI_0 11
  23. #define MASTER_QSPI_1 12
  24. #define MASTER_QUP_0 13
  25. #define MASTER_QUP_1 14
  26. #define MASTER_QUP_2 15
  27. #define MASTER_SNOC_CFG 16
  28. #define MASTER_A1NOC_SNOC 17
  29. #define MASTER_A2NOC_SNOC 18
  30. #define MASTER_COMPUTE_NOC 19
  31. #define MASTER_GEM_NOC_SNOC 20
  32. #define MASTER_GFX3D 21
  33. #define MASTER_MNOC_HF_MEM_NOC 22
  34. #define MASTER_MNOC_SF_MEM_NOC 23
  35. #define MASTER_NPU 24
  36. #define MASTER_GEM_NOC_PCIE_SNOC 25
  37. #define MASTER_SNOC_CNOC 26
  38. #define MASTER_SNOC_GC_MEM_NOC 27
  39. #define MASTER_SNOC_SF_MEM_NOC 28
  40. #define MASTER_CAMNOC_HF0 29
  41. #define MASTER_CAMNOC_HF0_UNCOMP 30
  42. #define MASTER_CAMNOC_HF1 31
  43. #define MASTER_CAMNOC_HF1_UNCOMP 32
  44. #define MASTER_CAMNOC_SF 33
  45. #define MASTER_CAMNOC_SF_UNCOMP 34
  46. #define MASTER_CRYPTO 35
  47. #define MASTER_ECC 36
  48. #define MASTER_IPA 37
  49. #define MASTER_MDP0 38
  50. #define MASTER_MDP1 39
  51. #define MASTER_PIMEM 40
  52. #define MASTER_ROTATOR 41
  53. #define MASTER_VIDEO_P0 42
  54. #define MASTER_VIDEO_P1 43
  55. #define MASTER_VIDEO_PROC 44
  56. #define MASTER_EMAC 45
  57. #define MASTER_GIC 46
  58. #define MASTER_PCIE_0 47
  59. #define MASTER_PCIE_1 48
  60. #define MASTER_PCIE_2 49
  61. #define MASTER_PCIE_3 50
  62. #define MASTER_QDSS_ETR 51
  63. #define MASTER_SDCC_2 52
  64. #define MASTER_SDCC_4 53
  65. #define MASTER_UFS_CARD 54
  66. #define MASTER_UFS_GEN4 55
  67. #define MASTER_UFS_MEM 56
  68. #define MASTER_USB3_0 57
  69. #define MASTER_USB3_1 58
  70. #define MASTER_USB3_2 59
  71. #define MASTER_SENSORS_AHB 60
  72. #define SLAVE_EBI1 512
  73. #define SLAVE_IPA_CORE 513
  74. #define SLAVE_A1NOC_CFG 514
  75. #define SLAVE_A2NOC_CFG 515
  76. #define SLAVE_AHB2PHY_CENTER 516
  77. #define SLAVE_AHB2PHY_EAST 517
  78. #define SLAVE_AHB2PHY_WEST 518
  79. #define SLAVE_AHB2PHY_SOUTH 519
  80. #define SLAVE_AOP 520
  81. #define SLAVE_AOSS 521
  82. #define SLAVE_APPSS 522
  83. #define SLAVE_CAMERA_CFG 523
  84. #define SLAVE_CLK_CTL 524
  85. #define SLAVE_CDSP_CFG 525
  86. #define SLAVE_RBCPR_CX_CFG 526
  87. #define SLAVE_RBCPR_MMCX_CFG 527
  88. #define SLAVE_RBCPR_MX_CFG 528
  89. #define SLAVE_CRYPTO_0_CFG 529
  90. #define SLAVE_CNOC_DDRSS 530
  91. #define SLAVE_DISPLAY_CFG 531
  92. #define SLAVE_EMAC_CFG 532
  93. #define SLAVE_GEM_NOC_CFG 533
  94. #define SLAVE_GLM 534
  95. #define SLAVE_GFX3D_CFG 535
  96. #define SLAVE_IMEM_CFG 536
  97. #define SLAVE_IPA_CFG 537
  98. #define SLAVE_LLCC_CFG 538
  99. #define SLAVE_MSS_PROC_MS_MPU_CFG 539
  100. #define SLAVE_CNOC_MNOC_CFG 540
  101. #define SLAVE_NPU_CFG 541
  102. #define SLAVE_PCIE_0_CFG 542
  103. #define SLAVE_PCIE_1_CFG 543
  104. #define SLAVE_PCIE_2_CFG 544
  105. #define SLAVE_PCIE_3_CFG 545
  106. #define SLAVE_PDM 546
  107. #define SLAVE_PIMEM_CFG 547
  108. #define SLAVE_PRNG 548
  109. #define SLAVE_QDSS_CFG 549
  110. #define SLAVE_QSPI_0 550
  111. #define SLAVE_QSPI_1 551
  112. #define SLAVE_QUP_1 552
  113. #define SLAVE_QUP_2 553
  114. #define SLAVE_QUP_0 554
  115. #define SLAVE_SDCC_2 555
  116. #define SLAVE_SDCC_4 556
  117. #define SLAVE_SECURITY 557
  118. #define SLAVE_SNOC_CFG 558
  119. #define SLAVE_SPSS_CFG 559
  120. #define SLAVE_TCSR 560
  121. #define SLAVE_TLMM_EAST 561
  122. #define SLAVE_TLMM_SOUTH 562
  123. #define SLAVE_TLMM_WEST 563
  124. #define SLAVE_TSIF 564
  125. #define SLAVE_UFS_CARD_CFG 565
  126. #define SLAVE_UFS_MEM_0_CFG 566
  127. #define SLAVE_UFS_MEM_1_CFG 567
  128. #define SLAVE_USB3_0 568
  129. #define SLAVE_USB3_1 569
  130. #define SLAVE_USB3_2 570
  131. #define SLAVE_VENUS_CFG 571
  132. #define SLAVE_VSENSE_CTRL_CFG 572
  133. #define SLAVE_MNOC_SF_MEM_NOC 573
  134. #define SLAVE_A1NOC_SNOC 574
  135. #define SLAVE_A2NOC_SNOC 575
  136. #define SLAVE_CAMNOC_UNCOMP 576
  137. #define SLAVE_CDSP_MEM_NOC 577
  138. #define SLAVE_SNOC_CNOC 578
  139. #define SLAVE_ECC 579
  140. #define SLAVE_GEM_NOC_SNOC 580
  141. #define SLAVE_SNOC_GEM_NOC_GC 581
  142. #define SLAVE_SNOC_GEM_NOC_SF 582
  143. #define SLAVE_LLCC 583
  144. #define SLAVE_MNOC_HF_MEM_NOC 584
  145. #define SLAVE_ANOC_PCIE_GEM_NOC 585
  146. #define SLAVE_IMEM 586
  147. #define SLAVE_PIMEM 587
  148. #define SLAVE_SERVICE_A1NOC 588
  149. #define SLAVE_SERVICE_A2NOC 589
  150. #define SLAVE_SERVICE_CNOC 590
  151. #define SLAVE_SERVICE_GEM_NOC 591
  152. #define SLAVE_SERVICE_GEM_NOC_1 592
  153. #define SLAVE_SERVICE_MNOC 593
  154. #define SLAVE_SERVICE_SNOC 594
  155. #define SLAVE_PCIE_0 595
  156. #define SLAVE_PCIE_1 596
  157. #define SLAVE_PCIE_2 597
  158. #define SLAVE_PCIE_3 598
  159. #define SLAVE_QDSS_STM 599
  160. #define SLAVE_TCU 600
  161. #define MASTER_LLCC_DISP 1000
  162. #define MASTER_MNOC_HF_MEM_NOC_DISP 1001
  163. #define MASTER_MNOC_SF_MEM_NOC_DISP 1002
  164. #define MASTER_MDP0_DISP 1003
  165. #define MASTER_MDP1_DISP 1004
  166. #define MASTER_ROTATOR_DISP 1005
  167. #define SLAVE_EBI1_DISP 1512
  168. #define SLAVE_MNOC_SF_MEM_NOC_DISP 1513
  169. #define SLAVE_LLCC_DISP 1514
  170. #define SLAVE_MNOC_HF_MEM_NOC_DISP 1515
  171. #define MASTER_USB3 4
  172. #define A1NOC_SNOC_SLV 7
  173. #define MASTER_CRYPTO_CORE_0 8
  174. #define MASTER_PCIE 11
  175. #define A2NOC_SNOC_SLV 18
  176. #define SNOC_CNOC_MAS 0
  177. #define SLAVE_GRAPHICS_3D_CFG 20
  178. #define SLAVE_USB3 51
  179. #define MASTER_GRAPHICS_3D 5
  180. #define SLAVE_EBI_CH0 1
  181. #define MASTER_MDP_PORT0 4
  182. #define MASTER_MDP_PORT1 5
  183. #define A1NOC_SNOC_MAS 1
  184. #define A2NOC_SNOC_MAS 2
  185. #define SNOC_CNOC_SLV 7
  186. #define SLAVE_OCIMEM 10
  187. #endif