1cb6ffd71SJonathan Marek /* SPDX-License-Identifier: GPL-2.0 */
2cb6ffd71SJonathan Marek /*
3cb6ffd71SJonathan Marek  * Qualcomm SM8250 interconnect IDs
4cb6ffd71SJonathan Marek  *
5cb6ffd71SJonathan Marek  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
6cb6ffd71SJonathan Marek  */
7cb6ffd71SJonathan Marek 
8cb6ffd71SJonathan Marek #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM8250_H
9cb6ffd71SJonathan Marek #define __DT_BINDINGS_INTERCONNECT_QCOM_SM8250_H
10cb6ffd71SJonathan Marek 
11cb6ffd71SJonathan Marek #define MASTER_A1NOC_CFG		0
12cb6ffd71SJonathan Marek #define MASTER_QSPI_0			1
13cb6ffd71SJonathan Marek #define MASTER_QUP_1			2
14cb6ffd71SJonathan Marek #define MASTER_QUP_2			3
15cb6ffd71SJonathan Marek #define MASTER_TSIF			4
16cb6ffd71SJonathan Marek #define MASTER_PCIE_2			5
17cb6ffd71SJonathan Marek #define MASTER_SDCC_4			6
18cb6ffd71SJonathan Marek #define MASTER_UFS_MEM			7
19cb6ffd71SJonathan Marek #define MASTER_USB3			8
20cb6ffd71SJonathan Marek #define MASTER_USB3_1			9
21cb6ffd71SJonathan Marek #define A1NOC_SNOC_SLV			10
22cb6ffd71SJonathan Marek #define SLAVE_ANOC_PCIE_GEM_NOC_1	11
23cb6ffd71SJonathan Marek #define SLAVE_SERVICE_A1NOC		12
24cb6ffd71SJonathan Marek 
25cb6ffd71SJonathan Marek #define MASTER_A2NOC_CFG		0
26cb6ffd71SJonathan Marek #define MASTER_QDSS_BAM			1
27cb6ffd71SJonathan Marek #define MASTER_QUP_0			2
28cb6ffd71SJonathan Marek #define MASTER_CNOC_A2NOC		3
29cb6ffd71SJonathan Marek #define MASTER_CRYPTO_CORE_0		4
30cb6ffd71SJonathan Marek #define MASTER_IPA			5
31cb6ffd71SJonathan Marek #define MASTER_PCIE			6
32cb6ffd71SJonathan Marek #define MASTER_PCIE_1			7
33cb6ffd71SJonathan Marek #define MASTER_QDSS_ETR			8
34cb6ffd71SJonathan Marek #define MASTER_SDCC_2			9
35cb6ffd71SJonathan Marek #define MASTER_UFS_CARD			10
36cb6ffd71SJonathan Marek #define A2NOC_SNOC_SLV			11
37cb6ffd71SJonathan Marek #define SLAVE_ANOC_PCIE_GEM_NOC		12
38cb6ffd71SJonathan Marek #define SLAVE_SERVICE_A2NOC		13
39cb6ffd71SJonathan Marek 
40cb6ffd71SJonathan Marek #define MASTER_NPU			0
41cb6ffd71SJonathan Marek #define SLAVE_CDSP_MEM_NOC		1
42cb6ffd71SJonathan Marek 
43cb6ffd71SJonathan Marek #define SNOC_CNOC_MAS			0
44cb6ffd71SJonathan Marek #define MASTER_QDSS_DAP			1
45cb6ffd71SJonathan Marek #define SLAVE_A1NOC_CFG			2
46cb6ffd71SJonathan Marek #define SLAVE_A2NOC_CFG			3
47cb6ffd71SJonathan Marek #define SLAVE_AHB2PHY_SOUTH		4
48cb6ffd71SJonathan Marek #define SLAVE_AHB2PHY_NORTH		5
49cb6ffd71SJonathan Marek #define SLAVE_AOSS			6
50cb6ffd71SJonathan Marek #define SLAVE_CAMERA_CFG		7
51cb6ffd71SJonathan Marek #define SLAVE_CLK_CTL			8
52cb6ffd71SJonathan Marek #define SLAVE_CDSP_CFG			9
53cb6ffd71SJonathan Marek #define SLAVE_RBCPR_CX_CFG		10
54cb6ffd71SJonathan Marek #define SLAVE_RBCPR_MMCX_CFG		11
55cb6ffd71SJonathan Marek #define SLAVE_RBCPR_MX_CFG		12
56cb6ffd71SJonathan Marek #define SLAVE_CRYPTO_0_CFG		13
57cb6ffd71SJonathan Marek #define SLAVE_CX_RDPM			14
58cb6ffd71SJonathan Marek #define SLAVE_DCC_CFG			15
59cb6ffd71SJonathan Marek #define SLAVE_CNOC_DDRSS		16
60cb6ffd71SJonathan Marek #define SLAVE_DISPLAY_CFG		17
61cb6ffd71SJonathan Marek #define SLAVE_GRAPHICS_3D_CFG		18
62cb6ffd71SJonathan Marek #define SLAVE_IMEM_CFG			19
63cb6ffd71SJonathan Marek #define SLAVE_IPA_CFG			20
64cb6ffd71SJonathan Marek #define SLAVE_IPC_ROUTER_CFG		21
65cb6ffd71SJonathan Marek #define SLAVE_LPASS			22
66cb6ffd71SJonathan Marek #define SLAVE_CNOC_MNOC_CFG		23
67cb6ffd71SJonathan Marek #define SLAVE_NPU_CFG			24
68cb6ffd71SJonathan Marek #define SLAVE_PCIE_0_CFG		25
69cb6ffd71SJonathan Marek #define SLAVE_PCIE_1_CFG		26
70cb6ffd71SJonathan Marek #define SLAVE_PCIE_2_CFG		27
71cb6ffd71SJonathan Marek #define SLAVE_PDM			28
72cb6ffd71SJonathan Marek #define SLAVE_PIMEM_CFG			29
73cb6ffd71SJonathan Marek #define SLAVE_PRNG			30
74cb6ffd71SJonathan Marek #define SLAVE_QDSS_CFG			31
75cb6ffd71SJonathan Marek #define SLAVE_QSPI_0			32
76cb6ffd71SJonathan Marek #define SLAVE_QUP_0			33
77cb6ffd71SJonathan Marek #define SLAVE_QUP_1			34
78cb6ffd71SJonathan Marek #define SLAVE_QUP_2			35
79cb6ffd71SJonathan Marek #define SLAVE_SDCC_2			36
80cb6ffd71SJonathan Marek #define SLAVE_SDCC_4			37
81cb6ffd71SJonathan Marek #define SLAVE_SNOC_CFG			38
82cb6ffd71SJonathan Marek #define SLAVE_TCSR			39
83cb6ffd71SJonathan Marek #define SLAVE_TLMM_NORTH		40
84cb6ffd71SJonathan Marek #define SLAVE_TLMM_SOUTH		41
85cb6ffd71SJonathan Marek #define SLAVE_TLMM_WEST			42
86cb6ffd71SJonathan Marek #define SLAVE_TSIF			43
87cb6ffd71SJonathan Marek #define SLAVE_UFS_CARD_CFG		44
88cb6ffd71SJonathan Marek #define SLAVE_UFS_MEM_CFG		45
89cb6ffd71SJonathan Marek #define SLAVE_USB3			46
90cb6ffd71SJonathan Marek #define SLAVE_USB3_1			47
91cb6ffd71SJonathan Marek #define SLAVE_VENUS_CFG			48
92cb6ffd71SJonathan Marek #define SLAVE_VSENSE_CTRL_CFG		49
93cb6ffd71SJonathan Marek #define SLAVE_CNOC_A2NOC		50
94cb6ffd71SJonathan Marek #define SLAVE_SERVICE_CNOC		51
95cb6ffd71SJonathan Marek 
96cb6ffd71SJonathan Marek #define MASTER_CNOC_DC_NOC		0
97cb6ffd71SJonathan Marek #define SLAVE_LLCC_CFG			1
98cb6ffd71SJonathan Marek #define SLAVE_GEM_NOC_CFG		2
99cb6ffd71SJonathan Marek 
100cb6ffd71SJonathan Marek #define MASTER_GPU_TCU			0
101cb6ffd71SJonathan Marek #define MASTER_SYS_TCU			1
102cb6ffd71SJonathan Marek #define MASTER_AMPSS_M0			2
103cb6ffd71SJonathan Marek #define MASTER_GEM_NOC_CFG		3
104cb6ffd71SJonathan Marek #define MASTER_COMPUTE_NOC		4
105cb6ffd71SJonathan Marek #define MASTER_GRAPHICS_3D		5
106cb6ffd71SJonathan Marek #define MASTER_MNOC_HF_MEM_NOC		6
107cb6ffd71SJonathan Marek #define MASTER_MNOC_SF_MEM_NOC		7
108cb6ffd71SJonathan Marek #define MASTER_ANOC_PCIE_GEM_NOC	8
109cb6ffd71SJonathan Marek #define MASTER_SNOC_GC_MEM_NOC		9
110cb6ffd71SJonathan Marek #define MASTER_SNOC_SF_MEM_NOC		10
111cb6ffd71SJonathan Marek #define SLAVE_GEM_NOC_SNOC		11
112cb6ffd71SJonathan Marek #define SLAVE_LLCC			12
113cb6ffd71SJonathan Marek #define SLAVE_MEM_NOC_PCIE_SNOC		13
114cb6ffd71SJonathan Marek #define SLAVE_SERVICE_GEM_NOC_1		14
115cb6ffd71SJonathan Marek #define SLAVE_SERVICE_GEM_NOC_2		15
116cb6ffd71SJonathan Marek #define SLAVE_SERVICE_GEM_NOC		16
117cb6ffd71SJonathan Marek 
118cb6ffd71SJonathan Marek #define MASTER_LLCC			0
119cb6ffd71SJonathan Marek #define SLAVE_EBI_CH0			1
120cb6ffd71SJonathan Marek 
121cb6ffd71SJonathan Marek #define MASTER_CNOC_MNOC_CFG		0
122cb6ffd71SJonathan Marek #define MASTER_CAMNOC_HF		1
123cb6ffd71SJonathan Marek #define MASTER_CAMNOC_ICP		2
124cb6ffd71SJonathan Marek #define MASTER_CAMNOC_SF		3
125cb6ffd71SJonathan Marek #define MASTER_VIDEO_P0			4
126cb6ffd71SJonathan Marek #define MASTER_VIDEO_P1			5
127cb6ffd71SJonathan Marek #define MASTER_VIDEO_PROC		6
128cb6ffd71SJonathan Marek #define MASTER_MDP_PORT0		7
129cb6ffd71SJonathan Marek #define MASTER_MDP_PORT1		8
130cb6ffd71SJonathan Marek #define MASTER_ROTATOR			9
131cb6ffd71SJonathan Marek #define SLAVE_MNOC_HF_MEM_NOC		10
132cb6ffd71SJonathan Marek #define SLAVE_MNOC_SF_MEM_NOC		11
133cb6ffd71SJonathan Marek #define SLAVE_SERVICE_MNOC		12
134cb6ffd71SJonathan Marek 
135cb6ffd71SJonathan Marek #define MASTER_NPU_SYS			0
136cb6ffd71SJonathan Marek #define MASTER_NPU_CDP			1
137cb6ffd71SJonathan Marek #define MASTER_NPU_NOC_CFG		2
138cb6ffd71SJonathan Marek #define SLAVE_NPU_CAL_DP0		3
139cb6ffd71SJonathan Marek #define SLAVE_NPU_CAL_DP1		4
140cb6ffd71SJonathan Marek #define SLAVE_NPU_CP			5
141cb6ffd71SJonathan Marek #define SLAVE_NPU_INT_DMA_BWMON_CFG	6
142cb6ffd71SJonathan Marek #define SLAVE_NPU_DPM			7
143cb6ffd71SJonathan Marek #define SLAVE_ISENSE_CFG		8
144cb6ffd71SJonathan Marek #define SLAVE_NPU_LLM_CFG		9
145cb6ffd71SJonathan Marek #define SLAVE_NPU_TCM			10
146cb6ffd71SJonathan Marek #define SLAVE_NPU_COMPUTE_NOC		11
147cb6ffd71SJonathan Marek #define SLAVE_SERVICE_NPU_NOC		12
148cb6ffd71SJonathan Marek 
149cb6ffd71SJonathan Marek #define MASTER_SNOC_CFG			0
150cb6ffd71SJonathan Marek #define A1NOC_SNOC_MAS			1
151cb6ffd71SJonathan Marek #define A2NOC_SNOC_MAS			2
152cb6ffd71SJonathan Marek #define MASTER_GEM_NOC_SNOC		3
153cb6ffd71SJonathan Marek #define MASTER_GEM_NOC_PCIE_SNOC	4
154cb6ffd71SJonathan Marek #define MASTER_PIMEM			5
155cb6ffd71SJonathan Marek #define MASTER_GIC			6
156cb6ffd71SJonathan Marek #define SLAVE_APPSS			7
157cb6ffd71SJonathan Marek #define SNOC_CNOC_SLV			8
158cb6ffd71SJonathan Marek #define SLAVE_SNOC_GEM_NOC_GC		9
159cb6ffd71SJonathan Marek #define SLAVE_SNOC_GEM_NOC_SF		10
160cb6ffd71SJonathan Marek #define SLAVE_OCIMEM			11
161cb6ffd71SJonathan Marek #define SLAVE_PIMEM			12
162cb6ffd71SJonathan Marek #define SLAVE_SERVICE_SNOC		13
163cb6ffd71SJonathan Marek #define SLAVE_PCIE_0			14
164cb6ffd71SJonathan Marek #define SLAVE_PCIE_1			15
165cb6ffd71SJonathan Marek #define SLAVE_PCIE_2			16
166cb6ffd71SJonathan Marek #define SLAVE_QDSS_STM			17
167cb6ffd71SJonathan Marek #define SLAVE_TCU			18
168cb6ffd71SJonathan Marek 
169*ddd6c5b9SKonrad Dybcio #define MASTER_QUP_CORE_0		0
170*ddd6c5b9SKonrad Dybcio #define MASTER_QUP_CORE_1		1
171*ddd6c5b9SKonrad Dybcio #define MASTER_QUP_CORE_2		2
172*ddd6c5b9SKonrad Dybcio #define SLAVE_QUP_CORE_0		3
173*ddd6c5b9SKonrad Dybcio #define SLAVE_QUP_CORE_1		4
174*ddd6c5b9SKonrad Dybcio #define SLAVE_QUP_CORE_2		5
175*ddd6c5b9SKonrad Dybcio 
176cb6ffd71SJonathan Marek #endif
177