xref: /freebsd-src/sys/contrib/device-tree/include/dt-bindings/interconnect/qcom,sm8650-rpmh.h (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1*8d13bc63SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*8d13bc63SEmmanuel Vadot /*
3*8d13bc63SEmmanuel Vadot  * Copyright (c) 2021, The Linux Foundation. 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_SM8650_H
8*8d13bc63SEmmanuel Vadot #define __DT_BINDINGS_INTERCONNECT_QCOM_SM8650_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_QUP_3				2
13*8d13bc63SEmmanuel Vadot #define MASTER_SDCC_4				3
14*8d13bc63SEmmanuel Vadot #define MASTER_UFS_MEM				4
15*8d13bc63SEmmanuel Vadot #define MASTER_USB3_0				5
16*8d13bc63SEmmanuel Vadot #define SLAVE_A1NOC_SNOC			6
17*8d13bc63SEmmanuel Vadot 
18*8d13bc63SEmmanuel Vadot #define MASTER_QDSS_BAM				0
19*8d13bc63SEmmanuel Vadot #define MASTER_QUP_2				1
20*8d13bc63SEmmanuel Vadot #define MASTER_CRYPTO				2
21*8d13bc63SEmmanuel Vadot #define MASTER_IPA				3
22*8d13bc63SEmmanuel Vadot #define MASTER_SP				4
23*8d13bc63SEmmanuel Vadot #define MASTER_QDSS_ETR				5
24*8d13bc63SEmmanuel Vadot #define MASTER_QDSS_ETR_1			6
25*8d13bc63SEmmanuel Vadot #define MASTER_SDCC_2				7
26*8d13bc63SEmmanuel Vadot #define SLAVE_A2NOC_SNOC			8
27*8d13bc63SEmmanuel Vadot 
28*8d13bc63SEmmanuel Vadot #define MASTER_QUP_CORE_0			0
29*8d13bc63SEmmanuel Vadot #define MASTER_QUP_CORE_1			1
30*8d13bc63SEmmanuel Vadot #define MASTER_QUP_CORE_2			2
31*8d13bc63SEmmanuel Vadot #define SLAVE_QUP_CORE_0			3
32*8d13bc63SEmmanuel Vadot #define SLAVE_QUP_CORE_1			4
33*8d13bc63SEmmanuel Vadot #define SLAVE_QUP_CORE_2			5
34*8d13bc63SEmmanuel Vadot 
35*8d13bc63SEmmanuel Vadot #define MASTER_CNOC_CFG				0
36*8d13bc63SEmmanuel Vadot #define SLAVE_AHB2PHY_SOUTH			1
37*8d13bc63SEmmanuel Vadot #define SLAVE_AHB2PHY_NORTH			2
38*8d13bc63SEmmanuel Vadot #define SLAVE_CAMERA_CFG			3
39*8d13bc63SEmmanuel Vadot #define SLAVE_CLK_CTL				4
40*8d13bc63SEmmanuel Vadot #define SLAVE_RBCPR_CX_CFG			5
41*8d13bc63SEmmanuel Vadot #define SLAVE_CPR_HMX				6
42*8d13bc63SEmmanuel Vadot #define SLAVE_RBCPR_MMCX_CFG			7
43*8d13bc63SEmmanuel Vadot #define SLAVE_RBCPR_MXA_CFG			8
44*8d13bc63SEmmanuel Vadot #define SLAVE_RBCPR_MXC_CFG			9
45*8d13bc63SEmmanuel Vadot #define SLAVE_CPR_NSPCX				10
46*8d13bc63SEmmanuel Vadot #define SLAVE_CRYPTO_0_CFG			11
47*8d13bc63SEmmanuel Vadot #define SLAVE_CX_RDPM				12
48*8d13bc63SEmmanuel Vadot #define SLAVE_DISPLAY_CFG			13
49*8d13bc63SEmmanuel Vadot #define SLAVE_GFX3D_CFG				14
50*8d13bc63SEmmanuel Vadot #define SLAVE_I2C				15
51*8d13bc63SEmmanuel Vadot #define SLAVE_I3C_IBI0_CFG			16
52*8d13bc63SEmmanuel Vadot #define SLAVE_I3C_IBI1_CFG			17
53*8d13bc63SEmmanuel Vadot #define SLAVE_IMEM_CFG				18
54*8d13bc63SEmmanuel Vadot #define SLAVE_CNOC_MSS				19
55*8d13bc63SEmmanuel Vadot #define SLAVE_MX_2_RDPM				20
56*8d13bc63SEmmanuel Vadot #define SLAVE_MX_RDPM				21
57*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_0_CFG			22
58*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_1_CFG			23
59*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_RSCC				24
60*8d13bc63SEmmanuel Vadot #define SLAVE_PDM				25
61*8d13bc63SEmmanuel Vadot #define SLAVE_PRNG				26
62*8d13bc63SEmmanuel Vadot #define SLAVE_QDSS_CFG				27
63*8d13bc63SEmmanuel Vadot #define SLAVE_QSPI_0				28
64*8d13bc63SEmmanuel Vadot #define SLAVE_QUP_3				29
65*8d13bc63SEmmanuel Vadot #define SLAVE_QUP_1				30
66*8d13bc63SEmmanuel Vadot #define SLAVE_QUP_2				31
67*8d13bc63SEmmanuel Vadot #define SLAVE_SDCC_2				32
68*8d13bc63SEmmanuel Vadot #define SLAVE_SDCC_4				33
69*8d13bc63SEmmanuel Vadot #define SLAVE_SPSS_CFG				34
70*8d13bc63SEmmanuel Vadot #define SLAVE_TCSR				35
71*8d13bc63SEmmanuel Vadot #define SLAVE_TLMM				36
72*8d13bc63SEmmanuel Vadot #define SLAVE_UFS_MEM_CFG			37
73*8d13bc63SEmmanuel Vadot #define SLAVE_USB3_0				38
74*8d13bc63SEmmanuel Vadot #define SLAVE_VENUS_CFG				39
75*8d13bc63SEmmanuel Vadot #define SLAVE_VSENSE_CTRL_CFG			40
76*8d13bc63SEmmanuel Vadot #define SLAVE_CNOC_MNOC_CFG			41
77*8d13bc63SEmmanuel Vadot #define SLAVE_NSP_QTB_CFG			42
78*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_ANOC_CFG			43
79*8d13bc63SEmmanuel Vadot #define SLAVE_SERVICE_CNOC_CFG			44
80*8d13bc63SEmmanuel Vadot #define SLAVE_QDSS_STM				45
81*8d13bc63SEmmanuel Vadot #define SLAVE_TCU				46
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_IPA_CFG				3
87*8d13bc63SEmmanuel Vadot #define SLAVE_IPC_ROUTER_CFG			4
88*8d13bc63SEmmanuel Vadot #define SLAVE_TME_CFG				5
89*8d13bc63SEmmanuel Vadot #define SLAVE_APPSS				6
90*8d13bc63SEmmanuel Vadot #define SLAVE_CNOC_CFG				7
91*8d13bc63SEmmanuel Vadot #define SLAVE_DDRSS_CFG				8
92*8d13bc63SEmmanuel Vadot #define SLAVE_IMEM				9
93*8d13bc63SEmmanuel Vadot #define SLAVE_SERVICE_CNOC			10
94*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_0				11
95*8d13bc63SEmmanuel Vadot #define SLAVE_PCIE_1				12
96*8d13bc63SEmmanuel Vadot 
97*8d13bc63SEmmanuel Vadot #define MASTER_GPU_TCU				0
98*8d13bc63SEmmanuel Vadot #define MASTER_SYS_TCU				1
99*8d13bc63SEmmanuel Vadot #define MASTER_UBWC_P_TCU			2
100*8d13bc63SEmmanuel Vadot #define MASTER_APPSS_PROC			3
101*8d13bc63SEmmanuel Vadot #define MASTER_GFX3D				4
102*8d13bc63SEmmanuel Vadot #define MASTER_LPASS_GEM_NOC			5
103*8d13bc63SEmmanuel Vadot #define MASTER_MSS_PROC				6
104*8d13bc63SEmmanuel Vadot #define MASTER_MNOC_HF_MEM_NOC			7
105*8d13bc63SEmmanuel Vadot #define MASTER_MNOC_SF_MEM_NOC			8
106*8d13bc63SEmmanuel Vadot #define MASTER_COMPUTE_NOC			9
107*8d13bc63SEmmanuel Vadot #define MASTER_ANOC_PCIE_GEM_NOC		10
108*8d13bc63SEmmanuel Vadot #define MASTER_SNOC_SF_MEM_NOC			11
109*8d13bc63SEmmanuel Vadot #define MASTER_UBWC_P				12
110*8d13bc63SEmmanuel Vadot #define MASTER_GIC				13
111*8d13bc63SEmmanuel Vadot #define SLAVE_GEM_NOC_CNOC			14
112*8d13bc63SEmmanuel Vadot #define SLAVE_LLCC				15
113*8d13bc63SEmmanuel Vadot #define SLAVE_MEM_NOC_PCIE_SNOC			16
114*8d13bc63SEmmanuel Vadot 
115*8d13bc63SEmmanuel Vadot #define MASTER_LPIAON_NOC			0
116*8d13bc63SEmmanuel Vadot #define SLAVE_LPASS_GEM_NOC			1
117*8d13bc63SEmmanuel Vadot 
118*8d13bc63SEmmanuel Vadot #define MASTER_LPASS_LPINOC			0
119*8d13bc63SEmmanuel Vadot #define SLAVE_LPIAON_NOC_LPASS_AG_NOC		1
120*8d13bc63SEmmanuel Vadot 
121*8d13bc63SEmmanuel Vadot #define MASTER_LPASS_PROC			0
122*8d13bc63SEmmanuel Vadot #define SLAVE_LPICX_NOC_LPIAON_NOC		1
123*8d13bc63SEmmanuel Vadot 
124*8d13bc63SEmmanuel Vadot #define MASTER_LLCC				0
125*8d13bc63SEmmanuel Vadot #define SLAVE_EBI1				1
126*8d13bc63SEmmanuel Vadot 
127*8d13bc63SEmmanuel Vadot #define MASTER_CAMNOC_HF			0
128*8d13bc63SEmmanuel Vadot #define MASTER_CAMNOC_ICP			1
129*8d13bc63SEmmanuel Vadot #define MASTER_CAMNOC_SF			2
130*8d13bc63SEmmanuel Vadot #define MASTER_MDP				3
131*8d13bc63SEmmanuel Vadot #define MASTER_CDSP_HCP				4
132*8d13bc63SEmmanuel Vadot #define MASTER_VIDEO				5
133*8d13bc63SEmmanuel Vadot #define MASTER_VIDEO_CV_PROC			6
134*8d13bc63SEmmanuel Vadot #define MASTER_VIDEO_PROC			7
135*8d13bc63SEmmanuel Vadot #define MASTER_VIDEO_V_PROC			8
136*8d13bc63SEmmanuel Vadot #define MASTER_CNOC_MNOC_CFG			9
137*8d13bc63SEmmanuel Vadot #define SLAVE_MNOC_HF_MEM_NOC			10
138*8d13bc63SEmmanuel Vadot #define SLAVE_MNOC_SF_MEM_NOC			11
139*8d13bc63SEmmanuel Vadot #define SLAVE_SERVICE_MNOC			12
140*8d13bc63SEmmanuel Vadot 
141*8d13bc63SEmmanuel Vadot #define MASTER_CDSP_PROC			0
142*8d13bc63SEmmanuel Vadot #define SLAVE_CDSP_MEM_NOC			1
143*8d13bc63SEmmanuel Vadot 
144*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_ANOC_CFG			0
145*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_0				1
146*8d13bc63SEmmanuel Vadot #define MASTER_PCIE_1				2
147*8d13bc63SEmmanuel Vadot #define SLAVE_ANOC_PCIE_GEM_NOC			3
148*8d13bc63SEmmanuel Vadot #define SLAVE_SERVICE_PCIE_ANOC			4
149*8d13bc63SEmmanuel Vadot 
150*8d13bc63SEmmanuel Vadot #define MASTER_A1NOC_SNOC			0
151*8d13bc63SEmmanuel Vadot #define MASTER_A2NOC_SNOC			1
152*8d13bc63SEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_SF			2
153*8d13bc63SEmmanuel Vadot 
154*8d13bc63SEmmanuel Vadot #endif
155