xref: /freebsd-src/sys/contrib/device-tree/include/dt-bindings/interconnect/qcom,sm8350.h (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*2eb4d8dcSEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*2eb4d8dcSEmmanuel Vadot /*
3*2eb4d8dcSEmmanuel Vadot  * Qualcomm SM8350 interconnect IDs
4*2eb4d8dcSEmmanuel Vadot  *
5*2eb4d8dcSEmmanuel Vadot  * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
6*2eb4d8dcSEmmanuel Vadot  * Copyright (c) 2021, Linaro Limited
7*2eb4d8dcSEmmanuel Vadot  */
8*2eb4d8dcSEmmanuel Vadot 
9*2eb4d8dcSEmmanuel Vadot #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM8350_H
10*2eb4d8dcSEmmanuel Vadot #define __DT_BINDINGS_INTERCONNECT_QCOM_SM8350_H
11*2eb4d8dcSEmmanuel Vadot 
12*2eb4d8dcSEmmanuel Vadot #define MASTER_QSPI_0			0
13*2eb4d8dcSEmmanuel Vadot #define MASTER_QUP_1			1
14*2eb4d8dcSEmmanuel Vadot #define MASTER_A1NOC_CFG		2
15*2eb4d8dcSEmmanuel Vadot #define MASTER_SDCC_4			3
16*2eb4d8dcSEmmanuel Vadot #define MASTER_UFS_MEM			4
17*2eb4d8dcSEmmanuel Vadot #define MASTER_USB3_0			5
18*2eb4d8dcSEmmanuel Vadot #define MASTER_USB3_1			6
19*2eb4d8dcSEmmanuel Vadot #define SLAVE_A1NOC_SNOC		7
20*2eb4d8dcSEmmanuel Vadot #define SLAVE_SERVICE_A1NOC		8
21*2eb4d8dcSEmmanuel Vadot 
22*2eb4d8dcSEmmanuel Vadot #define MASTER_QDSS_BAM			0
23*2eb4d8dcSEmmanuel Vadot #define MASTER_QUP_0			1
24*2eb4d8dcSEmmanuel Vadot #define MASTER_QUP_2			2
25*2eb4d8dcSEmmanuel Vadot #define MASTER_A2NOC_CFG		3
26*2eb4d8dcSEmmanuel Vadot #define MASTER_CRYPTO			4
27*2eb4d8dcSEmmanuel Vadot #define MASTER_IPA			5
28*2eb4d8dcSEmmanuel Vadot #define MASTER_PCIE_0			6
29*2eb4d8dcSEmmanuel Vadot #define MASTER_PCIE_1			7
30*2eb4d8dcSEmmanuel Vadot #define MASTER_QDSS_ETR			8
31*2eb4d8dcSEmmanuel Vadot #define MASTER_SDCC_2			9
32*2eb4d8dcSEmmanuel Vadot #define MASTER_UFS_CARD			10
33*2eb4d8dcSEmmanuel Vadot #define SLAVE_A2NOC_SNOC		11
34*2eb4d8dcSEmmanuel Vadot #define SLAVE_ANOC_PCIE_GEM_NOC		12
35*2eb4d8dcSEmmanuel Vadot #define SLAVE_SERVICE_A2NOC		13
36*2eb4d8dcSEmmanuel Vadot 
37*2eb4d8dcSEmmanuel Vadot #define MASTER_GEM_NOC_CNOC		0
38*2eb4d8dcSEmmanuel Vadot #define MASTER_GEM_NOC_PCIE_SNOC	1
39*2eb4d8dcSEmmanuel Vadot #define MASTER_QDSS_DAP			2
40*2eb4d8dcSEmmanuel Vadot #define SLAVE_AHB2PHY_SOUTH		3
41*2eb4d8dcSEmmanuel Vadot #define SLAVE_AHB2PHY_NORTH		4
42*2eb4d8dcSEmmanuel Vadot #define SLAVE_AOSS			5
43*2eb4d8dcSEmmanuel Vadot #define SLAVE_APPSS			6
44*2eb4d8dcSEmmanuel Vadot #define SLAVE_CAMERA_CFG		7
45*2eb4d8dcSEmmanuel Vadot #define SLAVE_CLK_CTL			8
46*2eb4d8dcSEmmanuel Vadot #define SLAVE_CDSP_CFG			9
47*2eb4d8dcSEmmanuel Vadot #define SLAVE_RBCPR_CX_CFG		10
48*2eb4d8dcSEmmanuel Vadot #define SLAVE_RBCPR_MMCX_CFG		11
49*2eb4d8dcSEmmanuel Vadot #define SLAVE_RBCPR_MX_CFG		12
50*2eb4d8dcSEmmanuel Vadot #define SLAVE_CRYPTO_0_CFG		13
51*2eb4d8dcSEmmanuel Vadot #define SLAVE_CX_RDPM			14
52*2eb4d8dcSEmmanuel Vadot #define SLAVE_DCC_CFG			15
53*2eb4d8dcSEmmanuel Vadot #define SLAVE_DISPLAY_CFG		16
54*2eb4d8dcSEmmanuel Vadot #define SLAVE_GFX3D_CFG			17
55*2eb4d8dcSEmmanuel Vadot #define SLAVE_HWKM			18
56*2eb4d8dcSEmmanuel Vadot #define SLAVE_IMEM_CFG			19
57*2eb4d8dcSEmmanuel Vadot #define SLAVE_IPA_CFG			20
58*2eb4d8dcSEmmanuel Vadot #define SLAVE_IPC_ROUTER_CFG		21
59*2eb4d8dcSEmmanuel Vadot #define SLAVE_LPASS			22
60*2eb4d8dcSEmmanuel Vadot #define SLAVE_CNOC_MSS			23
61*2eb4d8dcSEmmanuel Vadot #define SLAVE_MX_RDPM			24
62*2eb4d8dcSEmmanuel Vadot #define SLAVE_PCIE_0_CFG		25
63*2eb4d8dcSEmmanuel Vadot #define SLAVE_PCIE_1_CFG		26
64*2eb4d8dcSEmmanuel Vadot #define SLAVE_PDM			27
65*2eb4d8dcSEmmanuel Vadot #define SLAVE_PIMEM_CFG			28
66*2eb4d8dcSEmmanuel Vadot #define SLAVE_PKA_WRAPPER_CFG		29
67*2eb4d8dcSEmmanuel Vadot #define SLAVE_PMU_WRAPPER_CFG		30
68*2eb4d8dcSEmmanuel Vadot #define SLAVE_QDSS_CFG			31
69*2eb4d8dcSEmmanuel Vadot #define SLAVE_QSPI_0			32
70*2eb4d8dcSEmmanuel Vadot #define SLAVE_QUP_0			33
71*2eb4d8dcSEmmanuel Vadot #define SLAVE_QUP_1			34
72*2eb4d8dcSEmmanuel Vadot #define SLAVE_QUP_2			35
73*2eb4d8dcSEmmanuel Vadot #define SLAVE_SDCC_2			36
74*2eb4d8dcSEmmanuel Vadot #define SLAVE_SDCC_4			37
75*2eb4d8dcSEmmanuel Vadot #define SLAVE_SECURITY			38
76*2eb4d8dcSEmmanuel Vadot #define SLAVE_SPSS_CFG			39
77*2eb4d8dcSEmmanuel Vadot #define SLAVE_TCSR			40
78*2eb4d8dcSEmmanuel Vadot #define SLAVE_TLMM			41
79*2eb4d8dcSEmmanuel Vadot #define SLAVE_UFS_CARD_CFG		42
80*2eb4d8dcSEmmanuel Vadot #define SLAVE_UFS_MEM_CFG		43
81*2eb4d8dcSEmmanuel Vadot #define SLAVE_USB3_0			44
82*2eb4d8dcSEmmanuel Vadot #define SLAVE_USB3_1			45
83*2eb4d8dcSEmmanuel Vadot #define SLAVE_VENUS_CFG			46
84*2eb4d8dcSEmmanuel Vadot #define SLAVE_VSENSE_CTRL_CFG		47
85*2eb4d8dcSEmmanuel Vadot #define SLAVE_A1NOC_CFG			48
86*2eb4d8dcSEmmanuel Vadot #define SLAVE_A2NOC_CFG			49
87*2eb4d8dcSEmmanuel Vadot #define SLAVE_DDRSS_CFG			50
88*2eb4d8dcSEmmanuel Vadot #define SLAVE_CNOC_MNOC_CFG		51
89*2eb4d8dcSEmmanuel Vadot #define SLAVE_SNOC_CFG			52
90*2eb4d8dcSEmmanuel Vadot #define SLAVE_BOOT_IMEM			53
91*2eb4d8dcSEmmanuel Vadot #define SLAVE_IMEM			54
92*2eb4d8dcSEmmanuel Vadot #define SLAVE_PIMEM			55
93*2eb4d8dcSEmmanuel Vadot #define SLAVE_SERVICE_CNOC		56
94*2eb4d8dcSEmmanuel Vadot #define SLAVE_PCIE_0			57
95*2eb4d8dcSEmmanuel Vadot #define SLAVE_PCIE_1			58
96*2eb4d8dcSEmmanuel Vadot #define SLAVE_QDSS_STM			59
97*2eb4d8dcSEmmanuel Vadot #define SLAVE_TCU			60
98*2eb4d8dcSEmmanuel Vadot 
99*2eb4d8dcSEmmanuel Vadot #define MASTER_CNOC_DC_NOC		0
100*2eb4d8dcSEmmanuel Vadot #define SLAVE_LLCC_CFG			1
101*2eb4d8dcSEmmanuel Vadot #define SLAVE_GEM_NOC_CFG		2
102*2eb4d8dcSEmmanuel Vadot 
103*2eb4d8dcSEmmanuel Vadot #define MASTER_GPU_TCU			0
104*2eb4d8dcSEmmanuel Vadot #define MASTER_SYS_TCU			1
105*2eb4d8dcSEmmanuel Vadot #define MASTER_APPSS_PROC		2
106*2eb4d8dcSEmmanuel Vadot #define MASTER_COMPUTE_NOC		3
107*2eb4d8dcSEmmanuel Vadot #define MASTER_GEM_NOC_CFG		4
108*2eb4d8dcSEmmanuel Vadot #define MASTER_GFX3D			5
109*2eb4d8dcSEmmanuel Vadot #define MASTER_MNOC_HF_MEM_NOC		6
110*2eb4d8dcSEmmanuel Vadot #define MASTER_MNOC_SF_MEM_NOC		7
111*2eb4d8dcSEmmanuel Vadot #define MASTER_ANOC_PCIE_GEM_NOC	8
112*2eb4d8dcSEmmanuel Vadot #define MASTER_SNOC_GC_MEM_NOC		9
113*2eb4d8dcSEmmanuel Vadot #define MASTER_SNOC_SF_MEM_NOC		10
114*2eb4d8dcSEmmanuel Vadot #define SLAVE_MSS_PROC_MS_MPU_CFG	11
115*2eb4d8dcSEmmanuel Vadot #define SLAVE_MCDMA_MS_MPU_CFG		12
116*2eb4d8dcSEmmanuel Vadot #define SLAVE_GEM_NOC_CNOC		13
117*2eb4d8dcSEmmanuel Vadot #define SLAVE_LLCC			14
118*2eb4d8dcSEmmanuel Vadot #define SLAVE_MEM_NOC_PCIE_SNOC		15
119*2eb4d8dcSEmmanuel Vadot #define SLAVE_SERVICE_GEM_NOC_1		16
120*2eb4d8dcSEmmanuel Vadot #define SLAVE_SERVICE_GEM_NOC_2		17
121*2eb4d8dcSEmmanuel Vadot #define SLAVE_SERVICE_GEM_NOC		18
122*2eb4d8dcSEmmanuel Vadot 
123*2eb4d8dcSEmmanuel Vadot #define MASTER_CNOC_LPASS_AG_NOC	0
124*2eb4d8dcSEmmanuel Vadot #define SLAVE_LPASS_CORE_CFG		1
125*2eb4d8dcSEmmanuel Vadot #define SLAVE_LPASS_LPI_CFG		2
126*2eb4d8dcSEmmanuel Vadot #define SLAVE_LPASS_MPU_CFG		3
127*2eb4d8dcSEmmanuel Vadot #define SLAVE_LPASS_TOP_CFG		4
128*2eb4d8dcSEmmanuel Vadot #define SLAVE_SERVICES_LPASS_AML_NOC	5
129*2eb4d8dcSEmmanuel Vadot #define SLAVE_SERVICE_LPASS_AG_NOC	6
130*2eb4d8dcSEmmanuel Vadot 
131*2eb4d8dcSEmmanuel Vadot #define MASTER_LLCC			0
132*2eb4d8dcSEmmanuel Vadot #define SLAVE_EBI1			1
133*2eb4d8dcSEmmanuel Vadot 
134*2eb4d8dcSEmmanuel Vadot #define MASTER_CAMNOC_HF		0
135*2eb4d8dcSEmmanuel Vadot #define MASTER_CAMNOC_ICP		1
136*2eb4d8dcSEmmanuel Vadot #define MASTER_CAMNOC_SF		2
137*2eb4d8dcSEmmanuel Vadot #define MASTER_CNOC_MNOC_CFG		3
138*2eb4d8dcSEmmanuel Vadot #define MASTER_VIDEO_P0			4
139*2eb4d8dcSEmmanuel Vadot #define MASTER_VIDEO_P1			5
140*2eb4d8dcSEmmanuel Vadot #define MASTER_VIDEO_PROC		6
141*2eb4d8dcSEmmanuel Vadot #define MASTER_MDP0			7
142*2eb4d8dcSEmmanuel Vadot #define MASTER_MDP1			8
143*2eb4d8dcSEmmanuel Vadot #define MASTER_ROTATOR			9
144*2eb4d8dcSEmmanuel Vadot #define SLAVE_MNOC_HF_MEM_NOC		10
145*2eb4d8dcSEmmanuel Vadot #define SLAVE_MNOC_SF_MEM_NOC		11
146*2eb4d8dcSEmmanuel Vadot #define SLAVE_SERVICE_MNOC		12
147*2eb4d8dcSEmmanuel Vadot 
148*2eb4d8dcSEmmanuel Vadot #define MASTER_CDSP_NOC_CFG		0
149*2eb4d8dcSEmmanuel Vadot #define MASTER_CDSP_PROC		1
150*2eb4d8dcSEmmanuel Vadot #define SLAVE_CDSP_MEM_NOC		2
151*2eb4d8dcSEmmanuel Vadot #define SLAVE_SERVICE_NSP_NOC		3
152*2eb4d8dcSEmmanuel Vadot 
153*2eb4d8dcSEmmanuel Vadot #define MASTER_A1NOC_SNOC		0
154*2eb4d8dcSEmmanuel Vadot #define MASTER_A2NOC_SNOC		1
155*2eb4d8dcSEmmanuel Vadot #define MASTER_SNOC_CFG			2
156*2eb4d8dcSEmmanuel Vadot #define MASTER_PIMEM			3
157*2eb4d8dcSEmmanuel Vadot #define MASTER_GIC			4
158*2eb4d8dcSEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_GC		5
159*2eb4d8dcSEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_SF		6
160*2eb4d8dcSEmmanuel Vadot #define SLAVE_SERVICE_SNOC		7
161*2eb4d8dcSEmmanuel Vadot 
162*2eb4d8dcSEmmanuel Vadot #endif
163