1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Qualcomm #define SC8180X interconnect IDs
4  *
5  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
6  */
7 
8 #ifndef __DRIVERS_INTERCONNECT_QCOM_SC8180X_H
9 #define __DRIVERS_INTERCONNECT_QCOM_SC8180X_H
10 
11 #define SC8180X_MASTER_A1NOC_CFG		1
12 #define SC8180X_MASTER_UFS_CARD			2
13 #define SC8180X_MASTER_UFS_GEN4			3
14 #define SC8180X_MASTER_UFS_MEM			4
15 #define SC8180X_MASTER_USB3			5
16 #define SC8180X_MASTER_USB3_1			6
17 #define SC8180X_MASTER_USB3_2			7
18 #define SC8180X_MASTER_A2NOC_CFG		8
19 #define SC8180X_MASTER_QDSS_BAM			9
20 #define SC8180X_MASTER_QSPI_0			10
21 #define SC8180X_MASTER_QSPI_1			11
22 #define SC8180X_MASTER_QUP_0			12
23 #define SC8180X_MASTER_QUP_1			13
24 #define SC8180X_MASTER_QUP_2			14
25 #define SC8180X_MASTER_SENSORS_AHB		15
26 #define SC8180X_MASTER_CRYPTO_CORE_0		16
27 #define SC8180X_MASTER_IPA			17
28 #define SC8180X_MASTER_EMAC			18
29 #define SC8180X_MASTER_PCIE			19
30 #define SC8180X_MASTER_PCIE_1			20
31 #define SC8180X_MASTER_PCIE_2			21
32 #define SC8180X_MASTER_PCIE_3			22
33 #define SC8180X_MASTER_QDSS_ETR			23
34 #define SC8180X_MASTER_SDCC_2			24
35 #define SC8180X_MASTER_SDCC_4			25
36 #define SC8180X_MASTER_CAMNOC_HF0_UNCOMP	26
37 #define SC8180X_MASTER_CAMNOC_HF1_UNCOMP	27
38 #define SC8180X_MASTER_CAMNOC_SF_UNCOMP		28
39 #define SC8180X_MASTER_NPU			29
40 #define SC8180X_SNOC_CNOC_MAS			30
41 #define SC8180X_MASTER_CNOC_DC_NOC		31
42 #define SC8180X_MASTER_AMPSS_M0			32
43 #define SC8180X_MASTER_GPU_TCU			33
44 #define SC8180X_MASTER_SYS_TCU			34
45 #define SC8180X_MASTER_GEM_NOC_CFG		35
46 #define SC8180X_MASTER_COMPUTE_NOC		36
47 #define SC8180X_MASTER_GRAPHICS_3D		37
48 #define SC8180X_MASTER_MNOC_HF_MEM_NOC		38
49 #define SC8180X_MASTER_MNOC_SF_MEM_NOC		39
50 #define SC8180X_MASTER_GEM_NOC_PCIE_SNOC	40
51 #define SC8180X_MASTER_SNOC_GC_MEM_NOC		41
52 #define SC8180X_MASTER_SNOC_SF_MEM_NOC		42
53 #define SC8180X_MASTER_ECC			43
54 #define SC8180X_MASTER_IPA_CORE			44
55 #define SC8180X_MASTER_LLCC			45
56 #define SC8180X_MASTER_CNOC_MNOC_CFG		46
57 #define SC8180X_MASTER_CAMNOC_HF0		47
58 #define SC8180X_MASTER_CAMNOC_HF1		48
59 #define SC8180X_MASTER_CAMNOC_SF		49
60 #define SC8180X_MASTER_MDP_PORT0		50
61 #define SC8180X_MASTER_MDP_PORT1		51
62 #define SC8180X_MASTER_ROTATOR			52
63 #define SC8180X_MASTER_VIDEO_P0			53
64 #define SC8180X_MASTER_VIDEO_P1			54
65 #define SC8180X_MASTER_VIDEO_PROC		55
66 #define SC8180X_MASTER_SNOC_CFG			56
67 #define SC8180X_A1NOC_SNOC_MAS			57
68 #define SC8180X_A2NOC_SNOC_MAS			58
69 #define SC8180X_MASTER_GEM_NOC_SNOC		59
70 #define SC8180X_MASTER_PIMEM			60
71 #define SC8180X_MASTER_GIC			61
72 #define SC8180X_MASTER_MNOC_HF_MEM_NOC_DISPLAY	62
73 #define SC8180X_MASTER_MNOC_SF_MEM_NOC_DISPLAY	63
74 #define SC8180X_MASTER_LLCC_DISPLAY		64
75 #define SC8180X_MASTER_MDP_PORT0_DISPLAY	65
76 #define SC8180X_MASTER_MDP_PORT1_DISPLAY	66
77 #define SC8180X_MASTER_ROTATOR_DISPLAY		67
78 #define SC8180X_A1NOC_SNOC_SLV			68
79 #define SC8180X_SLAVE_SERVICE_A1NOC		69
80 #define SC8180X_A2NOC_SNOC_SLV			70
81 #define SC8180X_SLAVE_ANOC_PCIE_GEM_NOC		71
82 #define SC8180X_SLAVE_SERVICE_A2NOC		72
83 #define SC8180X_SLAVE_CAMNOC_UNCOMP		73
84 #define SC8180X_SLAVE_CDSP_MEM_NOC		74
85 #define SC8180X_SLAVE_A1NOC_CFG			75
86 #define SC8180X_SLAVE_A2NOC_CFG			76
87 #define SC8180X_SLAVE_AHB2PHY_CENTER		77
88 #define SC8180X_SLAVE_AHB2PHY_EAST		78
89 #define SC8180X_SLAVE_AHB2PHY_WEST		79
90 #define SC8180X_SLAVE_AHB2PHY_SOUTH		80
91 #define SC8180X_SLAVE_AOP			81
92 #define SC8180X_SLAVE_AOSS			82
93 #define SC8180X_SLAVE_CAMERA_CFG		83
94 #define SC8180X_SLAVE_CLK_CTL			84
95 #define SC8180X_SLAVE_CDSP_CFG			85
96 #define SC8180X_SLAVE_RBCPR_CX_CFG		86
97 #define SC8180X_SLAVE_RBCPR_MMCX_CFG		87
98 #define SC8180X_SLAVE_RBCPR_MX_CFG		88
99 #define SC8180X_SLAVE_CRYPTO_0_CFG		89
100 #define SC8180X_SLAVE_CNOC_DDRSS		90
101 #define SC8180X_SLAVE_DISPLAY_CFG		91
102 #define SC8180X_SLAVE_EMAC_CFG			92
103 #define SC8180X_SLAVE_GLM			93
104 #define SC8180X_SLAVE_GRAPHICS_3D_CFG		94
105 #define SC8180X_SLAVE_IMEM_CFG			95
106 #define SC8180X_SLAVE_IPA_CFG			96
107 #define SC8180X_SLAVE_CNOC_MNOC_CFG		97
108 #define SC8180X_SLAVE_NPU_CFG			98
109 #define SC8180X_SLAVE_PCIE_0_CFG		99
110 #define SC8180X_SLAVE_PCIE_1_CFG		100
111 #define SC8180X_SLAVE_PCIE_2_CFG		101
112 #define SC8180X_SLAVE_PCIE_3_CFG		102
113 #define SC8180X_SLAVE_PDM			103
114 #define SC8180X_SLAVE_PIMEM_CFG			104
115 #define SC8180X_SLAVE_PRNG			105
116 #define SC8180X_SLAVE_QDSS_CFG			106
117 #define SC8180X_SLAVE_QSPI_0			107
118 #define SC8180X_SLAVE_QSPI_1			108
119 #define SC8180X_SLAVE_QUP_1			109
120 #define SC8180X_SLAVE_QUP_2			110
121 #define SC8180X_SLAVE_QUP_0			111
122 #define SC8180X_SLAVE_SDCC_2			112
123 #define SC8180X_SLAVE_SDCC_4			113
124 #define SC8180X_SLAVE_SECURITY			114
125 #define SC8180X_SLAVE_SNOC_CFG			115
126 #define SC8180X_SLAVE_SPSS_CFG			116
127 #define SC8180X_SLAVE_TCSR			117
128 #define SC8180X_SLAVE_TLMM_EAST			118
129 #define SC8180X_SLAVE_TLMM_SOUTH		119
130 #define SC8180X_SLAVE_TLMM_WEST			120
131 #define SC8180X_SLAVE_TSIF			121
132 #define SC8180X_SLAVE_UFS_CARD_CFG		122
133 #define SC8180X_SLAVE_UFS_MEM_0_CFG		123
134 #define SC8180X_SLAVE_UFS_MEM_1_CFG		124
135 #define SC8180X_SLAVE_USB3			125
136 #define SC8180X_SLAVE_USB3_1			126
137 #define SC8180X_SLAVE_USB3_2			127
138 #define SC8180X_SLAVE_VENUS_CFG			128
139 #define SC8180X_SLAVE_VSENSE_CTRL_CFG		129
140 #define SC8180X_SLAVE_SERVICE_CNOC		130
141 #define SC8180X_SLAVE_GEM_NOC_CFG		131
142 #define SC8180X_SLAVE_LLCC_CFG			132
143 #define SC8180X_SLAVE_MSS_PROC_MS_MPU_CFG	133
144 #define SC8180X_SLAVE_ECC			134
145 #define SC8180X_SLAVE_GEM_NOC_SNOC		135
146 #define SC8180X_SLAVE_LLCC			136
147 #define SC8180X_SLAVE_SERVICE_GEM_NOC		137
148 #define SC8180X_SLAVE_SERVICE_GEM_NOC_1		138
149 #define SC8180X_SLAVE_IPA_CORE			139
150 #define SC8180X_SLAVE_EBI_CH0			140
151 #define SC8180X_SLAVE_MNOC_SF_MEM_NOC		141
152 #define SC8180X_SLAVE_MNOC_HF_MEM_NOC		142
153 #define SC8180X_SLAVE_SERVICE_MNOC		143
154 #define SC8180X_SLAVE_APPSS			144
155 #define SC8180X_SNOC_CNOC_SLV			145
156 #define SC8180X_SLAVE_SNOC_GEM_NOC_GC		146
157 #define SC8180X_SLAVE_SNOC_GEM_NOC_SF		147
158 #define SC8180X_SLAVE_OCIMEM			148
159 #define SC8180X_SLAVE_PIMEM			149
160 #define SC8180X_SLAVE_SERVICE_SNOC		150
161 #define SC8180X_SLAVE_PCIE_0			151
162 #define SC8180X_SLAVE_PCIE_1			152
163 #define SC8180X_SLAVE_PCIE_2			153
164 #define SC8180X_SLAVE_PCIE_3			154
165 #define SC8180X_SLAVE_QDSS_STM			155
166 #define SC8180X_SLAVE_TCU			156
167 #define SC8180X_SLAVE_LLCC_DISPLAY		157
168 #define SC8180X_SLAVE_EBI_CH0_DISPLAY		158
169 #define SC8180X_SLAVE_MNOC_SF_MEM_NOC_DISPLAY	159
170 #define SC8180X_SLAVE_MNOC_HF_MEM_NOC_DISPLAY	160
171 #define SC8180X_MASTER_OSM_L3_APPS		161
172 #define SC8180X_SLAVE_OSM_L3			162
173 
174 #define SC8180X_MASTER_QUP_CORE_0		163
175 #define SC8180X_MASTER_QUP_CORE_1		164
176 #define SC8180X_MASTER_QUP_CORE_2		165
177 #define SC8180X_SLAVE_QUP_CORE_0		166
178 #define SC8180X_SLAVE_QUP_CORE_1		167
179 #define SC8180X_SLAVE_QUP_CORE_2		168
180 
181 #endif
182