xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/interconnect/qcom,sar2130p-rpmh.h (revision 5f62a964e9f8abc6a05d8338273fadd154f0a206)
1*5f62a964SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*5f62a964SEmmanuel Vadot /*
3*5f62a964SEmmanuel Vadot  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
4*5f62a964SEmmanuel Vadot  * Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
5*5f62a964SEmmanuel Vadot  * Copyright (c) 2024, Linaro Ltd.
6*5f62a964SEmmanuel Vadot  */
7*5f62a964SEmmanuel Vadot 
8*5f62a964SEmmanuel Vadot #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SAR2130P_H
9*5f62a964SEmmanuel Vadot #define __DT_BINDINGS_INTERCONNECT_QCOM_SAR2130P_H
10*5f62a964SEmmanuel Vadot 
11*5f62a964SEmmanuel Vadot #define MASTER_QUP_CORE_0			0
12*5f62a964SEmmanuel Vadot #define MASTER_QUP_CORE_1			1
13*5f62a964SEmmanuel Vadot #define SLAVE_QUP_CORE_0			2
14*5f62a964SEmmanuel Vadot #define SLAVE_QUP_CORE_1			3
15*5f62a964SEmmanuel Vadot 
16*5f62a964SEmmanuel Vadot #define MASTER_GEM_NOC_CNOC			0
17*5f62a964SEmmanuel Vadot #define MASTER_GEM_NOC_PCIE_SNOC		1
18*5f62a964SEmmanuel Vadot #define MASTER_QDSS_DAP				2
19*5f62a964SEmmanuel Vadot #define SLAVE_AHB2PHY_SOUTH			3
20*5f62a964SEmmanuel Vadot #define SLAVE_AOSS				4
21*5f62a964SEmmanuel Vadot #define SLAVE_CAMERA_CFG			5
22*5f62a964SEmmanuel Vadot #define SLAVE_CLK_CTL				6
23*5f62a964SEmmanuel Vadot #define SLAVE_CDSP_CFG				7
24*5f62a964SEmmanuel Vadot #define SLAVE_RBCPR_CX_CFG			8
25*5f62a964SEmmanuel Vadot #define SLAVE_RBCPR_MMCX_CFG			9
26*5f62a964SEmmanuel Vadot #define SLAVE_RBCPR_MXA_CFG			10
27*5f62a964SEmmanuel Vadot #define SLAVE_RBCPR_MXC_CFG			11
28*5f62a964SEmmanuel Vadot #define SLAVE_CPR_NSPCX				12
29*5f62a964SEmmanuel Vadot #define SLAVE_CRYPTO_0_CFG			13
30*5f62a964SEmmanuel Vadot #define SLAVE_CX_RDPM				14
31*5f62a964SEmmanuel Vadot #define SLAVE_DISPLAY_CFG			15
32*5f62a964SEmmanuel Vadot #define SLAVE_GFX3D_CFG				16
33*5f62a964SEmmanuel Vadot #define SLAVE_IMEM_CFG				17
34*5f62a964SEmmanuel Vadot #define SLAVE_IPC_ROUTER_CFG			18
35*5f62a964SEmmanuel Vadot #define SLAVE_LPASS				19
36*5f62a964SEmmanuel Vadot #define SLAVE_MX_RDPM				20
37*5f62a964SEmmanuel Vadot #define SLAVE_PCIE_0_CFG			21
38*5f62a964SEmmanuel Vadot #define SLAVE_PCIE_1_CFG			22
39*5f62a964SEmmanuel Vadot #define SLAVE_PDM				23
40*5f62a964SEmmanuel Vadot #define SLAVE_PIMEM_CFG				24
41*5f62a964SEmmanuel Vadot #define SLAVE_PRNG				25
42*5f62a964SEmmanuel Vadot #define SLAVE_QDSS_CFG				26
43*5f62a964SEmmanuel Vadot #define SLAVE_QSPI_0				27
44*5f62a964SEmmanuel Vadot #define SLAVE_QUP_0				28
45*5f62a964SEmmanuel Vadot #define SLAVE_QUP_1				29
46*5f62a964SEmmanuel Vadot #define SLAVE_SDCC_1				30
47*5f62a964SEmmanuel Vadot #define SLAVE_TCSR				31
48*5f62a964SEmmanuel Vadot #define SLAVE_TLMM				32
49*5f62a964SEmmanuel Vadot #define SLAVE_TME_CFG				33
50*5f62a964SEmmanuel Vadot #define SLAVE_USB3_0				34
51*5f62a964SEmmanuel Vadot #define SLAVE_VENUS_CFG				35
52*5f62a964SEmmanuel Vadot #define SLAVE_VSENSE_CTRL_CFG			36
53*5f62a964SEmmanuel Vadot #define SLAVE_WLAN_Q6_CFG			37
54*5f62a964SEmmanuel Vadot #define SLAVE_DDRSS_CFG				38
55*5f62a964SEmmanuel Vadot #define SLAVE_CNOC_MNOC_CFG			39
56*5f62a964SEmmanuel Vadot #define SLAVE_SNOC_CFG				40
57*5f62a964SEmmanuel Vadot #define SLAVE_IMEM				41
58*5f62a964SEmmanuel Vadot #define SLAVE_PIMEM				42
59*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_CNOC			43
60*5f62a964SEmmanuel Vadot #define SLAVE_PCIE_0				44
61*5f62a964SEmmanuel Vadot #define SLAVE_PCIE_1				45
62*5f62a964SEmmanuel Vadot #define SLAVE_QDSS_STM				46
63*5f62a964SEmmanuel Vadot #define SLAVE_TCU				47
64*5f62a964SEmmanuel Vadot 
65*5f62a964SEmmanuel Vadot #define MASTER_GPU_TCU				0
66*5f62a964SEmmanuel Vadot #define MASTER_SYS_TCU				1
67*5f62a964SEmmanuel Vadot #define MASTER_APPSS_PROC			2
68*5f62a964SEmmanuel Vadot #define MASTER_GFX3D				3
69*5f62a964SEmmanuel Vadot #define MASTER_MNOC_HF_MEM_NOC			4
70*5f62a964SEmmanuel Vadot #define MASTER_MNOC_SF_MEM_NOC			5
71*5f62a964SEmmanuel Vadot #define MASTER_COMPUTE_NOC			6
72*5f62a964SEmmanuel Vadot #define MASTER_ANOC_PCIE_GEM_NOC		7
73*5f62a964SEmmanuel Vadot #define MASTER_SNOC_GC_MEM_NOC			8
74*5f62a964SEmmanuel Vadot #define MASTER_SNOC_SF_MEM_NOC			9
75*5f62a964SEmmanuel Vadot #define MASTER_WLAN_Q6				10
76*5f62a964SEmmanuel Vadot #define SLAVE_GEM_NOC_CNOC			11
77*5f62a964SEmmanuel Vadot #define SLAVE_LLCC				12
78*5f62a964SEmmanuel Vadot #define SLAVE_MEM_NOC_PCIE_SNOC			13
79*5f62a964SEmmanuel Vadot 
80*5f62a964SEmmanuel Vadot #define MASTER_CNOC_LPASS_AG_NOC		0
81*5f62a964SEmmanuel Vadot #define MASTER_LPASS_PROC			1
82*5f62a964SEmmanuel Vadot #define SLAVE_LPASS_CORE_CFG			2
83*5f62a964SEmmanuel Vadot #define SLAVE_LPASS_LPI_CFG			3
84*5f62a964SEmmanuel Vadot #define SLAVE_LPASS_MPU_CFG			4
85*5f62a964SEmmanuel Vadot #define SLAVE_LPASS_TOP_CFG			5
86*5f62a964SEmmanuel Vadot #define SLAVE_LPASS_SNOC			6
87*5f62a964SEmmanuel Vadot #define SLAVE_SERVICES_LPASS_AML_NOC		7
88*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_LPASS_AG_NOC		8
89*5f62a964SEmmanuel Vadot 
90*5f62a964SEmmanuel Vadot #define MASTER_LLCC				0
91*5f62a964SEmmanuel Vadot #define SLAVE_EBI1				1
92*5f62a964SEmmanuel Vadot 
93*5f62a964SEmmanuel Vadot #define MASTER_CAMNOC_HF			0
94*5f62a964SEmmanuel Vadot #define MASTER_CAMNOC_ICP			1
95*5f62a964SEmmanuel Vadot #define MASTER_CAMNOC_SF			2
96*5f62a964SEmmanuel Vadot #define MASTER_LSR				3
97*5f62a964SEmmanuel Vadot #define MASTER_MDP				4
98*5f62a964SEmmanuel Vadot #define MASTER_CNOC_MNOC_CFG			5
99*5f62a964SEmmanuel Vadot #define MASTER_VIDEO				6
100*5f62a964SEmmanuel Vadot #define MASTER_VIDEO_CV_PROC			7
101*5f62a964SEmmanuel Vadot #define MASTER_VIDEO_PROC			8
102*5f62a964SEmmanuel Vadot #define MASTER_VIDEO_V_PROC			9
103*5f62a964SEmmanuel Vadot #define SLAVE_MNOC_HF_MEM_NOC			10
104*5f62a964SEmmanuel Vadot #define SLAVE_MNOC_SF_MEM_NOC			11
105*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_MNOC			12
106*5f62a964SEmmanuel Vadot 
107*5f62a964SEmmanuel Vadot #define MASTER_CDSP_NOC_CFG			0
108*5f62a964SEmmanuel Vadot #define MASTER_CDSP_PROC			1
109*5f62a964SEmmanuel Vadot #define SLAVE_CDSP_MEM_NOC			2
110*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_NSP_NOC			3
111*5f62a964SEmmanuel Vadot 
112*5f62a964SEmmanuel Vadot #define MASTER_PCIE_0				0
113*5f62a964SEmmanuel Vadot #define MASTER_PCIE_1				1
114*5f62a964SEmmanuel Vadot #define SLAVE_ANOC_PCIE_GEM_NOC			2
115*5f62a964SEmmanuel Vadot 
116*5f62a964SEmmanuel Vadot #define MASTER_GIC_AHB				0
117*5f62a964SEmmanuel Vadot #define MASTER_QDSS_BAM				1
118*5f62a964SEmmanuel Vadot #define MASTER_QSPI_0				2
119*5f62a964SEmmanuel Vadot #define MASTER_QUP_0				3
120*5f62a964SEmmanuel Vadot #define MASTER_QUP_1				4
121*5f62a964SEmmanuel Vadot #define MASTER_A2NOC_SNOC			5
122*5f62a964SEmmanuel Vadot #define MASTER_CNOC_DATAPATH			6
123*5f62a964SEmmanuel Vadot #define MASTER_LPASS_ANOC			7
124*5f62a964SEmmanuel Vadot #define MASTER_SNOC_CFG				8
125*5f62a964SEmmanuel Vadot #define MASTER_CRYPTO				9
126*5f62a964SEmmanuel Vadot #define MASTER_PIMEM				10
127*5f62a964SEmmanuel Vadot #define MASTER_GIC				11
128*5f62a964SEmmanuel Vadot #define MASTER_QDSS_ETR				12
129*5f62a964SEmmanuel Vadot #define MASTER_QDSS_ETR_1			13
130*5f62a964SEmmanuel Vadot #define MASTER_SDCC_1				14
131*5f62a964SEmmanuel Vadot #define MASTER_USB3_0				15
132*5f62a964SEmmanuel Vadot #define SLAVE_A2NOC_SNOC			16
133*5f62a964SEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_GC			17
134*5f62a964SEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_SF			18
135*5f62a964SEmmanuel Vadot #define SLAVE_SERVICE_SNOC			19
136*5f62a964SEmmanuel Vadot 
137*5f62a964SEmmanuel Vadot #endif
138