1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | /* |
3 | * Copyright (c) 2021, The Linux Foundation. All rights reserved. |
4 | */ |
5 | |
6 | #ifndef __DRIVERS_INTERCONNECT_QCOM_SC8280XP_H |
7 | #define __DRIVERS_INTERCONNECT_QCOM_SC8280XP_H |
8 | |
9 | #define SC8280XP_MASTER_GPU_TCU 0 |
10 | #define SC8280XP_MASTER_PCIE_TCU 1 |
11 | #define SC8280XP_MASTER_SYS_TCU 2 |
12 | #define SC8280XP_MASTER_APPSS_PROC 3 |
13 | /* 4 was used by SLAVE_IPA_CORE, now represented as RPMh clock */ |
14 | #define SC8280XP_MASTER_LLCC 5 |
15 | #define SC8280XP_MASTER_CNOC_LPASS_AG_NOC 6 |
16 | #define SC8280XP_MASTER_CDSP_NOC_CFG 7 |
17 | #define SC8280XP_MASTER_CDSPB_NOC_CFG 8 |
18 | #define SC8280XP_MASTER_QDSS_BAM 9 |
19 | #define SC8280XP_MASTER_QSPI_0 10 |
20 | #define SC8280XP_MASTER_QUP_0 11 |
21 | #define SC8280XP_MASTER_QUP_1 12 |
22 | #define SC8280XP_MASTER_QUP_2 13 |
23 | #define SC8280XP_MASTER_A1NOC_CFG 14 |
24 | #define SC8280XP_MASTER_A2NOC_CFG 15 |
25 | #define SC8280XP_MASTER_A1NOC_SNOC 16 |
26 | #define SC8280XP_MASTER_A2NOC_SNOC 17 |
27 | #define SC8280XP_MASTER_USB_NOC_SNOC 18 |
28 | #define SC8280XP_MASTER_CAMNOC_HF 19 |
29 | #define SC8280XP_MASTER_COMPUTE_NOC 20 |
30 | #define SC8280XP_MASTER_COMPUTE_NOC_1 21 |
31 | #define SC8280XP_MASTER_CNOC_DC_NOC 22 |
32 | #define SC8280XP_MASTER_GEM_NOC_CFG 23 |
33 | #define SC8280XP_MASTER_GEM_NOC_CNOC 24 |
34 | #define SC8280XP_MASTER_GEM_NOC_PCIE_SNOC 25 |
35 | #define SC8280XP_MASTER_GFX3D 26 |
36 | #define SC8280XP_MASTER_LPASS_ANOC 27 |
37 | #define SC8280XP_MASTER_MDP0 28 |
38 | #define SC8280XP_MASTER_MDP1 29 |
39 | #define SC8280XP_MASTER_MDP_CORE1_0 30 |
40 | #define SC8280XP_MASTER_MDP_CORE1_1 31 |
41 | #define SC8280XP_MASTER_CNOC_MNOC_CFG 32 |
42 | #define SC8280XP_MASTER_MNOC_HF_MEM_NOC 33 |
43 | #define SC8280XP_MASTER_MNOC_SF_MEM_NOC 34 |
44 | #define SC8280XP_MASTER_ANOC_PCIE_GEM_NOC 35 |
45 | #define SC8280XP_MASTER_ROTATOR 36 |
46 | #define SC8280XP_MASTER_ROTATOR_1 37 |
47 | #define SC8280XP_MASTER_SNOC_CFG 38 |
48 | #define SC8280XP_MASTER_SNOC_GC_MEM_NOC 39 |
49 | #define SC8280XP_MASTER_SNOC_SF_MEM_NOC 40 |
50 | #define SC8280XP_MASTER_VIDEO_P0 41 |
51 | #define SC8280XP_MASTER_VIDEO_P1 42 |
52 | #define SC8280XP_MASTER_VIDEO_PROC 43 |
53 | #define SC8280XP_MASTER_QUP_CORE_0 44 |
54 | #define SC8280XP_MASTER_QUP_CORE_1 45 |
55 | #define SC8280XP_MASTER_QUP_CORE_2 46 |
56 | #define SC8280XP_MASTER_CAMNOC_ICP 47 |
57 | #define SC8280XP_MASTER_CAMNOC_SF 48 |
58 | #define SC8280XP_MASTER_CRYPTO 49 |
59 | #define SC8280XP_MASTER_IPA 50 |
60 | #define SC8280XP_MASTER_LPASS_PROC 51 |
61 | #define SC8280XP_MASTER_CDSP_PROC 52 |
62 | #define SC8280XP_MASTER_CDSP_PROC_B 53 |
63 | #define SC8280XP_MASTER_PIMEM 54 |
64 | #define SC8280XP_MASTER_SENSORS_PROC 55 |
65 | #define SC8280XP_MASTER_SP 56 |
66 | #define SC8280XP_MASTER_EMAC 57 |
67 | #define SC8280XP_MASTER_EMAC_1 58 |
68 | #define SC8280XP_MASTER_GIC 59 |
69 | #define SC8280XP_MASTER_PCIE_0 60 |
70 | #define SC8280XP_MASTER_PCIE_1 61 |
71 | #define SC8280XP_MASTER_PCIE_2A 62 |
72 | #define SC8280XP_MASTER_PCIE_2B 63 |
73 | #define SC8280XP_MASTER_PCIE_3A 64 |
74 | #define SC8280XP_MASTER_PCIE_3B 65 |
75 | #define SC8280XP_MASTER_PCIE_4 66 |
76 | #define SC8280XP_MASTER_QDSS_ETR 67 |
77 | #define SC8280XP_MASTER_SDCC_2 68 |
78 | #define SC8280XP_MASTER_SDCC_4 69 |
79 | #define SC8280XP_MASTER_UFS_CARD 70 |
80 | #define SC8280XP_MASTER_UFS_MEM 71 |
81 | #define SC8280XP_MASTER_USB3_0 72 |
82 | #define SC8280XP_MASTER_USB3_1 73 |
83 | #define SC8280XP_MASTER_USB3_MP 74 |
84 | #define SC8280XP_MASTER_USB4_0 75 |
85 | #define SC8280XP_MASTER_USB4_1 76 |
86 | #define SC8280XP_SLAVE_EBI1 512 |
87 | /* 513 was used by SLAVE_IPA_CORE, now represented as RPMh clock */ |
88 | #define SC8280XP_SLAVE_AHB2PHY_0 514 |
89 | #define SC8280XP_SLAVE_AHB2PHY_1 515 |
90 | #define SC8280XP_SLAVE_AHB2PHY_2 516 |
91 | #define SC8280XP_SLAVE_AOSS 517 |
92 | #define SC8280XP_SLAVE_APPSS 518 |
93 | #define SC8280XP_SLAVE_CAMERA_CFG 519 |
94 | #define SC8280XP_SLAVE_CLK_CTL 520 |
95 | #define SC8280XP_SLAVE_CDSP_CFG 521 |
96 | #define SC8280XP_SLAVE_CDSP1_CFG 522 |
97 | #define SC8280XP_SLAVE_RBCPR_CX_CFG 523 |
98 | #define SC8280XP_SLAVE_RBCPR_MMCX_CFG 524 |
99 | #define SC8280XP_SLAVE_RBCPR_MX_CFG 525 |
100 | #define SC8280XP_SLAVE_CPR_NSPCX 526 |
101 | #define SC8280XP_SLAVE_CRYPTO_0_CFG 527 |
102 | #define SC8280XP_SLAVE_CX_RDPM 528 |
103 | #define SC8280XP_SLAVE_DCC_CFG 529 |
104 | #define SC8280XP_SLAVE_DISPLAY_CFG 530 |
105 | #define SC8280XP_SLAVE_DISPLAY1_CFG 531 |
106 | #define SC8280XP_SLAVE_EMAC_CFG 532 |
107 | #define SC8280XP_SLAVE_EMAC1_CFG 533 |
108 | #define SC8280XP_SLAVE_GFX3D_CFG 534 |
109 | #define SC8280XP_SLAVE_HWKM 535 |
110 | #define SC8280XP_SLAVE_IMEM_CFG 536 |
111 | #define SC8280XP_SLAVE_IPA_CFG 537 |
112 | #define SC8280XP_SLAVE_IPC_ROUTER_CFG 538 |
113 | #define SC8280XP_SLAVE_LLCC_CFG 539 |
114 | #define SC8280XP_SLAVE_LPASS 540 |
115 | #define SC8280XP_SLAVE_LPASS_CORE_CFG 541 |
116 | #define SC8280XP_SLAVE_LPASS_LPI_CFG 542 |
117 | #define SC8280XP_SLAVE_LPASS_MPU_CFG 543 |
118 | #define SC8280XP_SLAVE_LPASS_TOP_CFG 544 |
119 | #define SC8280XP_SLAVE_MX_RDPM 545 |
120 | #define SC8280XP_SLAVE_MXC_RDPM 546 |
121 | #define SC8280XP_SLAVE_PCIE_0_CFG 547 |
122 | #define SC8280XP_SLAVE_PCIE_1_CFG 548 |
123 | #define SC8280XP_SLAVE_PCIE_2A_CFG 549 |
124 | #define SC8280XP_SLAVE_PCIE_2B_CFG 550 |
125 | #define SC8280XP_SLAVE_PCIE_3A_CFG 551 |
126 | #define SC8280XP_SLAVE_PCIE_3B_CFG 552 |
127 | #define SC8280XP_SLAVE_PCIE_4_CFG 553 |
128 | #define SC8280XP_SLAVE_PCIE_RSC_CFG 554 |
129 | #define SC8280XP_SLAVE_PDM 555 |
130 | #define SC8280XP_SLAVE_PIMEM_CFG 556 |
131 | #define SC8280XP_SLAVE_PKA_WRAPPER_CFG 557 |
132 | #define SC8280XP_SLAVE_PMU_WRAPPER_CFG 558 |
133 | #define SC8280XP_SLAVE_QDSS_CFG 559 |
134 | #define SC8280XP_SLAVE_QSPI_0 560 |
135 | #define SC8280XP_SLAVE_QUP_0 561 |
136 | #define SC8280XP_SLAVE_QUP_1 562 |
137 | #define SC8280XP_SLAVE_QUP_2 563 |
138 | #define SC8280XP_SLAVE_SDCC_2 564 |
139 | #define SC8280XP_SLAVE_SDCC_4 565 |
140 | #define SC8280XP_SLAVE_SECURITY 566 |
141 | #define SC8280XP_SLAVE_SMMUV3_CFG 567 |
142 | #define SC8280XP_SLAVE_SMSS_CFG 568 |
143 | #define SC8280XP_SLAVE_SPSS_CFG 569 |
144 | #define SC8280XP_SLAVE_TCSR 570 |
145 | #define SC8280XP_SLAVE_TLMM 571 |
146 | #define SC8280XP_SLAVE_UFS_CARD_CFG 572 |
147 | #define SC8280XP_SLAVE_UFS_MEM_CFG 573 |
148 | #define SC8280XP_SLAVE_USB3_0 574 |
149 | #define SC8280XP_SLAVE_USB3_1 575 |
150 | #define SC8280XP_SLAVE_USB3_MP 576 |
151 | #define SC8280XP_SLAVE_USB4_0 577 |
152 | #define SC8280XP_SLAVE_USB4_1 578 |
153 | #define SC8280XP_SLAVE_VENUS_CFG 579 |
154 | #define SC8280XP_SLAVE_VSENSE_CTRL_CFG 580 |
155 | #define SC8280XP_SLAVE_VSENSE_CTRL_R_CFG 581 |
156 | #define SC8280XP_SLAVE_A1NOC_CFG 582 |
157 | #define SC8280XP_SLAVE_A1NOC_SNOC 583 |
158 | #define SC8280XP_SLAVE_A2NOC_CFG 584 |
159 | #define SC8280XP_SLAVE_A2NOC_SNOC 585 |
160 | #define SC8280XP_SLAVE_USB_NOC_SNOC 586 |
161 | #define SC8280XP_SLAVE_ANOC_PCIE_BRIDGE_CFG 587 |
162 | #define 588 |
163 | #define SC8280XP_SLAVE_GEM_NOC_CNOC 589 |
164 | #define SC8280XP_SLAVE_GEM_NOC_CFG 590 |
165 | #define SC8280XP_SLAVE_SNOC_GEM_NOC_GC 591 |
166 | #define SC8280XP_SLAVE_SNOC_GEM_NOC_SF 592 |
167 | #define SC8280XP_SLAVE_LLCC 593 |
168 | #define SC8280XP_SLAVE_MNOC_HF_MEM_NOC 594 |
169 | #define SC8280XP_SLAVE_MNOC_SF_MEM_NOC 595 |
170 | #define SC8280XP_SLAVE_CNOC_MNOC_CFG 596 |
171 | #define SC8280XP_SLAVE_CDSP_MEM_NOC 597 |
172 | #define SC8280XP_SLAVE_CDSPB_MEM_NOC 598 |
173 | #define SC8280XP_SLAVE_GEM_NOC_PCIE_CNOC 599 |
174 | #define SC8280XP_SLAVE_ANOC_PCIE_GEM_NOC 600 |
175 | #define SC8280XP_SLAVE_SNOC_CFG 601 |
176 | #define SC8280XP_SLAVE_SNOC_SF_BRIDGE_CFG 602 |
177 | #define SC8280XP_SLAVE_LPASS_SNOC 603 |
178 | #define SC8280XP_SLAVE_QUP_CORE_0 604 |
179 | #define SC8280XP_SLAVE_QUP_CORE_1 605 |
180 | #define SC8280XP_SLAVE_QUP_CORE_2 606 |
181 | #define SC8280XP_SLAVE_IMEM 607 |
182 | #define SC8280XP_SLAVE_NSP_XFR 608 |
183 | #define SC8280XP_SLAVE_NSPB_XFR 609 |
184 | #define SC8280XP_SLAVE_PIMEM 610 |
185 | #define SC8280XP_SLAVE_SERVICE_NSP_NOC 611 |
186 | #define SC8280XP_SLAVE_SERVICE_NSPB_NOC 612 |
187 | #define SC8280XP_SLAVE_SERVICE_A1NOC 613 |
188 | #define SC8280XP_SLAVE_SERVICE_A2NOC 614 |
189 | #define SC8280XP_SLAVE_SERVICE_CNOC 615 |
190 | #define SC8280XP_SLAVE_SERVICE_GEM_NOC_1 616 |
191 | #define SC8280XP_SLAVE_SERVICE_MNOC 617 |
192 | #define SC8280XP_SLAVE_SERVICES_LPASS_AML_NOC 618 |
193 | #define SC8280XP_SLAVE_SERVICE_LPASS_AG_NOC 619 |
194 | #define SC8280XP_SLAVE_SERVICE_GEM_NOC_2 620 |
195 | #define SC8280XP_SLAVE_SERVICE_SNOC 621 |
196 | #define SC8280XP_SLAVE_SERVICE_GEM_NOC 622 |
197 | #define SC8280XP_SLAVE_PCIE_0 623 |
198 | #define SC8280XP_SLAVE_PCIE_1 624 |
199 | #define SC8280XP_SLAVE_PCIE_2A 625 |
200 | #define SC8280XP_SLAVE_PCIE_2B 626 |
201 | #define SC8280XP_SLAVE_PCIE_3A 627 |
202 | #define SC8280XP_SLAVE_PCIE_3B 628 |
203 | #define SC8280XP_SLAVE_PCIE_4 629 |
204 | #define SC8280XP_SLAVE_QDSS_STM 630 |
205 | #define SC8280XP_SLAVE_SMSS 631 |
206 | #define SC8280XP_SLAVE_TCU 632 |
207 | |
208 | #endif |
209 | |
210 | |