xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/interconnect/qcom,qcs8300-rpmh.h (revision 5f62a964e9f8abc6a05d8338273fadd154f0a206)
1*5f62a964SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*5f62a964SEmmanuel Vadot /*
3*5f62a964SEmmanuel Vadot  * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
4*5f62a964SEmmanuel Vadot  */
5*5f62a964SEmmanuel Vadot 
6*5f62a964SEmmanuel Vadot #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_QCS8300_H
7*5f62a964SEmmanuel Vadot #define __DT_BINDINGS_INTERCONNECT_QCOM_QCS8300_H
8*5f62a964SEmmanuel Vadot 
9*5f62a964SEmmanuel Vadot #define MASTER_QUP_3				0
10*5f62a964SEmmanuel Vadot #define MASTER_EMAC				1
11*5f62a964SEmmanuel Vadot #define MASTER_SDC				2
12*5f62a964SEmmanuel Vadot #define MASTER_UFS_MEM				3
13*5f62a964SEmmanuel Vadot #define MASTER_USB2				4
14*5f62a964SEmmanuel Vadot #define MASTER_USB3_0				5
15*5f62a964SEmmanuel Vadot #define SLAVE_A1NOC_SNOC			6
16*5f62a964SEmmanuel Vadot 
17*5f62a964SEmmanuel Vadot #define MASTER_QDSS_BAM				0
18*5f62a964SEmmanuel Vadot #define MASTER_QUP_0				1
19*5f62a964SEmmanuel Vadot #define MASTER_QUP_1				2
20*5f62a964SEmmanuel Vadot #define MASTER_CNOC_A2NOC			3
21*5f62a964SEmmanuel Vadot #define MASTER_CRYPTO_CORE0			4
22*5f62a964SEmmanuel Vadot #define MASTER_CRYPTO_CORE1			5
23*5f62a964SEmmanuel Vadot #define MASTER_IPA				6
24*5f62a964SEmmanuel Vadot #define MASTER_QDSS_ETR_0			7
25*5f62a964SEmmanuel Vadot #define MASTER_QDSS_ETR_1			8
26*5f62a964SEmmanuel Vadot #define SLAVE_A2NOC_SNOC			9
27*5f62a964SEmmanuel Vadot 
28*5f62a964SEmmanuel Vadot #define MASTER_QUP_CORE_0			0
29*5f62a964SEmmanuel Vadot #define MASTER_QUP_CORE_1			1
30*5f62a964SEmmanuel Vadot #define MASTER_QUP_CORE_3			2
31*5f62a964SEmmanuel Vadot #define SLAVE_QUP_CORE_0			3
32*5f62a964SEmmanuel Vadot #define SLAVE_QUP_CORE_1			4
33*5f62a964SEmmanuel Vadot #define SLAVE_QUP_CORE_3			5
34*5f62a964SEmmanuel Vadot 
35*5f62a964SEmmanuel Vadot #define MASTER_GEM_NOC_CNOC			0
36*5f62a964SEmmanuel Vadot #define MASTER_GEM_NOC_PCIE_SNOC		1
37*5f62a964SEmmanuel Vadot #define SLAVE_AHB2PHY_2				2
38*5f62a964SEmmanuel Vadot #define SLAVE_AHB2PHY_3				3
39*5f62a964SEmmanuel Vadot #define SLAVE_ANOC_THROTTLE_CFG			4
40*5f62a964SEmmanuel Vadot #define SLAVE_AOSS				5
41*5f62a964SEmmanuel Vadot #define SLAVE_APPSS				6
42*5f62a964SEmmanuel Vadot #define SLAVE_BOOT_ROM				7
43*5f62a964SEmmanuel Vadot #define SLAVE_CAMERA_CFG			8
44*5f62a964SEmmanuel Vadot #define SLAVE_CAMERA_NRT_THROTTLE_CFG		9
45*5f62a964SEmmanuel Vadot #define SLAVE_CAMERA_RT_THROTTLE_CFG		10
46*5f62a964SEmmanuel Vadot #define SLAVE_CLK_CTL				11
47*5f62a964SEmmanuel Vadot #define SLAVE_CDSP_CFG				12
48*5f62a964SEmmanuel Vadot #define SLAVE_RBCPR_CX_CFG			13
49*5f62a964SEmmanuel Vadot #define SLAVE_RBCPR_MMCX_CFG			14
50*5f62a964SEmmanuel Vadot #define SLAVE_RBCPR_MX_CFG			15
51*5f62a964SEmmanuel Vadot #define SLAVE_CPR_NSPCX				16
52*5f62a964SEmmanuel Vadot #define SLAVE_CPR_NSPHMX			17
53*5f62a964SEmmanuel Vadot #define SLAVE_CRYPTO_0_CFG			18
54*5f62a964SEmmanuel Vadot #define SLAVE_CX_RDPM				19
55*5f62a964SEmmanuel Vadot #define SLAVE_DISPLAY_CFG			20
56*5f62a964SEmmanuel Vadot #define SLAVE_DISPLAY_RT_THROTTLE_CFG		21
57*5f62a964SEmmanuel Vadot #define SLAVE_EMAC_CFG				22
58*5f62a964SEmmanuel Vadot #define SLAVE_GP_DSP0_CFG			23
59*5f62a964SEmmanuel Vadot #define SLAVE_GPDSP0_THROTTLE_CFG		24
60*5f62a964SEmmanuel Vadot #define SLAVE_GPU_TCU_THROTTLE_CFG		25
61*5f62a964SEmmanuel Vadot #define SLAVE_GFX3D_CFG				26
62*5f62a964SEmmanuel Vadot #define SLAVE_HWKM				27
63*5f62a964SEmmanuel Vadot #define SLAVE_IMEM_CFG				28
64*5f62a964SEmmanuel Vadot #define SLAVE_IPA_CFG				29
65*5f62a964SEmmanuel Vadot #define SLAVE_IPC_ROUTER_CFG			30
66*5f62a964SEmmanuel Vadot #define SLAVE_LPASS				31
67*5f62a964SEmmanuel Vadot #define SLAVE_LPASS_THROTTLE_CFG		32
68*5f62a964SEmmanuel Vadot #define SLAVE_MX_RDPM				33
69*5f62a964SEmmanuel Vadot #define SLAVE_MXC_RDPM				34
70*5f62a964SEmmanuel Vadot #define SLAVE_PCIE_0_CFG			35
71*5f62a964SEmmanuel Vadot #define SLAVE_PCIE_1_CFG			36
72*5f62a964SEmmanuel Vadot #define SLAVE_PCIE_TCU_THROTTLE_CFG		37
73*5f62a964SEmmanuel Vadot #define SLAVE_PCIE_THROTTLE_CFG			38
74*5f62a964SEmmanuel Vadot #define SLAVE_PDM				39
75*5f62a964SEmmanuel Vadot #define SLAVE_PIMEM_CFG				40
76*5f62a964SEmmanuel Vadot #define SLAVE_PKA_WRAPPER_CFG			41
77*5f62a964SEmmanuel Vadot #define SLAVE_QDSS_CFG				42
78*5f62a964SEmmanuel Vadot #define SLAVE_QM_CFG				43
79*5f62a964SEmmanuel Vadot #define SLAVE_QM_MPU_CFG			44
80*5f62a964SEmmanuel Vadot #define SLAVE_QUP_0				45
81*5f62a964SEmmanuel Vadot #define SLAVE_QUP_1				46
82*5f62a964SEmmanuel Vadot #define SLAVE_QUP_3				47
83*5f62a964SEmmanuel Vadot #define SLAVE_SAIL_THROTTLE_CFG			48
84*5f62a964SEmmanuel Vadot #define SLAVE_SDC1				49
85*5f62a964SEmmanuel Vadot #define SLAVE_SECURITY				50
86*5f62a964SEmmanuel Vadot #define SLAVE_SNOC_THROTTLE_CFG			51
87*5f62a964SEmmanuel Vadot #define SLAVE_TCSR				52
88*5f62a964SEmmanuel Vadot #define SLAVE_TLMM				53
89*5f62a964SEmmanuel Vadot #define SLAVE_TSC_CFG				54
90*5f62a964SEmmanuel Vadot #define SLAVE_UFS_MEM_CFG			55
91*5f62a964SEmmanuel Vadot #define SLAVE_USB2				56
92*5f62a964SEmmanuel Vadot #define SLAVE_USB3_0				57
93*5f62a964SEmmanuel Vadot #define SLAVE_VENUS_CFG				58
94*5f62a964SEmmanuel Vadot #define SLAVE_VENUS_CVP_THROTTLE_CFG		59
95*5f62a964SEmmanuel Vadot #define SLAVE_VENUS_V_CPU_THROTTLE_CFG		60
96*5f62a964SEmmanuel Vadot #define SLAVE_VENUS_VCODEC_THROTTLE_CFG		61
97*5f62a964SEmmanuel Vadot #define SLAVE_DDRSS_CFG				62
98*5f62a964SEmmanuel Vadot #define SLAVE_GPDSP_NOC_CFG			63
99*5f62a964SEmmanuel Vadot #define SLAVE_CNOC_MNOC_HF_CFG			64
100*5f62a964SEmmanuel Vadot #define SLAVE_CNOC_MNOC_SF_CFG			65
101*5f62a964SEmmanuel Vadot #define SLAVE_PCIE_ANOC_CFG			66
102*5f62a964SEmmanuel Vadot #define SLAVE_SNOC_CFG				67
103*5f62a964SEmmanuel Vadot #define SLAVE_BOOT_IMEM				68
104*5f62a964SEmmanuel Vadot #define SLAVE_IMEM				69
105*5f62a964SEmmanuel Vadot #define SLAVE_PIMEM				70
106*5f62a964SEmmanuel Vadot #define SLAVE_PCIE_0				71
107*5f62a964SEmmanuel Vadot #define SLAVE_PCIE_1				72
108*5f62a964SEmmanuel Vadot #define SLAVE_QDSS_STM				73
109*5f62a964SEmmanuel Vadot #define SLAVE_TCU				74
110*5f62a964SEmmanuel Vadot 
111*5f62a964SEmmanuel Vadot #define MASTER_CNOC_DC_NOC			0
112*5f62a964SEmmanuel Vadot #define SLAVE_LLCC_CFG				1
113*5f62a964SEmmanuel Vadot #define SLAVE_GEM_NOC_CFG			2
114*5f62a964SEmmanuel Vadot 
115*5f62a964SEmmanuel Vadot #define MASTER_GPU_TCU				0
116*5f62a964SEmmanuel Vadot #define MASTER_PCIE_TCU				1
117*5f62a964SEmmanuel Vadot #define MASTER_SYS_TCU				2
118*5f62a964SEmmanuel Vadot #define MASTER_APPSS_PROC			3
119*5f62a964SEmmanuel Vadot #define MASTER_COMPUTE_NOC			4
120*5f62a964SEmmanuel Vadot #define MASTER_GEM_NOC_CFG			5
121*5f62a964SEmmanuel Vadot #define MASTER_GPDSP_SAIL			6
122*5f62a964SEmmanuel Vadot #define MASTER_GFX3D				7
123*5f62a964SEmmanuel Vadot #define MASTER_MNOC_HF_MEM_NOC			8
124*5f62a964SEmmanuel Vadot #define MASTER_MNOC_SF_MEM_NOC			9
125*5f62a964SEmmanuel Vadot #define MASTER_ANOC_PCIE_GEM_NOC		10
126*5f62a964SEmmanuel Vadot #define MASTER_SNOC_GC_MEM_NOC			11
127*5f62a964SEmmanuel Vadot #define MASTER_SNOC_SF_MEM_NOC			12
128*5f62a964SEmmanuel Vadot #define SLAVE_GEM_NOC_CNOC			13
129*5f62a964SEmmanuel Vadot #define SLAVE_LLCC				14
130*5f62a964SEmmanuel Vadot #define SLAVE_GEM_NOC_PCIE_CNOC			15
131*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_GEM_NOC_1			16
132*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_GEM_NOC_2			17
133*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_GEM_NOC			18
134*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_GEM_NOC2			19
135*5f62a964SEmmanuel Vadot 
136*5f62a964SEmmanuel Vadot #define MASTER_SAILSS_MD0			0
137*5f62a964SEmmanuel Vadot #define MASTER_DSP0				1
138*5f62a964SEmmanuel Vadot #define SLAVE_GP_DSP_SAIL_NOC			2
139*5f62a964SEmmanuel Vadot 
140*5f62a964SEmmanuel Vadot #define MASTER_CNOC_LPASS_AG_NOC		0
141*5f62a964SEmmanuel Vadot #define MASTER_LPASS_PROC			1
142*5f62a964SEmmanuel Vadot #define SLAVE_LPASS_CORE_CFG			2
143*5f62a964SEmmanuel Vadot #define SLAVE_LPASS_LPI_CFG			3
144*5f62a964SEmmanuel Vadot #define SLAVE_LPASS_MPU_CFG			4
145*5f62a964SEmmanuel Vadot #define SLAVE_LPASS_TOP_CFG			5
146*5f62a964SEmmanuel Vadot #define SLAVE_LPASS_SNOC			6
147*5f62a964SEmmanuel Vadot #define SLAVE_SERVICES_LPASS_AML_NOC		7
148*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_LPASS_AG_NOC		8
149*5f62a964SEmmanuel Vadot 
150*5f62a964SEmmanuel Vadot #define MASTER_LLCC				0
151*5f62a964SEmmanuel Vadot #define SLAVE_EBI1				1
152*5f62a964SEmmanuel Vadot 
153*5f62a964SEmmanuel Vadot #define MASTER_CAMNOC_HF			0
154*5f62a964SEmmanuel Vadot #define MASTER_CAMNOC_ICP			1
155*5f62a964SEmmanuel Vadot #define MASTER_CAMNOC_SF			2
156*5f62a964SEmmanuel Vadot #define MASTER_MDP0				3
157*5f62a964SEmmanuel Vadot #define MASTER_MDP1				4
158*5f62a964SEmmanuel Vadot #define MASTER_CNOC_MNOC_HF_CFG			5
159*5f62a964SEmmanuel Vadot #define MASTER_CNOC_MNOC_SF_CFG			6
160*5f62a964SEmmanuel Vadot #define MASTER_VIDEO_P0				7
161*5f62a964SEmmanuel Vadot #define MASTER_VIDEO_PROC			8
162*5f62a964SEmmanuel Vadot #define MASTER_VIDEO_V_PROC			9
163*5f62a964SEmmanuel Vadot #define SLAVE_MNOC_HF_MEM_NOC			10
164*5f62a964SEmmanuel Vadot #define SLAVE_MNOC_SF_MEM_NOC			11
165*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_MNOC_HF			12
166*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_MNOC_SF			13
167*5f62a964SEmmanuel Vadot 
168*5f62a964SEmmanuel Vadot #define MASTER_CDSP_NOC_CFG			0
169*5f62a964SEmmanuel Vadot #define MASTER_CDSP_PROC			1
170*5f62a964SEmmanuel Vadot #define SLAVE_HCP_A				2
171*5f62a964SEmmanuel Vadot #define SLAVE_CDSP_MEM_NOC			3
172*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_NSP_NOC			4
173*5f62a964SEmmanuel Vadot 
174*5f62a964SEmmanuel Vadot #define MASTER_PCIE_0				0
175*5f62a964SEmmanuel Vadot #define MASTER_PCIE_1				1
176*5f62a964SEmmanuel Vadot #define SLAVE_ANOC_PCIE_GEM_NOC			2
177*5f62a964SEmmanuel Vadot 
178*5f62a964SEmmanuel Vadot #define MASTER_GIC_AHB				0
179*5f62a964SEmmanuel Vadot #define MASTER_A1NOC_SNOC			1
180*5f62a964SEmmanuel Vadot #define MASTER_A2NOC_SNOC			2
181*5f62a964SEmmanuel Vadot #define MASTER_LPASS_ANOC			3
182*5f62a964SEmmanuel Vadot #define MASTER_SNOC_CFG				4
183*5f62a964SEmmanuel Vadot #define MASTER_PIMEM				5
184*5f62a964SEmmanuel Vadot #define MASTER_GIC				6
185*5f62a964SEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_GC			7
186*5f62a964SEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_SF			8
187*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_SNOC			9
188*5f62a964SEmmanuel Vadot 
189*5f62a964SEmmanuel Vadot #endif
190