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