xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/interconnect/qcom,sm8150.h (revision 58c3e048f5c2f43ee7e820013e37079f2e0b6ae5)
1 /*	$NetBSD: qcom,sm8150.h,v 1.1.1.1 2021/11/07 16:49:57 jmcneill Exp $	*/
2 
3 /* SPDX-License-Identifier: GPL-2.0 */
4 /*
5  * Qualcomm SM8150 interconnect IDs
6  *
7  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
8  */
9 
10 #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM8150_H
11 #define __DT_BINDINGS_INTERCONNECT_QCOM_SM8150_H
12 
13 #define MASTER_A1NOC_CFG		0
14 #define MASTER_QUP_0			1
15 #define MASTER_EMAC			2
16 #define MASTER_UFS_MEM			3
17 #define MASTER_USB3			4
18 #define MASTER_USB3_1			5
19 #define A1NOC_SNOC_SLV			6
20 #define SLAVE_SERVICE_A1NOC		7
21 
22 #define MASTER_A2NOC_CFG		0
23 #define MASTER_QDSS_BAM			1
24 #define MASTER_QSPI			2
25 #define MASTER_QUP_1			3
26 #define MASTER_QUP_2			4
27 #define MASTER_SENSORS_AHB		5
28 #define MASTER_TSIF			6
29 #define MASTER_CNOC_A2NOC		7
30 #define MASTER_CRYPTO_CORE_0		8
31 #define MASTER_IPA			9
32 #define MASTER_PCIE			10
33 #define MASTER_PCIE_1			11
34 #define MASTER_QDSS_ETR			12
35 #define MASTER_SDCC_2			13
36 #define MASTER_SDCC_4			14
37 #define A2NOC_SNOC_SLV			15
38 #define SLAVE_ANOC_PCIE_GEM_NOC		16
39 #define SLAVE_SERVICE_A2NOC		17
40 
41 #define MASTER_CAMNOC_HF0_UNCOMP	0
42 #define MASTER_CAMNOC_HF1_UNCOMP	1
43 #define MASTER_CAMNOC_SF_UNCOMP		2
44 #define SLAVE_CAMNOC_UNCOMP		3
45 
46 #define MASTER_NPU			0
47 #define SLAVE_CDSP_MEM_NOC		1
48 
49 #define MASTER_SPDM			0
50 #define SNOC_CNOC_MAS			1
51 #define MASTER_QDSS_DAP			2
52 #define SLAVE_A1NOC_CFG			3
53 #define SLAVE_A2NOC_CFG			4
54 #define SLAVE_AHB2PHY_SOUTH		5
55 #define SLAVE_AOP			6
56 #define SLAVE_AOSS			7
57 #define SLAVE_CAMERA_CFG		8
58 #define SLAVE_CLK_CTL			9
59 #define SLAVE_CDSP_CFG			10
60 #define SLAVE_RBCPR_CX_CFG		11
61 #define SLAVE_RBCPR_MMCX_CFG		12
62 #define SLAVE_RBCPR_MX_CFG		13
63 #define SLAVE_CRYPTO_0_CFG		14
64 #define SLAVE_CNOC_DDRSS		15
65 #define SLAVE_DISPLAY_CFG		16
66 #define SLAVE_EMAC_CFG			17
67 #define SLAVE_GLM			18
68 #define SLAVE_GRAPHICS_3D_CFG		19
69 #define SLAVE_IMEM_CFG			20
70 #define SLAVE_IPA_CFG			21
71 #define SLAVE_CNOC_MNOC_CFG		22
72 #define SLAVE_NPU_CFG			23
73 #define SLAVE_PCIE_0_CFG		24
74 #define SLAVE_PCIE_1_CFG		25
75 #define SLAVE_NORTH_PHY_CFG		26
76 #define SLAVE_PIMEM_CFG			27
77 #define SLAVE_PRNG			28
78 #define SLAVE_QDSS_CFG			29
79 #define SLAVE_QSPI			30
80 #define SLAVE_QUP_2			31
81 #define SLAVE_QUP_1			32
82 #define SLAVE_QUP_0			33
83 #define SLAVE_SDCC_2			34
84 #define SLAVE_SDCC_4			35
85 #define SLAVE_SNOC_CFG			36
86 #define SLAVE_SPDM_WRAPPER		37
87 #define SLAVE_SPSS_CFG			38
88 #define SLAVE_SSC_CFG			39
89 #define SLAVE_TCSR			40
90 #define SLAVE_TLMM_EAST			41
91 #define SLAVE_TLMM_NORTH		42
92 #define SLAVE_TLMM_SOUTH		43
93 #define SLAVE_TLMM_WEST			44
94 #define SLAVE_TSIF			45
95 #define SLAVE_UFS_CARD_CFG		46
96 #define SLAVE_UFS_MEM_CFG		47
97 #define SLAVE_USB3			48
98 #define SLAVE_USB3_1			49
99 #define SLAVE_VENUS_CFG			50
100 #define SLAVE_VSENSE_CTRL_CFG		51
101 #define SLAVE_CNOC_A2NOC		52
102 #define SLAVE_SERVICE_CNOC		53
103 
104 #define MASTER_CNOC_DC_NOC		0
105 #define SLAVE_LLCC_CFG			1
106 #define SLAVE_GEM_NOC_CFG		2
107 
108 #define MASTER_AMPSS_M0			0
109 #define MASTER_GPU_TCU			1
110 #define MASTER_SYS_TCU			2
111 #define MASTER_GEM_NOC_CFG		3
112 #define MASTER_COMPUTE_NOC		4
113 #define MASTER_GRAPHICS_3D		5
114 #define MASTER_MNOC_HF_MEM_NOC		6
115 #define MASTER_MNOC_SF_MEM_NOC		7
116 #define MASTER_GEM_NOC_PCIE_SNOC	8
117 #define MASTER_SNOC_GC_MEM_NOC		9
118 #define MASTER_SNOC_SF_MEM_NOC		10
119 #define MASTER_ECC			11
120 #define SLAVE_MSS_PROC_MS_MPU_CFG	12
121 #define SLAVE_ECC			13
122 #define SLAVE_GEM_NOC_SNOC		14
123 #define SLAVE_LLCC			15
124 #define SLAVE_SERVICE_GEM_NOC		16
125 
126 #define MASTER_IPA_CORE			0
127 #define SLAVE_IPA_CORE			1
128 
129 #define MASTER_LLCC			0
130 #define SLAVE_EBI_CH0			1
131 
132 #define MASTER_CNOC_MNOC_CFG		0
133 #define MASTER_CAMNOC_HF0		1
134 #define MASTER_CAMNOC_HF1		2
135 #define MASTER_CAMNOC_SF		3
136 #define MASTER_MDP_PORT0		4
137 #define MASTER_MDP_PORT1		5
138 #define MASTER_ROTATOR			6
139 #define MASTER_VIDEO_P0			7
140 #define MASTER_VIDEO_P1			8
141 #define MASTER_VIDEO_PROC		9
142 #define SLAVE_MNOC_SF_MEM_NOC		10
143 #define SLAVE_MNOC_HF_MEM_NOC		11
144 #define SLAVE_SERVICE_MNOC		12
145 
146 #define MASTER_SNOC_CFG			0
147 #define A1NOC_SNOC_MAS			1
148 #define A2NOC_SNOC_MAS			2
149 #define MASTER_GEM_NOC_SNOC		3
150 #define MASTER_PIMEM			4
151 #define MASTER_GIC			5
152 #define SLAVE_APPSS			6
153 #define SNOC_CNOC_SLV			7
154 #define SLAVE_SNOC_GEM_NOC_GC		8
155 #define SLAVE_SNOC_GEM_NOC_SF		9
156 #define SLAVE_OCIMEM			10
157 #define SLAVE_PIMEM			11
158 #define SLAVE_SERVICE_SNOC		12
159 #define SLAVE_PCIE_0			13
160 #define SLAVE_PCIE_1			14
161 #define SLAVE_QDSS_STM			15
162 #define SLAVE_TCU			16
163 
164 #endif
165