xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/interconnect/qcom,sdm660.h (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
1*2eb4d8dcSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*2eb4d8dcSEmmanuel Vadot /* SDM660 interconnect IDs */
3*2eb4d8dcSEmmanuel Vadot 
4*2eb4d8dcSEmmanuel Vadot #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SDM660_H
5*2eb4d8dcSEmmanuel Vadot #define __DT_BINDINGS_INTERCONNECT_QCOM_SDM660_H
6*2eb4d8dcSEmmanuel Vadot 
7*2eb4d8dcSEmmanuel Vadot /* A2NOC */
8*2eb4d8dcSEmmanuel Vadot #define MASTER_IPA			0
9*2eb4d8dcSEmmanuel Vadot #define MASTER_CNOC_A2NOC		1
10*2eb4d8dcSEmmanuel Vadot #define MASTER_SDCC_1			2
11*2eb4d8dcSEmmanuel Vadot #define MASTER_SDCC_2			3
12*2eb4d8dcSEmmanuel Vadot #define MASTER_BLSP_1			4
13*2eb4d8dcSEmmanuel Vadot #define MASTER_BLSP_2			5
14*2eb4d8dcSEmmanuel Vadot #define MASTER_UFS			6
15*2eb4d8dcSEmmanuel Vadot #define MASTER_USB_HS			7
16*2eb4d8dcSEmmanuel Vadot #define MASTER_USB3			8
17*2eb4d8dcSEmmanuel Vadot #define MASTER_CRYPTO_C0		9
18*2eb4d8dcSEmmanuel Vadot #define SLAVE_A2NOC_SNOC		10
19*2eb4d8dcSEmmanuel Vadot 
20*2eb4d8dcSEmmanuel Vadot /* BIMC */
21*2eb4d8dcSEmmanuel Vadot #define MASTER_GNOC_BIMC		0
22*2eb4d8dcSEmmanuel Vadot #define MASTER_OXILI			1
23*2eb4d8dcSEmmanuel Vadot #define MASTER_MNOC_BIMC		2
24*2eb4d8dcSEmmanuel Vadot #define MASTER_SNOC_BIMC		3
25*2eb4d8dcSEmmanuel Vadot #define MASTER_PIMEM			4
26*2eb4d8dcSEmmanuel Vadot #define SLAVE_EBI			5
27*2eb4d8dcSEmmanuel Vadot #define SLAVE_HMSS_L3			6
28*2eb4d8dcSEmmanuel Vadot #define SLAVE_BIMC_SNOC			7
29*2eb4d8dcSEmmanuel Vadot 
30*2eb4d8dcSEmmanuel Vadot /* CNOC */
31*2eb4d8dcSEmmanuel Vadot #define MASTER_SNOC_CNOC		0
32*2eb4d8dcSEmmanuel Vadot #define MASTER_QDSS_DAP			1
33*2eb4d8dcSEmmanuel Vadot #define SLAVE_CNOC_A2NOC		2
34*2eb4d8dcSEmmanuel Vadot #define SLAVE_MPM			3
35*2eb4d8dcSEmmanuel Vadot #define SLAVE_PMIC_ARB			4
36*2eb4d8dcSEmmanuel Vadot #define SLAVE_TLMM_NORTH		5
37*2eb4d8dcSEmmanuel Vadot #define SLAVE_TCSR			6
38*2eb4d8dcSEmmanuel Vadot #define SLAVE_PIMEM_CFG			7
39*2eb4d8dcSEmmanuel Vadot #define SLAVE_IMEM_CFG			8
40*2eb4d8dcSEmmanuel Vadot #define SLAVE_MESSAGE_RAM		9
41*2eb4d8dcSEmmanuel Vadot #define SLAVE_GLM			10
42*2eb4d8dcSEmmanuel Vadot #define SLAVE_BIMC_CFG			11
43*2eb4d8dcSEmmanuel Vadot #define SLAVE_PRNG			12
44*2eb4d8dcSEmmanuel Vadot #define SLAVE_SPDM			13
45*2eb4d8dcSEmmanuel Vadot #define SLAVE_QDSS_CFG			14
46*2eb4d8dcSEmmanuel Vadot #define SLAVE_CNOC_MNOC_CFG		15
47*2eb4d8dcSEmmanuel Vadot #define SLAVE_SNOC_CFG			16
48*2eb4d8dcSEmmanuel Vadot #define SLAVE_QM_CFG			17
49*2eb4d8dcSEmmanuel Vadot #define SLAVE_CLK_CTL			18
50*2eb4d8dcSEmmanuel Vadot #define SLAVE_MSS_CFG			19
51*2eb4d8dcSEmmanuel Vadot #define SLAVE_TLMM_SOUTH		20
52*2eb4d8dcSEmmanuel Vadot #define SLAVE_UFS_CFG			21
53*2eb4d8dcSEmmanuel Vadot #define SLAVE_A2NOC_CFG			22
54*2eb4d8dcSEmmanuel Vadot #define SLAVE_A2NOC_SMMU_CFG		23
55*2eb4d8dcSEmmanuel Vadot #define SLAVE_GPUSS_CFG			24
56*2eb4d8dcSEmmanuel Vadot #define SLAVE_AHB2PHY			25
57*2eb4d8dcSEmmanuel Vadot #define SLAVE_BLSP_1			26
58*2eb4d8dcSEmmanuel Vadot #define SLAVE_SDCC_1			27
59*2eb4d8dcSEmmanuel Vadot #define SLAVE_SDCC_2			28
60*2eb4d8dcSEmmanuel Vadot #define SLAVE_TLMM_CENTER		29
61*2eb4d8dcSEmmanuel Vadot #define SLAVE_BLSP_2			30
62*2eb4d8dcSEmmanuel Vadot #define SLAVE_PDM			31
63*2eb4d8dcSEmmanuel Vadot #define SLAVE_CNOC_MNOC_MMSS_CFG	32
64*2eb4d8dcSEmmanuel Vadot #define SLAVE_USB_HS			33
65*2eb4d8dcSEmmanuel Vadot #define SLAVE_USB3_0			34
66*2eb4d8dcSEmmanuel Vadot #define SLAVE_SRVC_CNOC			35
67*2eb4d8dcSEmmanuel Vadot 
68*2eb4d8dcSEmmanuel Vadot /* GNOC */
69*2eb4d8dcSEmmanuel Vadot #define MASTER_APSS_PROC		0
70*2eb4d8dcSEmmanuel Vadot #define SLAVE_GNOC_BIMC			1
71*2eb4d8dcSEmmanuel Vadot #define SLAVE_GNOC_SNOC			2
72*2eb4d8dcSEmmanuel Vadot 
73*2eb4d8dcSEmmanuel Vadot /* MNOC */
74*2eb4d8dcSEmmanuel Vadot #define MASTER_CPP			0
75*2eb4d8dcSEmmanuel Vadot #define MASTER_JPEG			1
76*2eb4d8dcSEmmanuel Vadot #define MASTER_MDP_P0			2
77*2eb4d8dcSEmmanuel Vadot #define MASTER_MDP_P1			3
78*2eb4d8dcSEmmanuel Vadot #define MASTER_VENUS			4
79*2eb4d8dcSEmmanuel Vadot #define MASTER_VFE			5
80*2eb4d8dcSEmmanuel Vadot #define SLAVE_MNOC_BIMC			6
81*2eb4d8dcSEmmanuel Vadot #define MASTER_CNOC_MNOC_MMSS_CFG	7
82*2eb4d8dcSEmmanuel Vadot #define MASTER_CNOC_MNOC_CFG		8
83*2eb4d8dcSEmmanuel Vadot #define SLAVE_CAMERA_CFG		9
84*2eb4d8dcSEmmanuel Vadot #define SLAVE_CAMERA_THROTTLE_CFG	10
85*2eb4d8dcSEmmanuel Vadot #define SLAVE_MISC_CFG			11
86*2eb4d8dcSEmmanuel Vadot #define SLAVE_VENUS_THROTTLE_CFG	12
87*2eb4d8dcSEmmanuel Vadot #define SLAVE_VENUS_CFG			13
88*2eb4d8dcSEmmanuel Vadot #define SLAVE_MMSS_CLK_XPU_CFG		14
89*2eb4d8dcSEmmanuel Vadot #define SLAVE_MMSS_CLK_CFG		15
90*2eb4d8dcSEmmanuel Vadot #define SLAVE_MNOC_MPU_CFG		16
91*2eb4d8dcSEmmanuel Vadot #define SLAVE_DISPLAY_CFG		17
92*2eb4d8dcSEmmanuel Vadot #define SLAVE_CSI_PHY_CFG		18
93*2eb4d8dcSEmmanuel Vadot #define SLAVE_DISPLAY_THROTTLE_CFG	19
94*2eb4d8dcSEmmanuel Vadot #define SLAVE_SMMU_CFG			20
95*2eb4d8dcSEmmanuel Vadot #define SLAVE_SRVC_MNOC			21
96*2eb4d8dcSEmmanuel Vadot 
97*2eb4d8dcSEmmanuel Vadot /* SNOC */
98*2eb4d8dcSEmmanuel Vadot #define MASTER_QDSS_ETR			0
99*2eb4d8dcSEmmanuel Vadot #define MASTER_QDSS_BAM			1
100*2eb4d8dcSEmmanuel Vadot #define MASTER_SNOC_CFG			2
101*2eb4d8dcSEmmanuel Vadot #define MASTER_BIMC_SNOC		3
102*2eb4d8dcSEmmanuel Vadot #define MASTER_A2NOC_SNOC		4
103*2eb4d8dcSEmmanuel Vadot #define MASTER_GNOC_SNOC		5
104*2eb4d8dcSEmmanuel Vadot #define SLAVE_HMSS			6
105*2eb4d8dcSEmmanuel Vadot #define SLAVE_LPASS			7
106*2eb4d8dcSEmmanuel Vadot #define SLAVE_WLAN			8
107*2eb4d8dcSEmmanuel Vadot #define SLAVE_CDSP			9
108*2eb4d8dcSEmmanuel Vadot #define SLAVE_IPA			10
109*2eb4d8dcSEmmanuel Vadot #define SLAVE_SNOC_BIMC			11
110*2eb4d8dcSEmmanuel Vadot #define SLAVE_SNOC_CNOC			12
111*2eb4d8dcSEmmanuel Vadot #define SLAVE_IMEM			13
112*2eb4d8dcSEmmanuel Vadot #define SLAVE_PIMEM			14
113*2eb4d8dcSEmmanuel Vadot #define SLAVE_QDSS_STM			15
114*2eb4d8dcSEmmanuel Vadot #define SLAVE_SRVC_SNOC			16
115*2eb4d8dcSEmmanuel Vadot 
116*2eb4d8dcSEmmanuel Vadot #endif
117