xref: /linux/include/dt-bindings/interconnect/qcom,nord-rpmh.h (revision 637315cb400eed1dbe721954fea437a61a2d65b2)
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /*
3  * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4  */
5 
6 #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_NORD_H
7 #define __DT_BINDINGS_INTERCONNECT_QCOM_NORD_H
8 
9 #define MASTER_QSPI_0				0
10 #define MASTER_SAILSS_MD1			1
11 #define MASTER_QUP_3				2
12 #define SLAVE_A1NOC_SNOC			3
13 
14 #define MASTER_QUP_2				0
15 #define MASTER_CRYPTO_CORE0			1
16 #define MASTER_CRYPTO_CORE1			2
17 #define MASTER_CRYPTO_CORE2			3
18 #define MASTER_SDCC_4				4
19 #define MASTER_UFS_MEM				5
20 #define MASTER_USB2				6
21 #define MASTER_USB3_0				7
22 #define MASTER_USB3_1				8
23 #define SLAVE_A1NOC_HSCNOC			9
24 
25 #define MASTER_IPA				0
26 #define MASTER_SOCCP_AGGR_NOC			1
27 #define MASTER_QDSS_ETR				2
28 #define MASTER_QDSS_ETR_1			3
29 #define SLAVE_A2NOC_SNOC			4
30 
31 #define MASTER_QUP_0				0
32 #define MASTER_QUP_1				1
33 #define MASTER_EMAC_0				2
34 #define MASTER_EMAC_1				3
35 #define SLAVE_A2NOC_HSCNOC			4
36 
37 #define MASTER_QUP_CORE_0			0
38 #define MASTER_QUP_CORE_1			1
39 #define MASTER_QUP_CORE_2			2
40 #define MASTER_QUP_CORE_3			3
41 #define SLAVE_QUP_CORE_0			4
42 #define SLAVE_QUP_CORE_1			5
43 #define SLAVE_QUP_CORE_2			6
44 #define SLAVE_QUP_CORE_3			7
45 
46 #define MASTER_CNOC_CFG				0
47 #define SLAVE_PS_ETH_0				1
48 #define SLAVE_PS_ETH_1				2
49 #define SLAVE_SHS_SERVER			3
50 #define SLAVE_AHB2PHY_0				4
51 #define SLAVE_AHB2PHY_1				5
52 #define SLAVE_AHB2PHY_2				6
53 #define SLAVE_AHB2PHY_3				7
54 #define SLAVE_AHB2PHY_ETH_0			8
55 #define SLAVE_AHB2PHY_ETH_1			9
56 #define SLAVE_CAMERA_CFG			10
57 #define SLAVE_CLK_CTL				11
58 #define SLAVE_CRYPTO_0_CFG			12
59 #define SLAVE_CRYPTO_1_CFG			13
60 #define SLAVE_CRYPTO_2_CFG			14
61 #define SLAVE_DISPLAY_1_CFG			15
62 #define SLAVE_DISPLAY_CFG			16
63 #define SLAVE_DPRX0				17
64 #define SLAVE_DPRX1				18
65 #define SLAVE_EVA_CFG				19
66 #define SLAVE_GFX3D_CFG				20
67 #define SLAVE_GFX3D_1_CFG			21
68 #define SLAVE_I2C				22
69 #define SLAVE_IMEM_CFG				23
70 #define SLAVE_MCW_PCIE				24
71 #define SLAVE_MM_RSCC				25
72 #define SLAVE_NE_CLK_CTL			26
73 #define SLAVE_NSPSS0_CFG			27
74 #define SLAVE_NSPSS1_CFG			28
75 #define SLAVE_NSPSS2_CFG			29
76 #define SLAVE_NSPSS3_CFG			30
77 #define SLAVE_NW_CLK_CTL			31
78 #define SLAVE_PRNG				32
79 #define SLAVE_QDSS_CFG				33
80 #define SLAVE_QSPI_0				34
81 #define SLAVE_QUP_0				35
82 #define SLAVE_QUP_3				36
83 #define SLAVE_QUP_1				37
84 #define SLAVE_QUP_2				38
85 #define SLAVE_SAFEDMA_CFG			39
86 #define SLAVE_SDCC_4				40
87 #define SLAVE_SE_CLK_CTL			41
88 #define SLAVE_TCSR				42
89 #define SLAVE_TLMM				43
90 #define SLAVE_TSC_CFG				44
91 #define SLAVE_UFS_MEM_CFG			45
92 #define SLAVE_USB2				46
93 #define SLAVE_USB3_0				47
94 #define SLAVE_USB3_1				48
95 #define SLAVE_VENUS_CFG				49
96 #define SLAVE_COMPUTENOC_CFG			50
97 #define SLAVE_PCIE_NOC_CFG			51
98 #define SLAVE_QTC_CFG				52
99 #define SLAVE_QDSS_STM				53
100 #define SLAVE_SYS_TCU0_CFG			54
101 #define SLAVE_SYS_TCU1_CFG			55
102 #define SLAVE_SYS_TCU2_CFG			56
103 
104 #define MASTER_MM_RSCC				0
105 #define MASTER_HSCNOC_CNOC			1
106 #define SLAVE_AOSS				2
107 #define SLAVE_HBCU				3
108 #define SLAVE_IPA_CFG				4
109 #define SLAVE_IPC_ROUTER_CFG			5
110 #define SLAVE_SOCCP				6
111 #define SLAVE_TME_CFG				7
112 #define SLAVE_PCIE_DMA				8
113 #define SLAVE_CNOC_CFG				9
114 #define SLAVE_DDRSS_CFG				10
115 #define SLAVE_IMEM				11
116 
117 #define MASTER_HPASS_PROC_0			0
118 #define MASTER_HPASS_PROC_1			1
119 #define MASTER_HPASS_PROC_2			2
120 #define SLAVE_HPASS_AGNOC_AUDIO			3
121 
122 #define MASTER_GPU_TCU				0
123 #define MASTER_QTC_TCU				1
124 #define MASTER_SYS_TCU_0			2
125 #define MASTER_SYS_TCU_1			3
126 #define MASTER_SYS_TCU_2			4
127 #define MASTER_APPSS_PROC			5
128 #define MASTER_A1NOC_TILE_HSCNOC		6
129 #define MASTER_A2NOC_TILE_HSCNOC		7
130 #define MASTER_GFX3D				8
131 #define MASTER_GFX3D_1				9
132 #define MASTER_HPASS_ADAS_HSCNOC		10
133 #define MASTER_HPASS_AUDIO_HSCNOC		11
134 #define MASTER_MNOC_HF_MEM_NOC			12
135 #define MASTER_MNOC_SF_MEM_NOC			13
136 #define MASTER_NSP0_HSCNOC			14
137 #define MASTER_NSP1_HSCNOC			15
138 #define MASTER_NSP2_HSCNOC			16
139 #define MASTER_NSP3_HSCNOC			17
140 #define MASTER_ANOC_PCIE_GEM_NOC		18
141 #define MASTER_SAILSS_MD0_HSCNOC		19
142 #define MASTER_SNOC_SF_MEM_NOC			20
143 #define MASTER_GIC				21
144 #define SLAVE_HSCNOC_CNOC			22
145 #define SLAVE_LLCC				23
146 #define SLAVE_MEM_NOC_PCIE_SNOC			24
147 
148 #define MASTER_LLCC				0
149 #define SLAVE_EBI1				1
150 
151 #define MASTER_CAMNOC_HF			0
152 #define MASTER_CAMNOC_NRT_ICP_SF		1
153 #define MASTER_CAMNOC_RT_CDM_SF			2
154 #define MASTER_CAMNOC_SF			3
155 #define MASTER_DPRX0				4
156 #define MASTER_DPRX1				5
157 #define MASTER_MDP0				6
158 #define MASTER_MDP1				7
159 #define MASTER_VIDEO_CV_PROC			8
160 #define MASTER_VIDEO_EVA			9
161 #define MASTER_VIDEO_MVP0			10
162 #define MASTER_VIDEO_MVP1			11
163 #define MASTER_VIDEO_V_PROC			12
164 #define SLAVE_MNOC_HF_MEM_NOC			13
165 #define SLAVE_MNOC_SF_MEM_NOC			14
166 
167 #define MASTER_NSP0_PROC			0
168 #define SLAVE_NSP0_HSC_NOC			1
169 
170 #define MASTER_NSP1_PROC			0
171 #define SLAVE_NSP1_HSC_NOC			1
172 
173 #define MASTER_NSP2_PROC			0
174 #define SLAVE_NSP2_HSC_NOC			1
175 
176 #define MASTER_NSP3_PROC			0
177 #define SLAVE_NSP3_HSC_NOC			1
178 
179 #define MASTER_PCIE_NOC_CFG			0
180 #define SLAVE_PCIE_AHB2PHY_CFG			1
181 #define SLAVE_PCIE_CFG_0			2
182 #define SLAVE_PCIE_CFG_1			3
183 #define SLAVE_PCIE_CFG_2			4
184 #define SLAVE_PCIE_CFG_3			5
185 #define SLAVE_PCIE_DMA_0_CFG			6
186 #define SLAVE_PCIE_DMA_1_CFG			7
187 #define SLAVE_PCIE_DMA_2_CFG			8
188 
189 #define MASTER_PCIE_DMA_0			0
190 #define MASTER_PCIE_DMA_1			1
191 #define MASTER_PCIE_DMA_2			2
192 #define MASTER_PCIE_0				3
193 #define MASTER_PCIE_1				4
194 #define MASTER_PCIE_2				5
195 #define MASTER_PCIE_3				6
196 #define SLAVE_PCIE_HSCNOC			7
197 #define SLAVE_PCIE_OBNOC_DMA			8
198 
199 #define MASTER_CNOC_PCIE_DMA			0
200 #define MASTER_ANOC_PCIE_HSCNOC			1
201 #define MASTER_PCIE_IBNOC_DMA			2
202 #define SLAVE_PCIE_DMA_0			3
203 #define SLAVE_PCIE_DMA_1			4
204 #define SLAVE_PCIE_DMA_2			5
205 #define SLAVE_PCIE_0				6
206 #define SLAVE_PCIE_1				7
207 #define SLAVE_PCIE_2				8
208 #define SLAVE_PCIE_3				9
209 
210 #define MASTER_A1NOC_SNOC			0
211 #define MASTER_A2NOC_SNOC			1
212 #define MASTER_CNOC_SNOC			2
213 #define MASTER_NSINOC_SNOC			3
214 #define MASTER_SAFE_DMA				4
215 #define SLAVE_SNOC_HSCNOC_SF			5
216 
217 #endif
218