xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/interconnect/qcom,sdm670-rpmh.h (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1*cb7aa33aSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
2*cb7aa33aSEmmanuel Vadot /*
3*cb7aa33aSEmmanuel Vadot  * Qualcomm SDM670 interconnect IDs
4*cb7aa33aSEmmanuel Vadot  *
5*cb7aa33aSEmmanuel Vadot  * Copyright (c) 2022, The Linux Foundation. All rights reserved.
6*cb7aa33aSEmmanuel Vadot  */
7*cb7aa33aSEmmanuel Vadot 
8*cb7aa33aSEmmanuel Vadot #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SDM670_H
9*cb7aa33aSEmmanuel Vadot #define __DT_BINDINGS_INTERCONNECT_QCOM_SDM670_H
10*cb7aa33aSEmmanuel Vadot 
11*cb7aa33aSEmmanuel Vadot #define MASTER_A1NOC_CFG		0
12*cb7aa33aSEmmanuel Vadot #define MASTER_BLSP_1			1
13*cb7aa33aSEmmanuel Vadot #define MASTER_TSIF			2
14*cb7aa33aSEmmanuel Vadot #define MASTER_EMMC			3
15*cb7aa33aSEmmanuel Vadot #define MASTER_SDCC_2			4
16*cb7aa33aSEmmanuel Vadot #define MASTER_SDCC_4			5
17*cb7aa33aSEmmanuel Vadot #define MASTER_UFS_MEM			6
18*cb7aa33aSEmmanuel Vadot #define SLAVE_A1NOC_SNOC		7
19*cb7aa33aSEmmanuel Vadot #define SLAVE_SERVICE_A1NOC		8
20*cb7aa33aSEmmanuel Vadot 
21*cb7aa33aSEmmanuel Vadot #define MASTER_A2NOC_CFG		0
22*cb7aa33aSEmmanuel Vadot #define MASTER_QDSS_BAM			1
23*cb7aa33aSEmmanuel Vadot #define MASTER_BLSP_2			2
24*cb7aa33aSEmmanuel Vadot #define MASTER_CNOC_A2NOC		3
25*cb7aa33aSEmmanuel Vadot #define MASTER_CRYPTO_CORE_0		4
26*cb7aa33aSEmmanuel Vadot #define MASTER_IPA			5
27*cb7aa33aSEmmanuel Vadot #define MASTER_QDSS_ETR			6
28*cb7aa33aSEmmanuel Vadot #define MASTER_USB3			7
29*cb7aa33aSEmmanuel Vadot #define SLAVE_A2NOC_SNOC		8
30*cb7aa33aSEmmanuel Vadot #define SLAVE_SERVICE_A2NOC		9
31*cb7aa33aSEmmanuel Vadot 
32*cb7aa33aSEmmanuel Vadot 
33*cb7aa33aSEmmanuel Vadot #define MASTER_SPDM			0
34*cb7aa33aSEmmanuel Vadot #define MASTER_SNOC_CNOC		1
35*cb7aa33aSEmmanuel Vadot #define SLAVE_A1NOC_CFG			2
36*cb7aa33aSEmmanuel Vadot #define SLAVE_A2NOC_CFG			3
37*cb7aa33aSEmmanuel Vadot #define SLAVE_AOP			4
38*cb7aa33aSEmmanuel Vadot #define SLAVE_AOSS			5
39*cb7aa33aSEmmanuel Vadot #define SLAVE_CAMERA_CFG		6
40*cb7aa33aSEmmanuel Vadot #define SLAVE_CLK_CTL			7
41*cb7aa33aSEmmanuel Vadot #define SLAVE_CDSP_CFG			8
42*cb7aa33aSEmmanuel Vadot #define SLAVE_RBCPR_CX_CFG		9
43*cb7aa33aSEmmanuel Vadot #define SLAVE_CRYPTO_0_CFG		10
44*cb7aa33aSEmmanuel Vadot #define SLAVE_DCC_CFG			11
45*cb7aa33aSEmmanuel Vadot #define SLAVE_CNOC_DDRSS		12
46*cb7aa33aSEmmanuel Vadot #define SLAVE_DISPLAY_CFG		13
47*cb7aa33aSEmmanuel Vadot #define SLAVE_EMMC_CFG			14
48*cb7aa33aSEmmanuel Vadot #define SLAVE_GLM			15
49*cb7aa33aSEmmanuel Vadot #define SLAVE_GRAPHICS_3D_CFG		16
50*cb7aa33aSEmmanuel Vadot #define SLAVE_IMEM_CFG			17
51*cb7aa33aSEmmanuel Vadot #define SLAVE_IPA_CFG			18
52*cb7aa33aSEmmanuel Vadot #define SLAVE_CNOC_MNOC_CFG		19
53*cb7aa33aSEmmanuel Vadot #define SLAVE_PDM			20
54*cb7aa33aSEmmanuel Vadot #define SLAVE_SOUTH_PHY_CFG		21
55*cb7aa33aSEmmanuel Vadot #define SLAVE_PIMEM_CFG			22
56*cb7aa33aSEmmanuel Vadot #define SLAVE_PRNG			23
57*cb7aa33aSEmmanuel Vadot #define SLAVE_QDSS_CFG			24
58*cb7aa33aSEmmanuel Vadot #define SLAVE_BLSP_2			25
59*cb7aa33aSEmmanuel Vadot #define SLAVE_BLSP_1			26
60*cb7aa33aSEmmanuel Vadot #define SLAVE_SDCC_2			27
61*cb7aa33aSEmmanuel Vadot #define SLAVE_SDCC_4			28
62*cb7aa33aSEmmanuel Vadot #define SLAVE_SNOC_CFG			29
63*cb7aa33aSEmmanuel Vadot #define SLAVE_SPDM_WRAPPER		30
64*cb7aa33aSEmmanuel Vadot #define SLAVE_TCSR			31
65*cb7aa33aSEmmanuel Vadot #define SLAVE_TLMM_NORTH		32
66*cb7aa33aSEmmanuel Vadot #define SLAVE_TLMM_SOUTH		33
67*cb7aa33aSEmmanuel Vadot #define SLAVE_TSIF			34
68*cb7aa33aSEmmanuel Vadot #define SLAVE_UFS_MEM_CFG		35
69*cb7aa33aSEmmanuel Vadot #define SLAVE_USB3			36
70*cb7aa33aSEmmanuel Vadot #define SLAVE_VENUS_CFG			37
71*cb7aa33aSEmmanuel Vadot #define SLAVE_VSENSE_CTRL_CFG		38
72*cb7aa33aSEmmanuel Vadot #define SLAVE_CNOC_A2NOC		39
73*cb7aa33aSEmmanuel Vadot #define SLAVE_SERVICE_CNOC		40
74*cb7aa33aSEmmanuel Vadot 
75*cb7aa33aSEmmanuel Vadot #define MASTER_CNOC_DC_NOC		0
76*cb7aa33aSEmmanuel Vadot #define SLAVE_LLCC_CFG			1
77*cb7aa33aSEmmanuel Vadot #define SLAVE_MEM_NOC_CFG		2
78*cb7aa33aSEmmanuel Vadot 
79*cb7aa33aSEmmanuel Vadot #define MASTER_AMPSS_M0			0
80*cb7aa33aSEmmanuel Vadot #define MASTER_GNOC_CFG			1
81*cb7aa33aSEmmanuel Vadot #define SLAVE_GNOC_SNOC			2
82*cb7aa33aSEmmanuel Vadot #define SLAVE_GNOC_MEM_NOC		3
83*cb7aa33aSEmmanuel Vadot #define SLAVE_SERVICE_GNOC		4
84*cb7aa33aSEmmanuel Vadot 
85*cb7aa33aSEmmanuel Vadot #define MASTER_TCU_0			0
86*cb7aa33aSEmmanuel Vadot #define MASTER_MEM_NOC_CFG		1
87*cb7aa33aSEmmanuel Vadot #define MASTER_GNOC_MEM_NOC		2
88*cb7aa33aSEmmanuel Vadot #define MASTER_MNOC_HF_MEM_NOC		3
89*cb7aa33aSEmmanuel Vadot #define MASTER_MNOC_SF_MEM_NOC		4
90*cb7aa33aSEmmanuel Vadot #define MASTER_SNOC_GC_MEM_NOC		5
91*cb7aa33aSEmmanuel Vadot #define MASTER_SNOC_SF_MEM_NOC		6
92*cb7aa33aSEmmanuel Vadot #define MASTER_GRAPHICS_3D		7
93*cb7aa33aSEmmanuel Vadot #define SLAVE_MSS_PROC_MS_MPU_CFG	8
94*cb7aa33aSEmmanuel Vadot #define SLAVE_MEM_NOC_GNOC		9
95*cb7aa33aSEmmanuel Vadot #define SLAVE_LLCC			10
96*cb7aa33aSEmmanuel Vadot #define SLAVE_MEM_NOC_SNOC		11
97*cb7aa33aSEmmanuel Vadot #define SLAVE_SERVICE_MEM_NOC		12
98*cb7aa33aSEmmanuel Vadot #define MASTER_LLCC			13
99*cb7aa33aSEmmanuel Vadot #define SLAVE_EBI_CH0			14
100*cb7aa33aSEmmanuel Vadot 
101*cb7aa33aSEmmanuel Vadot #define MASTER_CNOC_MNOC_CFG		0
102*cb7aa33aSEmmanuel Vadot #define MASTER_CAMNOC_HF0		1
103*cb7aa33aSEmmanuel Vadot #define MASTER_CAMNOC_HF1		2
104*cb7aa33aSEmmanuel Vadot #define MASTER_CAMNOC_SF		3
105*cb7aa33aSEmmanuel Vadot #define MASTER_MDP_PORT0		4
106*cb7aa33aSEmmanuel Vadot #define MASTER_MDP_PORT1		5
107*cb7aa33aSEmmanuel Vadot #define MASTER_ROTATOR			6
108*cb7aa33aSEmmanuel Vadot #define MASTER_VIDEO_P0			7
109*cb7aa33aSEmmanuel Vadot #define MASTER_VIDEO_P1			8
110*cb7aa33aSEmmanuel Vadot #define MASTER_VIDEO_PROC		9
111*cb7aa33aSEmmanuel Vadot #define SLAVE_MNOC_SF_MEM_NOC		10
112*cb7aa33aSEmmanuel Vadot #define SLAVE_MNOC_HF_MEM_NOC		11
113*cb7aa33aSEmmanuel Vadot #define SLAVE_SERVICE_MNOC		12
114*cb7aa33aSEmmanuel Vadot 
115*cb7aa33aSEmmanuel Vadot #define MASTER_SNOC_CFG			0
116*cb7aa33aSEmmanuel Vadot #define MASTER_A1NOC_SNOC		1
117*cb7aa33aSEmmanuel Vadot #define MASTER_A2NOC_SNOC		2
118*cb7aa33aSEmmanuel Vadot #define MASTER_GNOC_SNOC		3
119*cb7aa33aSEmmanuel Vadot #define MASTER_MEM_NOC_SNOC		4
120*cb7aa33aSEmmanuel Vadot #define MASTER_PIMEM			5
121*cb7aa33aSEmmanuel Vadot #define MASTER_GIC			6
122*cb7aa33aSEmmanuel Vadot #define SLAVE_APPSS			7
123*cb7aa33aSEmmanuel Vadot #define SLAVE_SNOC_CNOC			8
124*cb7aa33aSEmmanuel Vadot #define SLAVE_SNOC_MEM_NOC_GC		9
125*cb7aa33aSEmmanuel Vadot #define SLAVE_SNOC_MEM_NOC_SF		10
126*cb7aa33aSEmmanuel Vadot #define SLAVE_OCIMEM			11
127*cb7aa33aSEmmanuel Vadot #define SLAVE_PIMEM			12
128*cb7aa33aSEmmanuel Vadot #define SLAVE_SERVICE_SNOC		13
129*cb7aa33aSEmmanuel Vadot #define SLAVE_QDSS_STM			14
130*cb7aa33aSEmmanuel Vadot #define SLAVE_TCU			15
131*cb7aa33aSEmmanuel Vadot #define MASTER_CAMNOC_HF0_UNCOMP	16
132*cb7aa33aSEmmanuel Vadot #define MASTER_CAMNOC_HF1_UNCOMP	17
133*cb7aa33aSEmmanuel Vadot #define MASTER_CAMNOC_SF_UNCOMP		18
134*cb7aa33aSEmmanuel Vadot #define SLAVE_CAMNOC_UNCOMP		19
135*cb7aa33aSEmmanuel Vadot 
136*cb7aa33aSEmmanuel Vadot #endif
137