xref: /freebsd-src/sys/contrib/device-tree/include/dt-bindings/interconnect/qcom,sdm845.h (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2c66ec88fSEmmanuel Vadot /*
3c66ec88fSEmmanuel Vadot  * Qualcomm SDM845 interconnect IDs
4c66ec88fSEmmanuel Vadot  *
5c66ec88fSEmmanuel Vadot  * Copyright (c) 2018, Linaro Ltd.
6c66ec88fSEmmanuel Vadot  * Author: Georgi Djakov <georgi.djakov@linaro.org>
7c66ec88fSEmmanuel Vadot  */
8c66ec88fSEmmanuel Vadot 
9c66ec88fSEmmanuel Vadot #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SDM845_H
10c66ec88fSEmmanuel Vadot #define __DT_BINDINGS_INTERCONNECT_QCOM_SDM845_H
11c66ec88fSEmmanuel Vadot 
12c66ec88fSEmmanuel Vadot #define MASTER_A1NOC_CFG		0
13c66ec88fSEmmanuel Vadot #define MASTER_TSIF			1
14c66ec88fSEmmanuel Vadot #define MASTER_SDCC_2			2
15c66ec88fSEmmanuel Vadot #define MASTER_SDCC_4			3
16c66ec88fSEmmanuel Vadot #define MASTER_UFS_CARD			4
17c66ec88fSEmmanuel Vadot #define MASTER_UFS_MEM			5
18c66ec88fSEmmanuel Vadot #define MASTER_PCIE_0			6
19c66ec88fSEmmanuel Vadot #define SLAVE_A1NOC_SNOC		7
20c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_A1NOC		8
21c66ec88fSEmmanuel Vadot #define SLAVE_ANOC_PCIE_A1NOC_SNOC	9
22*5def4c47SEmmanuel Vadot #define MASTER_QUP_1			10
23c66ec88fSEmmanuel Vadot 
24c66ec88fSEmmanuel Vadot #define MASTER_A2NOC_CFG		0
25c66ec88fSEmmanuel Vadot #define MASTER_QDSS_BAM			1
26c66ec88fSEmmanuel Vadot #define MASTER_CNOC_A2NOC		2
27c66ec88fSEmmanuel Vadot #define MASTER_CRYPTO			3
28c66ec88fSEmmanuel Vadot #define MASTER_IPA			4
29c66ec88fSEmmanuel Vadot #define MASTER_PCIE_1			5
30c66ec88fSEmmanuel Vadot #define MASTER_QDSS_ETR			6
31c66ec88fSEmmanuel Vadot #define MASTER_USB3_0			7
32c66ec88fSEmmanuel Vadot #define MASTER_USB3_1			8
33c66ec88fSEmmanuel Vadot #define SLAVE_A2NOC_SNOC		9
34c66ec88fSEmmanuel Vadot #define SLAVE_ANOC_PCIE_SNOC		10
35c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_A2NOC		11
36*5def4c47SEmmanuel Vadot #define MASTER_QUP_2			12
37c66ec88fSEmmanuel Vadot 
38c66ec88fSEmmanuel Vadot #define MASTER_SPDM			0
39c66ec88fSEmmanuel Vadot #define MASTER_TIC			1
40c66ec88fSEmmanuel Vadot #define MASTER_SNOC_CNOC		2
41c66ec88fSEmmanuel Vadot #define MASTER_QDSS_DAP			3
42c66ec88fSEmmanuel Vadot #define SLAVE_A1NOC_CFG			4
43c66ec88fSEmmanuel Vadot #define SLAVE_A2NOC_CFG			5
44c66ec88fSEmmanuel Vadot #define SLAVE_AOP			6
45c66ec88fSEmmanuel Vadot #define SLAVE_AOSS			7
46c66ec88fSEmmanuel Vadot #define SLAVE_CAMERA_CFG		8
47c66ec88fSEmmanuel Vadot #define SLAVE_CLK_CTL			9
48c66ec88fSEmmanuel Vadot #define SLAVE_CDSP_CFG			10
49c66ec88fSEmmanuel Vadot #define SLAVE_RBCPR_CX_CFG		11
50c66ec88fSEmmanuel Vadot #define SLAVE_CRYPTO_0_CFG		12
51c66ec88fSEmmanuel Vadot #define SLAVE_DCC_CFG			13
52c66ec88fSEmmanuel Vadot #define SLAVE_CNOC_DDRSS		14
53c66ec88fSEmmanuel Vadot #define SLAVE_DISPLAY_CFG		15
54c66ec88fSEmmanuel Vadot #define SLAVE_GLM			16
55c66ec88fSEmmanuel Vadot #define SLAVE_GFX3D_CFG			17
56c66ec88fSEmmanuel Vadot #define SLAVE_IMEM_CFG			18
57c66ec88fSEmmanuel Vadot #define SLAVE_IPA_CFG			19
58c66ec88fSEmmanuel Vadot #define SLAVE_CNOC_MNOC_CFG		20
59c66ec88fSEmmanuel Vadot #define SLAVE_PCIE_0_CFG		21
60c66ec88fSEmmanuel Vadot #define SLAVE_PCIE_1_CFG		22
61c66ec88fSEmmanuel Vadot #define SLAVE_PDM			23
62c66ec88fSEmmanuel Vadot #define SLAVE_SOUTH_PHY_CFG		24
63c66ec88fSEmmanuel Vadot #define SLAVE_PIMEM_CFG			25
64c66ec88fSEmmanuel Vadot #define SLAVE_PRNG			26
65c66ec88fSEmmanuel Vadot #define SLAVE_QDSS_CFG			27
66c66ec88fSEmmanuel Vadot #define SLAVE_BLSP_2			28
67c66ec88fSEmmanuel Vadot #define SLAVE_BLSP_1			29
68c66ec88fSEmmanuel Vadot #define SLAVE_SDCC_2			30
69c66ec88fSEmmanuel Vadot #define SLAVE_SDCC_4			31
70c66ec88fSEmmanuel Vadot #define SLAVE_SNOC_CFG			32
71c66ec88fSEmmanuel Vadot #define SLAVE_SPDM_WRAPPER		33
72c66ec88fSEmmanuel Vadot #define SLAVE_SPSS_CFG			34
73c66ec88fSEmmanuel Vadot #define SLAVE_TCSR			35
74c66ec88fSEmmanuel Vadot #define SLAVE_TLMM_NORTH		36
75c66ec88fSEmmanuel Vadot #define SLAVE_TLMM_SOUTH		37
76c66ec88fSEmmanuel Vadot #define SLAVE_TSIF			38
77c66ec88fSEmmanuel Vadot #define SLAVE_UFS_CARD_CFG		39
78c66ec88fSEmmanuel Vadot #define SLAVE_UFS_MEM_CFG		40
79c66ec88fSEmmanuel Vadot #define SLAVE_USB3_0			41
80c66ec88fSEmmanuel Vadot #define SLAVE_USB3_1			42
81c66ec88fSEmmanuel Vadot #define SLAVE_VENUS_CFG			43
82c66ec88fSEmmanuel Vadot #define SLAVE_VSENSE_CTRL_CFG		44
83c66ec88fSEmmanuel Vadot #define SLAVE_CNOC_A2NOC		45
84c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_CNOC		46
85c66ec88fSEmmanuel Vadot 
86c66ec88fSEmmanuel Vadot #define MASTER_CNOC_DC_NOC		0
87c66ec88fSEmmanuel Vadot #define SLAVE_LLCC_CFG			1
88c66ec88fSEmmanuel Vadot #define SLAVE_MEM_NOC_CFG		2
89c66ec88fSEmmanuel Vadot 
90c66ec88fSEmmanuel Vadot #define MASTER_APPSS_PROC		0
91c66ec88fSEmmanuel Vadot #define MASTER_GNOC_CFG			1
92c66ec88fSEmmanuel Vadot #define SLAVE_GNOC_SNOC			2
93c66ec88fSEmmanuel Vadot #define SLAVE_GNOC_MEM_NOC		3
94c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_GNOC		4
95c66ec88fSEmmanuel Vadot 
96c66ec88fSEmmanuel Vadot #define MASTER_TCU_0			0
97c66ec88fSEmmanuel Vadot #define MASTER_MEM_NOC_CFG		1
98c66ec88fSEmmanuel Vadot #define MASTER_GNOC_MEM_NOC		2
99c66ec88fSEmmanuel Vadot #define MASTER_MNOC_HF_MEM_NOC		3
100c66ec88fSEmmanuel Vadot #define MASTER_MNOC_SF_MEM_NOC		4
101c66ec88fSEmmanuel Vadot #define MASTER_SNOC_GC_MEM_NOC		5
102c66ec88fSEmmanuel Vadot #define MASTER_SNOC_SF_MEM_NOC		6
103c66ec88fSEmmanuel Vadot #define MASTER_GFX3D			7
104c66ec88fSEmmanuel Vadot #define SLAVE_MSS_PROC_MS_MPU_CFG	8
105c66ec88fSEmmanuel Vadot #define SLAVE_MEM_NOC_GNOC		9
106c66ec88fSEmmanuel Vadot #define SLAVE_LLCC			10
107c66ec88fSEmmanuel Vadot #define SLAVE_MEM_NOC_SNOC		11
108c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_MEM_NOC		12
109c66ec88fSEmmanuel Vadot #define MASTER_LLCC			13
110c66ec88fSEmmanuel Vadot #define SLAVE_EBI1			14
111c66ec88fSEmmanuel Vadot 
112c66ec88fSEmmanuel Vadot #define MASTER_CNOC_MNOC_CFG		0
113c66ec88fSEmmanuel Vadot #define MASTER_CAMNOC_HF0		1
114c66ec88fSEmmanuel Vadot #define MASTER_CAMNOC_HF1		2
115c66ec88fSEmmanuel Vadot #define MASTER_CAMNOC_SF		3
116c66ec88fSEmmanuel Vadot #define MASTER_MDP0			4
117c66ec88fSEmmanuel Vadot #define MASTER_MDP1			5
118c66ec88fSEmmanuel Vadot #define MASTER_ROTATOR			6
119c66ec88fSEmmanuel Vadot #define MASTER_VIDEO_P0			7
120c66ec88fSEmmanuel Vadot #define MASTER_VIDEO_P1			8
121c66ec88fSEmmanuel Vadot #define MASTER_VIDEO_PROC		9
122c66ec88fSEmmanuel Vadot #define SLAVE_MNOC_SF_MEM_NOC		10
123c66ec88fSEmmanuel Vadot #define SLAVE_MNOC_HF_MEM_NOC		11
124c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_MNOC		12
125c66ec88fSEmmanuel Vadot #define MASTER_CAMNOC_HF0_UNCOMP	13
126c66ec88fSEmmanuel Vadot #define MASTER_CAMNOC_HF1_UNCOMP	14
127c66ec88fSEmmanuel Vadot #define MASTER_CAMNOC_SF_UNCOMP		15
128c66ec88fSEmmanuel Vadot #define SLAVE_CAMNOC_UNCOMP		16
129c66ec88fSEmmanuel Vadot 
130c66ec88fSEmmanuel Vadot #define MASTER_SNOC_CFG			0
131c66ec88fSEmmanuel Vadot #define MASTER_A1NOC_SNOC		1
132c66ec88fSEmmanuel Vadot #define MASTER_A2NOC_SNOC		2
133c66ec88fSEmmanuel Vadot #define MASTER_GNOC_SNOC		3
134c66ec88fSEmmanuel Vadot #define MASTER_MEM_NOC_SNOC		4
135c66ec88fSEmmanuel Vadot #define MASTER_ANOC_PCIE_SNOC		5
136c66ec88fSEmmanuel Vadot #define MASTER_PIMEM			6
137c66ec88fSEmmanuel Vadot #define MASTER_GIC			7
138c66ec88fSEmmanuel Vadot #define SLAVE_APPSS			8
139c66ec88fSEmmanuel Vadot #define SLAVE_SNOC_CNOC			9
140c66ec88fSEmmanuel Vadot #define SLAVE_SNOC_MEM_NOC_GC		10
141c66ec88fSEmmanuel Vadot #define SLAVE_SNOC_MEM_NOC_SF		11
142c66ec88fSEmmanuel Vadot #define SLAVE_IMEM			12
143c66ec88fSEmmanuel Vadot #define SLAVE_PCIE_0			13
144c66ec88fSEmmanuel Vadot #define SLAVE_PCIE_1			14
145c66ec88fSEmmanuel Vadot #define SLAVE_PIMEM			15
146c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_SNOC		16
147c66ec88fSEmmanuel Vadot #define SLAVE_QDSS_STM			17
148c66ec88fSEmmanuel Vadot #define SLAVE_TCU			18
149c66ec88fSEmmanuel Vadot 
150c66ec88fSEmmanuel Vadot #endif
151