xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/interconnect/qcom,qcm2290.h (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* QCM2290 interconnect IDs */
3 
4 #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_QCM2290_H
5 #define __DT_BINDINGS_INTERCONNECT_QCOM_QCM2290_H
6 
7 /* BIMC */
8 #define MASTER_APPSS_PROC		0
9 #define MASTER_SNOC_BIMC_RT		1
10 #define MASTER_SNOC_BIMC_NRT		2
11 #define MASTER_SNOC_BIMC		3
12 #define MASTER_TCU_0			4
13 #define MASTER_GFX3D			5
14 #define SLAVE_EBI1			6
15 #define SLAVE_BIMC_SNOC			7
16 
17 /* CNOC */
18 #define MASTER_SNOC_CNOC		0
19 #define MASTER_QDSS_DAP			1
20 #define SLAVE_BIMC_CFG			2
21 #define SLAVE_CAMERA_NRT_THROTTLE_CFG	3
22 #define SLAVE_CAMERA_RT_THROTTLE_CFG	4
23 #define SLAVE_CAMERA_CFG		5
24 #define SLAVE_CLK_CTL			6
25 #define SLAVE_CRYPTO_0_CFG		7
26 #define SLAVE_DISPLAY_CFG		8
27 #define SLAVE_DISPLAY_THROTTLE_CFG	9
28 #define SLAVE_GPU_CFG			10
29 #define SLAVE_HWKM			11
30 #define SLAVE_IMEM_CFG			12
31 #define SLAVE_IPA_CFG			13
32 #define SLAVE_LPASS			14
33 #define SLAVE_MESSAGE_RAM		15
34 #define SLAVE_PDM			16
35 #define SLAVE_PIMEM_CFG			17
36 #define SLAVE_PKA_WRAPPER		18
37 #define SLAVE_PMIC_ARB			19
38 #define SLAVE_PRNG			20
39 #define SLAVE_QDSS_CFG			21
40 #define SLAVE_QM_CFG			22
41 #define SLAVE_QM_MPU_CFG		23
42 #define SLAVE_QPIC			24
43 #define SLAVE_QUP_0			25
44 #define SLAVE_SDCC_1			26
45 #define SLAVE_SDCC_2			27
46 #define SLAVE_SNOC_CFG			28
47 #define SLAVE_TCSR			29
48 #define SLAVE_USB3			30
49 #define SLAVE_VENUS_CFG			31
50 #define SLAVE_VENUS_THROTTLE_CFG	32
51 #define SLAVE_VSENSE_CTRL_CFG		33
52 #define SLAVE_SERVICE_CNOC		34
53 
54 /* SNOC */
55 #define MASTER_CRYPTO_CORE0		0
56 #define MASTER_SNOC_CFG			1
57 #define MASTER_TIC			2
58 #define MASTER_ANOC_SNOC		3
59 #define MASTER_BIMC_SNOC		4
60 #define MASTER_PIMEM			5
61 #define MASTER_QDSS_BAM			6
62 #define MASTER_QUP_0			7
63 #define MASTER_IPA			8
64 #define MASTER_QDSS_ETR			9
65 #define MASTER_SDCC_1			10
66 #define MASTER_SDCC_2			11
67 #define MASTER_QPIC			12
68 #define MASTER_USB3_0			13
69 #define SLAVE_APPSS			14
70 #define SLAVE_SNOC_CNOC			15
71 #define SLAVE_IMEM			16
72 #define SLAVE_PIMEM			17
73 #define SLAVE_SNOC_BIMC			18
74 #define SLAVE_SERVICE_SNOC		19
75 #define SLAVE_QDSS_STM			20
76 #define SLAVE_TCU			21
77 #define SLAVE_ANOC_SNOC			22
78 
79 /* QUP Virtual */
80 #define MASTER_QUP_CORE_0		0
81 #define SLAVE_QUP_CORE_0		1
82 
83 /* MMNRT Virtual */
84 #define MASTER_CAMNOC_SF		0
85 #define MASTER_VIDEO_P0			1
86 #define MASTER_VIDEO_PROC		2
87 #define SLAVE_SNOC_BIMC_NRT		3
88 
89 /* MMRT Virtual */
90 #define MASTER_CAMNOC_HF		0
91 #define MASTER_MDP0			1
92 #define SLAVE_SNOC_BIMC_RT		2
93 
94 #endif
95