sm8450.h 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * SM8450 interconnect IDs
  4. *
  5. * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
  6. * Copyright (c) 2021, Linaro Limited
  7. */
  8. #ifndef __DRIVERS_INTERCONNECT_QCOM_SM8450_H
  9. #define __DRIVERS_INTERCONNECT_QCOM_SM8450_H
  10. #define SM8450_MASTER_GPU_TCU 0
  11. #define SM8450_MASTER_SYS_TCU 1
  12. #define SM8450_MASTER_APPSS_PROC 2
  13. #define SM8450_MASTER_LLCC 3
  14. #define SM8450_MASTER_CNOC_LPASS_AG_NOC 4
  15. #define SM8450_MASTER_GIC_AHB 5
  16. #define SM8450_MASTER_CDSP_NOC_CFG 6
  17. #define SM8450_MASTER_QDSS_BAM 7
  18. #define SM8450_MASTER_QSPI_0 8
  19. #define SM8450_MASTER_QUP_0 9
  20. #define SM8450_MASTER_QUP_1 10
  21. #define SM8450_MASTER_QUP_2 11
  22. #define SM8450_MASTER_A1NOC_CFG 12
  23. #define SM8450_MASTER_A2NOC_CFG 13
  24. #define SM8450_MASTER_A1NOC_SNOC 14
  25. #define SM8450_MASTER_A2NOC_SNOC 15
  26. #define SM8450_MASTER_CAMNOC_HF 16
  27. #define SM8450_MASTER_CAMNOC_ICP 17
  28. #define SM8450_MASTER_CAMNOC_SF 18
  29. #define SM8450_MASTER_GEM_NOC_CNOC 19
  30. #define SM8450_MASTER_GEM_NOC_PCIE_SNOC 20
  31. #define SM8450_MASTER_GFX3D 21
  32. #define SM8450_MASTER_LPASS_ANOC 22
  33. #define SM8450_MASTER_MDP 23
  34. #define SM8450_MASTER_MDP0 SM8450_MASTER_MDP
  35. #define SM8450_MASTER_MDP1 SM8450_MASTER_MDP
  36. #define SM8450_MASTER_MSS_PROC 24
  37. #define SM8450_MASTER_CNOC_MNOC_CFG 25
  38. #define SM8450_MASTER_MNOC_HF_MEM_NOC 26
  39. #define SM8450_MASTER_MNOC_SF_MEM_NOC 27
  40. #define SM8450_MASTER_COMPUTE_NOC 28
  41. #define SM8450_MASTER_ANOC_PCIE_GEM_NOC 29
  42. #define SM8450_MASTER_PCIE_ANOC_CFG 30
  43. #define SM8450_MASTER_ROTATOR 31
  44. #define SM8450_MASTER_SNOC_CFG 32
  45. #define SM8450_MASTER_SNOC_GC_MEM_NOC 33
  46. #define SM8450_MASTER_SNOC_SF_MEM_NOC 34
  47. #define SM8450_MASTER_CDSP_HCP 35
  48. #define SM8450_MASTER_VIDEO 36
  49. #define SM8450_MASTER_VIDEO_P0 SM8450_MASTER_VIDEO
  50. #define SM8450_MASTER_VIDEO_P1 SM8450_MASTER_VIDEO
  51. #define SM8450_MASTER_VIDEO_CV_PROC 37
  52. #define SM8450_MASTER_VIDEO_PROC 38
  53. #define SM8450_MASTER_VIDEO_V_PROC 39
  54. #define SM8450_MASTER_QUP_CORE_0 40
  55. #define SM8450_MASTER_QUP_CORE_1 41
  56. #define SM8450_MASTER_QUP_CORE_2 42
  57. #define SM8450_MASTER_CRYPTO 43
  58. #define SM8450_MASTER_IPA 44
  59. #define SM8450_MASTER_LPASS_PROC 45
  60. #define SM8450_MASTER_CDSP_PROC 46
  61. #define SM8450_MASTER_PIMEM 47
  62. #define SM8450_MASTER_SENSORS_PROC 48
  63. #define SM8450_MASTER_SP 49
  64. #define SM8450_MASTER_GIC 50
  65. #define SM8450_MASTER_PCIE_0 51
  66. #define SM8450_MASTER_PCIE_1 52
  67. #define SM8450_MASTER_QDSS_ETR 53
  68. #define SM8450_MASTER_QDSS_ETR_1 54
  69. #define SM8450_MASTER_SDCC_2 55
  70. #define SM8450_MASTER_SDCC_4 56
  71. #define SM8450_MASTER_UFS_MEM 57
  72. #define SM8450_MASTER_USB3_0 58
  73. #define SM8450_SLAVE_EBI1 512
  74. #define SM8450_SLAVE_AHB2PHY_SOUTH 513
  75. #define SM8450_SLAVE_AHB2PHY_NORTH 514
  76. #define SM8450_SLAVE_AOSS 515
  77. #define SM8450_SLAVE_CAMERA_CFG 516
  78. #define SM8450_SLAVE_CLK_CTL 517
  79. #define SM8450_SLAVE_CDSP_CFG 518
  80. #define SM8450_SLAVE_RBCPR_CX_CFG 519
  81. #define SM8450_SLAVE_RBCPR_MMCX_CFG 520
  82. #define SM8450_SLAVE_RBCPR_MXA_CFG 521
  83. #define SM8450_SLAVE_RBCPR_MXC_CFG 522
  84. #define SM8450_SLAVE_CRYPTO_0_CFG 523
  85. #define SM8450_SLAVE_CX_RDPM 524
  86. #define SM8450_SLAVE_DISPLAY_CFG 525
  87. #define SM8450_SLAVE_GFX3D_CFG 526
  88. #define SM8450_SLAVE_IMEM_CFG 527
  89. #define SM8450_SLAVE_IPA_CFG 528
  90. #define SM8450_SLAVE_IPC_ROUTER_CFG 529
  91. #define SM8450_SLAVE_LPASS 530
  92. #define SM8450_SLAVE_LPASS_CORE_CFG 531
  93. #define SM8450_SLAVE_LPASS_LPI_CFG 532
  94. #define SM8450_SLAVE_LPASS_MPU_CFG 533
  95. #define SM8450_SLAVE_LPASS_TOP_CFG 534
  96. #define SM8450_SLAVE_CNOC_MSS 535
  97. #define SM8450_SLAVE_MX_RDPM 536
  98. #define SM8450_SLAVE_PCIE_0_CFG 537
  99. #define SM8450_SLAVE_PCIE_1_CFG 538
  100. #define SM8450_SLAVE_PDM 539
  101. #define SM8450_SLAVE_PIMEM_CFG 540
  102. #define SM8450_SLAVE_PRNG 541
  103. #define SM8450_SLAVE_QDSS_CFG 542
  104. #define SM8450_SLAVE_QSPI_0 543
  105. #define SM8450_SLAVE_QUP_0 544
  106. #define SM8450_SLAVE_QUP_1 545
  107. #define SM8450_SLAVE_QUP_2 546
  108. #define SM8450_SLAVE_SDCC_2 547
  109. #define SM8450_SLAVE_SDCC_4 548
  110. #define SM8450_SLAVE_SPSS_CFG 549
  111. #define SM8450_SLAVE_TCSR 550
  112. #define SM8450_SLAVE_TLMM 551
  113. #define SM8450_SLAVE_TME_CFG 552
  114. #define SM8450_SLAVE_UFS_MEM_CFG 553
  115. #define SM8450_SLAVE_USB3_0 554
  116. #define SM8450_SLAVE_VENUS_CFG 555
  117. #define SM8450_SLAVE_VSENSE_CTRL_CFG 556
  118. #define SM8450_SLAVE_A1NOC_CFG 557
  119. #define SM8450_SLAVE_A1NOC_SNOC 558
  120. #define SM8450_SLAVE_A2NOC_CFG 559
  121. #define SM8450_SLAVE_A2NOC_SNOC 560
  122. #define SM8450_SLAVE_DDRSS_CFG 561
  123. #define SM8450_SLAVE_GEM_NOC_CNOC 562
  124. #define SM8450_SLAVE_SNOC_GEM_NOC_GC 563
  125. #define SM8450_SLAVE_SNOC_GEM_NOC_SF 564
  126. #define SM8450_SLAVE_LLCC 565
  127. #define SM8450_SLAVE_MNOC_HF_MEM_NOC 566
  128. #define SM8450_SLAVE_MNOC_SF_MEM_NOC 567
  129. #define SM8450_SLAVE_CNOC_MNOC_CFG 568
  130. #define SM8450_SLAVE_CDSP_MEM_NOC 569
  131. #define SM8450_SLAVE_MEM_NOC_PCIE_SNOC 570
  132. #define SM8450_SLAVE_PCIE_ANOC_CFG 571
  133. #define SM8450_SLAVE_ANOC_PCIE_GEM_NOC 572
  134. #define SM8450_SLAVE_SNOC_CFG 573
  135. #define SM8450_SLAVE_LPASS_SNOC 574
  136. #define SM8450_SLAVE_QUP_CORE_0 575
  137. #define SM8450_SLAVE_QUP_CORE_1 576
  138. #define SM8450_SLAVE_QUP_CORE_2 577
  139. #define SM8450_SLAVE_IMEM 578
  140. #define SM8450_SLAVE_PIMEM 579
  141. #define SM8450_SLAVE_SERVICE_NSP_NOC 580
  142. #define SM8450_SLAVE_SERVICE_A1NOC 581
  143. #define SM8450_SLAVE_SERVICE_A2NOC 582
  144. #define SM8450_SLAVE_SERVICE_CNOC 583
  145. #define SM8450_SLAVE_SERVICE_MNOC 584
  146. #define SM8450_SLAVE_SERVICES_LPASS_AML_NOC 585
  147. #define SM8450_SLAVE_SERVICE_LPASS_AG_NOC 586
  148. #define SM8450_SLAVE_SERVICE_PCIE_ANOC 587
  149. #define SM8450_SLAVE_SERVICE_SNOC 588
  150. #define SM8450_SLAVE_PCIE_0 589
  151. #define SM8450_SLAVE_PCIE_1 590
  152. #define SM8450_SLAVE_QDSS_STM 591
  153. #define SM8450_SLAVE_TCU 592
  154. #define SM8450_MASTER_LLCC_DISP 1000
  155. #define SM8450_MASTER_MDP_DISP 1001
  156. #define SM8450_MASTER_MDP0_DISP SM8450_MASTER_MDP_DISP
  157. #define SM8450_MASTER_MDP1_DISP SM8450_MASTER_MDP_DISP
  158. #define SM8450_MASTER_MNOC_HF_MEM_NOC_DISP 1002
  159. #define SM8450_MASTER_MNOC_SF_MEM_NOC_DISP 1003
  160. #define SM8450_MASTER_ANOC_PCIE_GEM_NOC_DISP 1004
  161. #define SM8450_MASTER_ROTATOR_DISP 1005
  162. #define SM8450_SLAVE_EBI1_DISP 1512
  163. #define SM8450_SLAVE_LLCC_DISP 1513
  164. #define SM8450_SLAVE_MNOC_HF_MEM_NOC_DISP 1514
  165. #define SM8450_SLAVE_MNOC_SF_MEM_NOC_DISP 1515
  166. #endif