xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/interconnect/qcom,sm8650-rpmh.h (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
18d13bc63SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
28d13bc63SEmmanuel Vadot /*
38d13bc63SEmmanuel Vadot  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
48d13bc63SEmmanuel Vadot  * Copyright (c) 2023, Linaro Limited
58d13bc63SEmmanuel Vadot  */
68d13bc63SEmmanuel Vadot 
78d13bc63SEmmanuel Vadot #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM8650_H
88d13bc63SEmmanuel Vadot #define __DT_BINDINGS_INTERCONNECT_QCOM_SM8650_H
98d13bc63SEmmanuel Vadot 
108d13bc63SEmmanuel Vadot #define MASTER_QSPI_0				0
118d13bc63SEmmanuel Vadot #define MASTER_QUP_1				1
128d13bc63SEmmanuel Vadot #define MASTER_QUP_3				2
138d13bc63SEmmanuel Vadot #define MASTER_SDCC_4				3
148d13bc63SEmmanuel Vadot #define MASTER_UFS_MEM				4
158d13bc63SEmmanuel Vadot #define MASTER_USB3_0				5
168d13bc63SEmmanuel Vadot #define SLAVE_A1NOC_SNOC			6
178d13bc63SEmmanuel Vadot 
188d13bc63SEmmanuel Vadot #define MASTER_QDSS_BAM				0
198d13bc63SEmmanuel Vadot #define MASTER_QUP_2				1
208d13bc63SEmmanuel Vadot #define MASTER_CRYPTO				2
218d13bc63SEmmanuel Vadot #define MASTER_IPA				3
228d13bc63SEmmanuel Vadot #define MASTER_SP				4
238d13bc63SEmmanuel Vadot #define MASTER_QDSS_ETR				5
248d13bc63SEmmanuel Vadot #define MASTER_QDSS_ETR_1			6
258d13bc63SEmmanuel Vadot #define MASTER_SDCC_2				7
268d13bc63SEmmanuel Vadot #define SLAVE_A2NOC_SNOC			8
278d13bc63SEmmanuel Vadot 
288d13bc63SEmmanuel Vadot #define MASTER_QUP_CORE_0			0
298d13bc63SEmmanuel Vadot #define MASTER_QUP_CORE_1			1
308d13bc63SEmmanuel Vadot #define MASTER_QUP_CORE_2			2
318d13bc63SEmmanuel Vadot #define SLAVE_QUP_CORE_0			3
328d13bc63SEmmanuel Vadot #define SLAVE_QUP_CORE_1			4
338d13bc63SEmmanuel Vadot #define SLAVE_QUP_CORE_2			5
348d13bc63SEmmanuel Vadot 
358d13bc63SEmmanuel Vadot #define MASTER_CNOC_CFG				0
368d13bc63SEmmanuel Vadot #define SLAVE_AHB2PHY_SOUTH			1
378d13bc63SEmmanuel Vadot #define SLAVE_AHB2PHY_NORTH			2
388d13bc63SEmmanuel Vadot #define SLAVE_CAMERA_CFG			3
398d13bc63SEmmanuel Vadot #define SLAVE_CLK_CTL				4
408d13bc63SEmmanuel Vadot #define SLAVE_RBCPR_CX_CFG			5
418d13bc63SEmmanuel Vadot #define SLAVE_CPR_HMX				6
428d13bc63SEmmanuel Vadot #define SLAVE_RBCPR_MMCX_CFG			7
438d13bc63SEmmanuel Vadot #define SLAVE_RBCPR_MXA_CFG			8
448d13bc63SEmmanuel Vadot #define SLAVE_RBCPR_MXC_CFG			9
458d13bc63SEmmanuel Vadot #define SLAVE_CPR_NSPCX				10
468d13bc63SEmmanuel Vadot #define SLAVE_CRYPTO_0_CFG			11
478d13bc63SEmmanuel Vadot #define SLAVE_CX_RDPM				12
488d13bc63SEmmanuel Vadot #define SLAVE_DISPLAY_CFG			13
498d13bc63SEmmanuel Vadot #define SLAVE_GFX3D_CFG				14
508d13bc63SEmmanuel Vadot #define SLAVE_I2C				15
518d13bc63SEmmanuel Vadot #define SLAVE_I3C_IBI0_CFG			16
528d13bc63SEmmanuel Vadot #define SLAVE_I3C_IBI1_CFG			17
538d13bc63SEmmanuel Vadot #define SLAVE_IMEM_CFG				18
548d13bc63SEmmanuel Vadot #define SLAVE_CNOC_MSS				19
558d13bc63SEmmanuel Vadot #define SLAVE_MX_2_RDPM				20
568d13bc63SEmmanuel Vadot #define SLAVE_MX_RDPM				21
578d13bc63SEmmanuel Vadot #define SLAVE_PCIE_0_CFG			22
588d13bc63SEmmanuel Vadot #define SLAVE_PCIE_1_CFG			23
598d13bc63SEmmanuel Vadot #define SLAVE_PCIE_RSCC				24
608d13bc63SEmmanuel Vadot #define SLAVE_PDM				25
618d13bc63SEmmanuel Vadot #define SLAVE_PRNG				26
628d13bc63SEmmanuel Vadot #define SLAVE_QDSS_CFG				27
638d13bc63SEmmanuel Vadot #define SLAVE_QSPI_0				28
648d13bc63SEmmanuel Vadot #define SLAVE_QUP_3				29
658d13bc63SEmmanuel Vadot #define SLAVE_QUP_1				30
668d13bc63SEmmanuel Vadot #define SLAVE_QUP_2				31
678d13bc63SEmmanuel Vadot #define SLAVE_SDCC_2				32
688d13bc63SEmmanuel Vadot #define SLAVE_SDCC_4				33
698d13bc63SEmmanuel Vadot #define SLAVE_SPSS_CFG				34
708d13bc63SEmmanuel Vadot #define SLAVE_TCSR				35
718d13bc63SEmmanuel Vadot #define SLAVE_TLMM				36
728d13bc63SEmmanuel Vadot #define SLAVE_UFS_MEM_CFG			37
738d13bc63SEmmanuel Vadot #define SLAVE_USB3_0				38
748d13bc63SEmmanuel Vadot #define SLAVE_VENUS_CFG				39
758d13bc63SEmmanuel Vadot #define SLAVE_VSENSE_CTRL_CFG			40
768d13bc63SEmmanuel Vadot #define SLAVE_CNOC_MNOC_CFG			41
778d13bc63SEmmanuel Vadot #define SLAVE_NSP_QTB_CFG			42
788d13bc63SEmmanuel Vadot #define SLAVE_PCIE_ANOC_CFG			43
798d13bc63SEmmanuel Vadot #define SLAVE_SERVICE_CNOC_CFG			44
808d13bc63SEmmanuel Vadot #define SLAVE_QDSS_STM				45
818d13bc63SEmmanuel Vadot #define SLAVE_TCU				46
828d13bc63SEmmanuel Vadot 
838d13bc63SEmmanuel Vadot #define MASTER_GEM_NOC_CNOC			0
848d13bc63SEmmanuel Vadot #define MASTER_GEM_NOC_PCIE_SNOC		1
858d13bc63SEmmanuel Vadot #define SLAVE_AOSS				2
868d13bc63SEmmanuel Vadot #define SLAVE_IPA_CFG				3
878d13bc63SEmmanuel Vadot #define SLAVE_IPC_ROUTER_CFG			4
888d13bc63SEmmanuel Vadot #define SLAVE_TME_CFG				5
898d13bc63SEmmanuel Vadot #define SLAVE_APPSS				6
908d13bc63SEmmanuel Vadot #define SLAVE_CNOC_CFG				7
918d13bc63SEmmanuel Vadot #define SLAVE_DDRSS_CFG				8
928d13bc63SEmmanuel Vadot #define SLAVE_IMEM				9
938d13bc63SEmmanuel Vadot #define SLAVE_SERVICE_CNOC			10
948d13bc63SEmmanuel Vadot #define SLAVE_PCIE_0				11
958d13bc63SEmmanuel Vadot #define SLAVE_PCIE_1				12
968d13bc63SEmmanuel Vadot 
978d13bc63SEmmanuel Vadot #define MASTER_GPU_TCU				0
988d13bc63SEmmanuel Vadot #define MASTER_SYS_TCU				1
998d13bc63SEmmanuel Vadot #define MASTER_UBWC_P_TCU			2
1008d13bc63SEmmanuel Vadot #define MASTER_APPSS_PROC			3
1018d13bc63SEmmanuel Vadot #define MASTER_GFX3D				4
1028d13bc63SEmmanuel Vadot #define MASTER_LPASS_GEM_NOC			5
1038d13bc63SEmmanuel Vadot #define MASTER_MSS_PROC				6
1048d13bc63SEmmanuel Vadot #define MASTER_MNOC_HF_MEM_NOC			7
1058d13bc63SEmmanuel Vadot #define MASTER_MNOC_SF_MEM_NOC			8
1068d13bc63SEmmanuel Vadot #define MASTER_COMPUTE_NOC			9
1078d13bc63SEmmanuel Vadot #define MASTER_ANOC_PCIE_GEM_NOC		10
1088d13bc63SEmmanuel Vadot #define MASTER_SNOC_SF_MEM_NOC			11
1098d13bc63SEmmanuel Vadot #define MASTER_UBWC_P				12
1108d13bc63SEmmanuel Vadot #define MASTER_GIC				13
1118d13bc63SEmmanuel Vadot #define SLAVE_GEM_NOC_CNOC			14
1128d13bc63SEmmanuel Vadot #define SLAVE_LLCC				15
1138d13bc63SEmmanuel Vadot #define SLAVE_MEM_NOC_PCIE_SNOC			16
1148d13bc63SEmmanuel Vadot 
1158d13bc63SEmmanuel Vadot #define MASTER_LPIAON_NOC			0
1168d13bc63SEmmanuel Vadot #define SLAVE_LPASS_GEM_NOC			1
1178d13bc63SEmmanuel Vadot 
1188d13bc63SEmmanuel Vadot #define MASTER_LPASS_LPINOC			0
1198d13bc63SEmmanuel Vadot #define SLAVE_LPIAON_NOC_LPASS_AG_NOC		1
1208d13bc63SEmmanuel Vadot 
1218d13bc63SEmmanuel Vadot #define MASTER_LPASS_PROC			0
1228d13bc63SEmmanuel Vadot #define SLAVE_LPICX_NOC_LPIAON_NOC		1
1238d13bc63SEmmanuel Vadot 
1248d13bc63SEmmanuel Vadot #define MASTER_LLCC				0
1258d13bc63SEmmanuel Vadot #define SLAVE_EBI1				1
1268d13bc63SEmmanuel Vadot 
1278d13bc63SEmmanuel Vadot #define MASTER_CAMNOC_HF			0
1288d13bc63SEmmanuel Vadot #define MASTER_CAMNOC_ICP			1
1298d13bc63SEmmanuel Vadot #define MASTER_CAMNOC_SF			2
1308d13bc63SEmmanuel Vadot #define MASTER_MDP				3
1318d13bc63SEmmanuel Vadot #define MASTER_CDSP_HCP				4
1328d13bc63SEmmanuel Vadot #define MASTER_VIDEO				5
1338d13bc63SEmmanuel Vadot #define MASTER_VIDEO_CV_PROC			6
1348d13bc63SEmmanuel Vadot #define MASTER_VIDEO_PROC			7
1358d13bc63SEmmanuel Vadot #define MASTER_VIDEO_V_PROC			8
1368d13bc63SEmmanuel Vadot #define MASTER_CNOC_MNOC_CFG			9
1378d13bc63SEmmanuel Vadot #define SLAVE_MNOC_HF_MEM_NOC			10
1388d13bc63SEmmanuel Vadot #define SLAVE_MNOC_SF_MEM_NOC			11
1398d13bc63SEmmanuel Vadot #define SLAVE_SERVICE_MNOC			12
1408d13bc63SEmmanuel Vadot 
1418d13bc63SEmmanuel Vadot #define MASTER_CDSP_PROC			0
1428d13bc63SEmmanuel Vadot #define SLAVE_CDSP_MEM_NOC			1
1438d13bc63SEmmanuel Vadot 
1448d13bc63SEmmanuel Vadot #define MASTER_PCIE_ANOC_CFG			0
1458d13bc63SEmmanuel Vadot #define MASTER_PCIE_0				1
1468d13bc63SEmmanuel Vadot #define MASTER_PCIE_1				2
1478d13bc63SEmmanuel Vadot #define SLAVE_ANOC_PCIE_GEM_NOC			3
1488d13bc63SEmmanuel Vadot #define SLAVE_SERVICE_PCIE_ANOC			4
1498d13bc63SEmmanuel Vadot 
1508d13bc63SEmmanuel Vadot #define MASTER_A1NOC_SNOC			0
1518d13bc63SEmmanuel Vadot #define MASTER_A2NOC_SNOC			1
1528d13bc63SEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_SF			2
153*ae5de77eSEmmanuel Vadot #define MASTER_APSS_NOC				3
1548d13bc63SEmmanuel Vadot 
1558d13bc63SEmmanuel Vadot #endif
156