xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/interconnect/qcom,x1e80100-rpmh.h (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1*8d13bc63SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*8d13bc63SEmmanuel Vadot /*
3*8d13bc63SEmmanuel Vadot  * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
4*8d13bc63SEmmanuel Vadot  * Copyright (c) 2023, Linaro Limited
5*8d13bc63SEmmanuel Vadot  */
6*8d13bc63SEmmanuel Vadot 
7*8d13bc63SEmmanuel Vadot #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_X1E80100_H
8*8d13bc63SEmmanuel Vadot #define __DT_BINDINGS_INTERCONNECT_QCOM_X1E80100_H
9*8d13bc63SEmmanuel Vadot 
10*8d13bc63SEmmanuel Vadot #define MASTER_QSPI_0				0
11*8d13bc63SEmmanuel Vadot #define MASTER_QUP_1				1
12*8d13bc63SEmmanuel Vadot #define MASTER_SDCC_4				2
13*8d13bc63SEmmanuel Vadot #define MASTER_UFS_MEM				3
14*8d13bc63SEmmanuel Vadot #define SLAVE_A1NOC_SNOC			4
15*8d13bc63SEmmanuel Vadot 
16*8d13bc63SEmmanuel Vadot #define MASTER_QUP_0				0
17*8d13bc63SEmmanuel Vadot #define MASTER_QUP_2				1
18*8d13bc63SEmmanuel Vadot #define MASTER_CRYPTO				2
19*8d13bc63SEmmanuel Vadot #define MASTER_SP				3
20*8d13bc63SEmmanuel Vadot #define MASTER_QDSS_ETR				4
21*8d13bc63SEmmanuel Vadot #define MASTER_QDSS_ETR_1			5
22*8d13bc63SEmmanuel Vadot #define MASTER_SDCC_2				6
23*8d13bc63SEmmanuel Vadot #define SLAVE_A2NOC_SNOC			7
24*8d13bc63SEmmanuel Vadot 
25*8d13bc63SEmmanuel Vadot #define MASTER_DDR_PERF_MODE			0
26*8d13bc63SEmmanuel Vadot #define MASTER_QUP_CORE_0			1
27*8d13bc63SEmmanuel Vadot #define MASTER_QUP_CORE_1			2
28*8d13bc63SEmmanuel Vadot #define MASTER_QUP_CORE_2			3
29*8d13bc63SEmmanuel Vadot #define SLAVE_DDR_PERF_MODE			4
30*8d13bc63SEmmanuel Vadot #define SLAVE_QUP_CORE_0			5
31*8d13bc63SEmmanuel Vadot #define SLAVE_QUP_CORE_1			6
32*8d13bc63SEmmanuel Vadot #define SLAVE_QUP_CORE_2			7
33*8d13bc63SEmmanuel Vadot 
34*8d13bc63SEmmanuel Vadot #define MASTER_CNOC_CFG				0
35*8d13bc63SEmmanuel Vadot #define SLAVE_AHB2PHY_SOUTH			1
36*8d13bc63SEmmanuel Vadot #define SLAVE_AHB2PHY_NORTH			2
37*8d13bc63SEmmanuel Vadot #define SLAVE_AHB2PHY_2				3
38*8d13bc63SEmmanuel Vadot #define SLAVE_AV1_ENC_CFG			4
39*8d13bc63SEmmanuel Vadot #define SLAVE_CAMERA_CFG			5
40*8d13bc63SEmmanuel Vadot #define SLAVE_CLK_CTL				6
41*8d13bc63SEmmanuel Vadot #define SLAVE_CRYPTO_0_CFG			7
42*8d13bc63SEmmanuel Vadot #define SLAVE_DISPLAY_CFG			8
43*8d13bc63SEmmanuel Vadot #define SLAVE_GFX3D_CFG				9
44*8d13bc63SEmmanuel Vadot #define SLAVE_IMEM_CFG				10
45*8d13bc63SEmmanuel Vadot #define SLAVE_IPC_ROUTER_CFG			11
46*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_0_CFG			12
47*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_1_CFG			13
48*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_2_CFG			14
49*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_3_CFG			15
50*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_4_CFG			16
51*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_5_CFG			17
52*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_6A_CFG			18
53*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_6B_CFG			19
54*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_RSC_CFG			20
55*8d13bc63SEmmanuel Vadot #define SLAVE_PDM				21
56*8d13bc63SEmmanuel Vadot #define SLAVE_PRNG				22
57*8d13bc63SEmmanuel Vadot #define SLAVE_QDSS_CFG				23
58*8d13bc63SEmmanuel Vadot #define SLAVE_QSPI_0				24
59*8d13bc63SEmmanuel Vadot #define SLAVE_QUP_0				25
60*8d13bc63SEmmanuel Vadot #define SLAVE_QUP_1				26
61*8d13bc63SEmmanuel Vadot #define SLAVE_QUP_2				27
62*8d13bc63SEmmanuel Vadot #define SLAVE_SDCC_2				28
63*8d13bc63SEmmanuel Vadot #define SLAVE_SDCC_4				29
64*8d13bc63SEmmanuel Vadot #define SLAVE_SMMUV3_CFG			30
65*8d13bc63SEmmanuel Vadot #define SLAVE_TCSR				31
66*8d13bc63SEmmanuel Vadot #define SLAVE_TLMM				32
67*8d13bc63SEmmanuel Vadot #define SLAVE_UFS_MEM_CFG			33
68*8d13bc63SEmmanuel Vadot #define SLAVE_USB2				34
69*8d13bc63SEmmanuel Vadot #define SLAVE_USB3_0				35
70*8d13bc63SEmmanuel Vadot #define SLAVE_USB3_1				36
71*8d13bc63SEmmanuel Vadot #define SLAVE_USB3_2				37
72*8d13bc63SEmmanuel Vadot #define SLAVE_USB3_MP				38
73*8d13bc63SEmmanuel Vadot #define SLAVE_USB4_0				39
74*8d13bc63SEmmanuel Vadot #define SLAVE_USB4_1				40
75*8d13bc63SEmmanuel Vadot #define SLAVE_USB4_2				41
76*8d13bc63SEmmanuel Vadot #define SLAVE_VENUS_CFG				42
77*8d13bc63SEmmanuel Vadot #define SLAVE_LPASS_QTB_CFG			43
78*8d13bc63SEmmanuel Vadot #define SLAVE_CNOC_MNOC_CFG			44
79*8d13bc63SEmmanuel Vadot #define SLAVE_NSP_QTB_CFG			45
80*8d13bc63SEmmanuel Vadot #define SLAVE_QDSS_STM				46
81*8d13bc63SEmmanuel Vadot #define SLAVE_TCU				47
82*8d13bc63SEmmanuel Vadot 
83*8d13bc63SEmmanuel Vadot #define MASTER_GEM_NOC_CNOC			0
84*8d13bc63SEmmanuel Vadot #define MASTER_GEM_NOC_PCIE_SNOC		1
85*8d13bc63SEmmanuel Vadot #define SLAVE_AOSS				2
86*8d13bc63SEmmanuel Vadot #define SLAVE_TME_CFG				3
87*8d13bc63SEmmanuel Vadot #define SLAVE_APPSS				4
88*8d13bc63SEmmanuel Vadot #define SLAVE_CNOC_CFG				5
89*8d13bc63SEmmanuel Vadot #define SLAVE_BOOT_IMEM				6
90*8d13bc63SEmmanuel Vadot #define SLAVE_IMEM				7
91*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_0				8
92*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_1				9
93*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_2				10
94*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_3				11
95*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_4				12
96*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_5				13
97*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_6A				14
98*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_6B				15
99*8d13bc63SEmmanuel Vadot 
100*8d13bc63SEmmanuel Vadot #define MASTER_GPU_TCU				0
101*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_TCU				1
102*8d13bc63SEmmanuel Vadot #define MASTER_SYS_TCU				2
103*8d13bc63SEmmanuel Vadot #define MASTER_APPSS_PROC			3
104*8d13bc63SEmmanuel Vadot #define MASTER_GFX3D				4
105*8d13bc63SEmmanuel Vadot #define MASTER_LPASS_GEM_NOC			5
106*8d13bc63SEmmanuel Vadot #define MASTER_MNOC_HF_MEM_NOC			6
107*8d13bc63SEmmanuel Vadot #define MASTER_MNOC_SF_MEM_NOC			7
108*8d13bc63SEmmanuel Vadot #define MASTER_COMPUTE_NOC			8
109*8d13bc63SEmmanuel Vadot #define MASTER_ANOC_PCIE_GEM_NOC		9
110*8d13bc63SEmmanuel Vadot #define MASTER_SNOC_SF_MEM_NOC			10
111*8d13bc63SEmmanuel Vadot #define MASTER_GIC2				11
112*8d13bc63SEmmanuel Vadot #define SLAVE_GEM_NOC_CNOC			12
113*8d13bc63SEmmanuel Vadot #define SLAVE_LLCC				13
114*8d13bc63SEmmanuel Vadot #define SLAVE_MEM_NOC_PCIE_SNOC			14
115*8d13bc63SEmmanuel Vadot 
116*8d13bc63SEmmanuel Vadot #define MASTER_LPIAON_NOC			0
117*8d13bc63SEmmanuel Vadot #define SLAVE_LPASS_GEM_NOC			1
118*8d13bc63SEmmanuel Vadot 
119*8d13bc63SEmmanuel Vadot #define MASTER_LPASS_LPINOC			0
120*8d13bc63SEmmanuel Vadot #define SLAVE_LPIAON_NOC_LPASS_AG_NOC		1
121*8d13bc63SEmmanuel Vadot 
122*8d13bc63SEmmanuel Vadot #define MASTER_LPASS_PROC			0
123*8d13bc63SEmmanuel Vadot #define SLAVE_LPICX_NOC_LPIAON_NOC		1
124*8d13bc63SEmmanuel Vadot 
125*8d13bc63SEmmanuel Vadot #define MASTER_LLCC				0
126*8d13bc63SEmmanuel Vadot #define SLAVE_EBI1				1
127*8d13bc63SEmmanuel Vadot 
128*8d13bc63SEmmanuel Vadot #define MASTER_AV1_ENC				0
129*8d13bc63SEmmanuel Vadot #define MASTER_CAMNOC_HF			1
130*8d13bc63SEmmanuel Vadot #define MASTER_CAMNOC_ICP			2
131*8d13bc63SEmmanuel Vadot #define MASTER_CAMNOC_SF			3
132*8d13bc63SEmmanuel Vadot #define MASTER_EVA				4
133*8d13bc63SEmmanuel Vadot #define MASTER_MDP				5
134*8d13bc63SEmmanuel Vadot #define MASTER_VIDEO				6
135*8d13bc63SEmmanuel Vadot #define MASTER_VIDEO_CV_PROC			7
136*8d13bc63SEmmanuel Vadot #define MASTER_VIDEO_V_PROC			8
137*8d13bc63SEmmanuel Vadot #define MASTER_CNOC_MNOC_CFG			9
138*8d13bc63SEmmanuel Vadot #define SLAVE_MNOC_HF_MEM_NOC			10
139*8d13bc63SEmmanuel Vadot #define SLAVE_MNOC_SF_MEM_NOC			11
140*8d13bc63SEmmanuel Vadot #define SLAVE_SERVICE_MNOC			12
141*8d13bc63SEmmanuel Vadot 
142*8d13bc63SEmmanuel Vadot #define MASTER_CDSP_PROC			0
143*8d13bc63SEmmanuel Vadot #define SLAVE_CDSP_MEM_NOC			1
144*8d13bc63SEmmanuel Vadot 
145*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_NORTH			0
146*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_SOUTH			1
147*8d13bc63SEmmanuel Vadot #define SLAVE_ANOC_PCIE_GEM_NOC			2
148*8d13bc63SEmmanuel Vadot 
149*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_3				0
150*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_4				1
151*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_5				2
152*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_NORTH			3
153*8d13bc63SEmmanuel Vadot 
154*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_0				0
155*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_1				1
156*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_2				2
157*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_6A				3
158*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_6B				4
159*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_SOUTH			5
160*8d13bc63SEmmanuel Vadot 
161*8d13bc63SEmmanuel Vadot #define MASTER_A1NOC_SNOC			0
162*8d13bc63SEmmanuel Vadot #define MASTER_A2NOC_SNOC			1
163*8d13bc63SEmmanuel Vadot #define MASTER_GIC1				2
164*8d13bc63SEmmanuel Vadot #define MASTER_USB_NOC_SNOC			3
165*8d13bc63SEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_SF			4
166*8d13bc63SEmmanuel Vadot 
167*8d13bc63SEmmanuel Vadot #define MASTER_AGGRE_USB_NORTH			0
168*8d13bc63SEmmanuel Vadot #define MASTER_AGGRE_USB_SOUTH			1
169*8d13bc63SEmmanuel Vadot #define SLAVE_USB_NOC_SNOC			2
170*8d13bc63SEmmanuel Vadot 
171*8d13bc63SEmmanuel Vadot #define MASTER_USB2				0
172*8d13bc63SEmmanuel Vadot #define MASTER_USB3_MP				1
173*8d13bc63SEmmanuel Vadot #define SLAVE_AGGRE_USB_NORTH			2
174*8d13bc63SEmmanuel Vadot 
175*8d13bc63SEmmanuel Vadot #define MASTER_USB3_0				0
176*8d13bc63SEmmanuel Vadot #define MASTER_USB3_1				1
177*8d13bc63SEmmanuel Vadot #define MASTER_USB3_2				2
178*8d13bc63SEmmanuel Vadot #define MASTER_USB4_0				3
179*8d13bc63SEmmanuel Vadot #define MASTER_USB4_1				4
180*8d13bc63SEmmanuel Vadot #define MASTER_USB4_2				5
181*8d13bc63SEmmanuel Vadot #define SLAVE_AGGRE_USB_SOUTH			6
182*8d13bc63SEmmanuel Vadot 
183*8d13bc63SEmmanuel Vadot #endif
184