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