xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/interconnect/qcom,sm7150-rpmh.h (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1*01950c46SEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
2*01950c46SEmmanuel Vadot /*
3*01950c46SEmmanuel Vadot  * Qualcomm SM7150 interconnect IDs
4*01950c46SEmmanuel Vadot  *
5*01950c46SEmmanuel Vadot  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
6*01950c46SEmmanuel Vadot  * Copyright (c) 2024, Danila Tikhonov <danila@jiaxyga.com>
7*01950c46SEmmanuel Vadot  */
8*01950c46SEmmanuel Vadot 
9*01950c46SEmmanuel Vadot #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM7150_H
10*01950c46SEmmanuel Vadot #define __DT_BINDINGS_INTERCONNECT_QCOM_SM7150_H
11*01950c46SEmmanuel Vadot 
12*01950c46SEmmanuel Vadot #define MASTER_A1NOC_CFG		0
13*01950c46SEmmanuel Vadot #define MASTER_QUP_0			1
14*01950c46SEmmanuel Vadot #define MASTER_TSIF			2
15*01950c46SEmmanuel Vadot #define MASTER_EMMC			3
16*01950c46SEmmanuel Vadot #define MASTER_SDCC_2			4
17*01950c46SEmmanuel Vadot #define MASTER_SDCC_4			5
18*01950c46SEmmanuel Vadot #define MASTER_UFS_MEM			6
19*01950c46SEmmanuel Vadot #define A1NOC_SNOC_SLV			7
20*01950c46SEmmanuel Vadot #define SLAVE_SERVICE_A1NOC		8
21*01950c46SEmmanuel Vadot 
22*01950c46SEmmanuel Vadot #define MASTER_A2NOC_CFG		0
23*01950c46SEmmanuel Vadot #define MASTER_QDSS_BAM			1
24*01950c46SEmmanuel Vadot #define MASTER_QUP_1			2
25*01950c46SEmmanuel Vadot #define MASTER_CNOC_A2NOC		3
26*01950c46SEmmanuel Vadot #define MASTER_CRYPTO_CORE_0		4
27*01950c46SEmmanuel Vadot #define MASTER_IPA			5
28*01950c46SEmmanuel Vadot #define MASTER_PCIE			6
29*01950c46SEmmanuel Vadot #define MASTER_QDSS_ETR			7
30*01950c46SEmmanuel Vadot #define MASTER_USB3			8
31*01950c46SEmmanuel Vadot #define A2NOC_SNOC_SLV			9
32*01950c46SEmmanuel Vadot #define SLAVE_ANOC_PCIE_GEM_NOC		10
33*01950c46SEmmanuel Vadot #define SLAVE_SERVICE_A2NOC		11
34*01950c46SEmmanuel Vadot 
35*01950c46SEmmanuel Vadot #define MASTER_CAMNOC_HF0_UNCOMP	0
36*01950c46SEmmanuel Vadot #define MASTER_CAMNOC_RT_UNCOMP		1
37*01950c46SEmmanuel Vadot #define MASTER_CAMNOC_SF_UNCOMP		2
38*01950c46SEmmanuel Vadot #define MASTER_CAMNOC_NRT_UNCOMP	3
39*01950c46SEmmanuel Vadot #define SLAVE_CAMNOC_UNCOMP		4
40*01950c46SEmmanuel Vadot 
41*01950c46SEmmanuel Vadot #define MASTER_NPU			0
42*01950c46SEmmanuel Vadot #define SLAVE_CDSP_GEM_NOC		1
43*01950c46SEmmanuel Vadot 
44*01950c46SEmmanuel Vadot #define MASTER_SPDM			0
45*01950c46SEmmanuel Vadot #define SNOC_CNOC_MAS			1
46*01950c46SEmmanuel Vadot #define MASTER_QDSS_DAP			2
47*01950c46SEmmanuel Vadot #define SLAVE_A1NOC_CFG			3
48*01950c46SEmmanuel Vadot #define SLAVE_A2NOC_CFG			4
49*01950c46SEmmanuel Vadot #define SLAVE_AHB2PHY_NORTH		5
50*01950c46SEmmanuel Vadot #define SLAVE_AHB2PHY_SOUTH		6
51*01950c46SEmmanuel Vadot #define SLAVE_AHB2PHY_WEST		7
52*01950c46SEmmanuel Vadot #define SLAVE_AOP			8
53*01950c46SEmmanuel Vadot #define SLAVE_AOSS			9
54*01950c46SEmmanuel Vadot #define SLAVE_CAMERA_CFG		10
55*01950c46SEmmanuel Vadot #define SLAVE_CAMERA_NRT_THROTTLE_CFG	11
56*01950c46SEmmanuel Vadot #define SLAVE_CAMERA_RT_THROTTLE_CFG	12
57*01950c46SEmmanuel Vadot #define SLAVE_CLK_CTL			13
58*01950c46SEmmanuel Vadot #define SLAVE_CDSP_CFG			14
59*01950c46SEmmanuel Vadot #define SLAVE_RBCPR_CX_CFG		15
60*01950c46SEmmanuel Vadot #define SLAVE_RBCPR_MX_CFG		16
61*01950c46SEmmanuel Vadot #define SLAVE_CRYPTO_0_CFG		17
62*01950c46SEmmanuel Vadot #define SLAVE_CNOC_DDRSS		18
63*01950c46SEmmanuel Vadot #define SLAVE_DISPLAY_CFG		19
64*01950c46SEmmanuel Vadot #define SLAVE_DISPLAY_THROTTLE_CFG	20
65*01950c46SEmmanuel Vadot #define SLAVE_EMMC_CFG			21
66*01950c46SEmmanuel Vadot #define SLAVE_GLM			22
67*01950c46SEmmanuel Vadot #define SLAVE_GRAPHICS_3D_CFG		23
68*01950c46SEmmanuel Vadot #define SLAVE_IMEM_CFG			24
69*01950c46SEmmanuel Vadot #define SLAVE_IPA_CFG			25
70*01950c46SEmmanuel Vadot #define SLAVE_CNOC_MNOC_CFG		26
71*01950c46SEmmanuel Vadot #define SLAVE_PCIE_CFG			27
72*01950c46SEmmanuel Vadot #define SLAVE_PDM			28
73*01950c46SEmmanuel Vadot #define SLAVE_PIMEM_CFG			29
74*01950c46SEmmanuel Vadot #define SLAVE_PRNG			30
75*01950c46SEmmanuel Vadot #define SLAVE_QDSS_CFG			31
76*01950c46SEmmanuel Vadot #define SLAVE_QUP_0			32
77*01950c46SEmmanuel Vadot #define SLAVE_QUP_1			33
78*01950c46SEmmanuel Vadot #define SLAVE_SDCC_2			34
79*01950c46SEmmanuel Vadot #define SLAVE_SDCC_4			35
80*01950c46SEmmanuel Vadot #define SLAVE_SNOC_CFG			36
81*01950c46SEmmanuel Vadot #define SLAVE_SPDM_WRAPPER		37
82*01950c46SEmmanuel Vadot #define SLAVE_TCSR			38
83*01950c46SEmmanuel Vadot #define SLAVE_TLMM_NORTH		39
84*01950c46SEmmanuel Vadot #define SLAVE_TLMM_SOUTH		40
85*01950c46SEmmanuel Vadot #define SLAVE_TLMM_WEST			41
86*01950c46SEmmanuel Vadot #define SLAVE_TSIF			42
87*01950c46SEmmanuel Vadot #define SLAVE_UFS_MEM_CFG		43
88*01950c46SEmmanuel Vadot #define SLAVE_USB3			44
89*01950c46SEmmanuel Vadot #define SLAVE_VENUS_CFG			45
90*01950c46SEmmanuel Vadot #define SLAVE_VENUS_CVP_THROTTLE_CFG	46
91*01950c46SEmmanuel Vadot #define SLAVE_VENUS_THROTTLE_CFG	47
92*01950c46SEmmanuel Vadot #define SLAVE_VSENSE_CTRL_CFG		48
93*01950c46SEmmanuel Vadot #define SLAVE_CNOC_A2NOC		49
94*01950c46SEmmanuel Vadot #define SLAVE_SERVICE_CNOC		50
95*01950c46SEmmanuel Vadot 
96*01950c46SEmmanuel Vadot #define MASTER_CNOC_DC_NOC		0
97*01950c46SEmmanuel Vadot #define SLAVE_GEM_NOC_CFG		1
98*01950c46SEmmanuel Vadot #define SLAVE_LLCC_CFG			2
99*01950c46SEmmanuel Vadot 
100*01950c46SEmmanuel Vadot #define MASTER_AMPSS_M0			0
101*01950c46SEmmanuel Vadot #define MASTER_SYS_TCU			1
102*01950c46SEmmanuel Vadot #define MASTER_GEM_NOC_CFG		2
103*01950c46SEmmanuel Vadot #define MASTER_COMPUTE_NOC		3
104*01950c46SEmmanuel Vadot #define MASTER_MNOC_HF_MEM_NOC		4
105*01950c46SEmmanuel Vadot #define MASTER_MNOC_SF_MEM_NOC		5
106*01950c46SEmmanuel Vadot #define MASTER_GEM_NOC_PCIE_SNOC	6
107*01950c46SEmmanuel Vadot #define MASTER_SNOC_GC_MEM_NOC		7
108*01950c46SEmmanuel Vadot #define MASTER_SNOC_SF_MEM_NOC		8
109*01950c46SEmmanuel Vadot #define MASTER_GRAPHICS_3D		9
110*01950c46SEmmanuel Vadot #define SLAVE_MSS_PROC_MS_MPU_CFG	10
111*01950c46SEmmanuel Vadot #define SLAVE_GEM_NOC_SNOC		11
112*01950c46SEmmanuel Vadot #define SLAVE_LLCC			12
113*01950c46SEmmanuel Vadot #define SLAVE_SERVICE_GEM_NOC		13
114*01950c46SEmmanuel Vadot 
115*01950c46SEmmanuel Vadot 
116*01950c46SEmmanuel Vadot #define MASTER_LLCC			0
117*01950c46SEmmanuel Vadot #define SLAVE_EBI_CH0			1
118*01950c46SEmmanuel Vadot 
119*01950c46SEmmanuel Vadot #define MASTER_CNOC_MNOC_CFG		0
120*01950c46SEmmanuel Vadot #define MASTER_CAMNOC_HF0		1
121*01950c46SEmmanuel Vadot #define MASTER_CAMNOC_NRT		2
122*01950c46SEmmanuel Vadot #define MASTER_CAMNOC_RT		3
123*01950c46SEmmanuel Vadot #define MASTER_CAMNOC_SF		4
124*01950c46SEmmanuel Vadot #define MASTER_MDP_PORT0		5
125*01950c46SEmmanuel Vadot #define MASTER_MDP_PORT1		6
126*01950c46SEmmanuel Vadot #define MASTER_ROTATOR			7
127*01950c46SEmmanuel Vadot #define MASTER_VIDEO_P0			8
128*01950c46SEmmanuel Vadot #define MASTER_VIDEO_P1			9
129*01950c46SEmmanuel Vadot #define MASTER_VIDEO_PROC		10
130*01950c46SEmmanuel Vadot #define SLAVE_MNOC_SF_MEM_NOC		11
131*01950c46SEmmanuel Vadot #define SLAVE_MNOC_HF_MEM_NOC		12
132*01950c46SEmmanuel Vadot #define SLAVE_SERVICE_MNOC		13
133*01950c46SEmmanuel Vadot 
134*01950c46SEmmanuel Vadot #define MASTER_SNOC_CFG			0
135*01950c46SEmmanuel Vadot #define A1NOC_SNOC_MAS			1
136*01950c46SEmmanuel Vadot #define A2NOC_SNOC_MAS			2
137*01950c46SEmmanuel Vadot #define MASTER_GEM_NOC_SNOC		3
138*01950c46SEmmanuel Vadot #define MASTER_PIMEM			4
139*01950c46SEmmanuel Vadot #define MASTER_GIC			5
140*01950c46SEmmanuel Vadot #define SLAVE_APPSS			6
141*01950c46SEmmanuel Vadot #define SNOC_CNOC_SLV			7
142*01950c46SEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_GC		8
143*01950c46SEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_SF		9
144*01950c46SEmmanuel Vadot #define SLAVE_OCIMEM			10
145*01950c46SEmmanuel Vadot #define SLAVE_PIMEM			11
146*01950c46SEmmanuel Vadot #define SLAVE_SERVICE_SNOC		12
147*01950c46SEmmanuel Vadot #define SLAVE_QDSS_STM			13
148*01950c46SEmmanuel Vadot #define SLAVE_TCU			14
149*01950c46SEmmanuel Vadot 
150*01950c46SEmmanuel Vadot #endif
151