18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Qualcomm SM8250 interconnect IDs
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (c) 2020, The Linux Foundation. All rights reserved.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM8250_H
98c2ecf20Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_SM8250_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define MASTER_A1NOC_CFG		0
128c2ecf20Sopenharmony_ci#define MASTER_QSPI_0			1
138c2ecf20Sopenharmony_ci#define MASTER_QUP_1			2
148c2ecf20Sopenharmony_ci#define MASTER_QUP_2			3
158c2ecf20Sopenharmony_ci#define MASTER_TSIF			4
168c2ecf20Sopenharmony_ci#define MASTER_PCIE_2			5
178c2ecf20Sopenharmony_ci#define MASTER_SDCC_4			6
188c2ecf20Sopenharmony_ci#define MASTER_UFS_MEM			7
198c2ecf20Sopenharmony_ci#define MASTER_USB3			8
208c2ecf20Sopenharmony_ci#define MASTER_USB3_1			9
218c2ecf20Sopenharmony_ci#define A1NOC_SNOC_SLV			10
228c2ecf20Sopenharmony_ci#define SLAVE_ANOC_PCIE_GEM_NOC_1	11
238c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_A1NOC		12
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci#define MASTER_A2NOC_CFG		0
268c2ecf20Sopenharmony_ci#define MASTER_QDSS_BAM			1
278c2ecf20Sopenharmony_ci#define MASTER_QUP_0			2
288c2ecf20Sopenharmony_ci#define MASTER_CNOC_A2NOC		3
298c2ecf20Sopenharmony_ci#define MASTER_CRYPTO_CORE_0		4
308c2ecf20Sopenharmony_ci#define MASTER_IPA			5
318c2ecf20Sopenharmony_ci#define MASTER_PCIE			6
328c2ecf20Sopenharmony_ci#define MASTER_PCIE_1			7
338c2ecf20Sopenharmony_ci#define MASTER_QDSS_ETR			8
348c2ecf20Sopenharmony_ci#define MASTER_SDCC_2			9
358c2ecf20Sopenharmony_ci#define MASTER_UFS_CARD			10
368c2ecf20Sopenharmony_ci#define A2NOC_SNOC_SLV			11
378c2ecf20Sopenharmony_ci#define SLAVE_ANOC_PCIE_GEM_NOC		12
388c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_A2NOC		13
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci#define MASTER_NPU			0
418c2ecf20Sopenharmony_ci#define SLAVE_CDSP_MEM_NOC		1
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci#define SNOC_CNOC_MAS			0
448c2ecf20Sopenharmony_ci#define MASTER_QDSS_DAP			1
458c2ecf20Sopenharmony_ci#define SLAVE_A1NOC_CFG			2
468c2ecf20Sopenharmony_ci#define SLAVE_A2NOC_CFG			3
478c2ecf20Sopenharmony_ci#define SLAVE_AHB2PHY_SOUTH		4
488c2ecf20Sopenharmony_ci#define SLAVE_AHB2PHY_NORTH		5
498c2ecf20Sopenharmony_ci#define SLAVE_AOSS			6
508c2ecf20Sopenharmony_ci#define SLAVE_CAMERA_CFG		7
518c2ecf20Sopenharmony_ci#define SLAVE_CLK_CTL			8
528c2ecf20Sopenharmony_ci#define SLAVE_CDSP_CFG			9
538c2ecf20Sopenharmony_ci#define SLAVE_RBCPR_CX_CFG		10
548c2ecf20Sopenharmony_ci#define SLAVE_RBCPR_MMCX_CFG		11
558c2ecf20Sopenharmony_ci#define SLAVE_RBCPR_MX_CFG		12
568c2ecf20Sopenharmony_ci#define SLAVE_CRYPTO_0_CFG		13
578c2ecf20Sopenharmony_ci#define SLAVE_CX_RDPM			14
588c2ecf20Sopenharmony_ci#define SLAVE_DCC_CFG			15
598c2ecf20Sopenharmony_ci#define SLAVE_CNOC_DDRSS		16
608c2ecf20Sopenharmony_ci#define SLAVE_DISPLAY_CFG		17
618c2ecf20Sopenharmony_ci#define SLAVE_GRAPHICS_3D_CFG		18
628c2ecf20Sopenharmony_ci#define SLAVE_IMEM_CFG			19
638c2ecf20Sopenharmony_ci#define SLAVE_IPA_CFG			20
648c2ecf20Sopenharmony_ci#define SLAVE_IPC_ROUTER_CFG		21
658c2ecf20Sopenharmony_ci#define SLAVE_LPASS			22
668c2ecf20Sopenharmony_ci#define SLAVE_CNOC_MNOC_CFG		23
678c2ecf20Sopenharmony_ci#define SLAVE_NPU_CFG			24
688c2ecf20Sopenharmony_ci#define SLAVE_PCIE_0_CFG		25
698c2ecf20Sopenharmony_ci#define SLAVE_PCIE_1_CFG		26
708c2ecf20Sopenharmony_ci#define SLAVE_PCIE_2_CFG		27
718c2ecf20Sopenharmony_ci#define SLAVE_PDM			28
728c2ecf20Sopenharmony_ci#define SLAVE_PIMEM_CFG			29
738c2ecf20Sopenharmony_ci#define SLAVE_PRNG			30
748c2ecf20Sopenharmony_ci#define SLAVE_QDSS_CFG			31
758c2ecf20Sopenharmony_ci#define SLAVE_QSPI_0			32
768c2ecf20Sopenharmony_ci#define SLAVE_QUP_0			33
778c2ecf20Sopenharmony_ci#define SLAVE_QUP_1			34
788c2ecf20Sopenharmony_ci#define SLAVE_QUP_2			35
798c2ecf20Sopenharmony_ci#define SLAVE_SDCC_2			36
808c2ecf20Sopenharmony_ci#define SLAVE_SDCC_4			37
818c2ecf20Sopenharmony_ci#define SLAVE_SNOC_CFG			38
828c2ecf20Sopenharmony_ci#define SLAVE_TCSR			39
838c2ecf20Sopenharmony_ci#define SLAVE_TLMM_NORTH		40
848c2ecf20Sopenharmony_ci#define SLAVE_TLMM_SOUTH		41
858c2ecf20Sopenharmony_ci#define SLAVE_TLMM_WEST			42
868c2ecf20Sopenharmony_ci#define SLAVE_TSIF			43
878c2ecf20Sopenharmony_ci#define SLAVE_UFS_CARD_CFG		44
888c2ecf20Sopenharmony_ci#define SLAVE_UFS_MEM_CFG		45
898c2ecf20Sopenharmony_ci#define SLAVE_USB3			46
908c2ecf20Sopenharmony_ci#define SLAVE_USB3_1			47
918c2ecf20Sopenharmony_ci#define SLAVE_VENUS_CFG			48
928c2ecf20Sopenharmony_ci#define SLAVE_VSENSE_CTRL_CFG		49
938c2ecf20Sopenharmony_ci#define SLAVE_CNOC_A2NOC		50
948c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_CNOC		51
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci#define MASTER_CNOC_DC_NOC		0
978c2ecf20Sopenharmony_ci#define SLAVE_LLCC_CFG			1
988c2ecf20Sopenharmony_ci#define SLAVE_GEM_NOC_CFG		2
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ci#define MASTER_GPU_TCU			0
1018c2ecf20Sopenharmony_ci#define MASTER_SYS_TCU			1
1028c2ecf20Sopenharmony_ci#define MASTER_AMPSS_M0			2
1038c2ecf20Sopenharmony_ci#define MASTER_GEM_NOC_CFG		3
1048c2ecf20Sopenharmony_ci#define MASTER_COMPUTE_NOC		4
1058c2ecf20Sopenharmony_ci#define MASTER_GRAPHICS_3D		5
1068c2ecf20Sopenharmony_ci#define MASTER_MNOC_HF_MEM_NOC		6
1078c2ecf20Sopenharmony_ci#define MASTER_MNOC_SF_MEM_NOC		7
1088c2ecf20Sopenharmony_ci#define MASTER_ANOC_PCIE_GEM_NOC	8
1098c2ecf20Sopenharmony_ci#define MASTER_SNOC_GC_MEM_NOC		9
1108c2ecf20Sopenharmony_ci#define MASTER_SNOC_SF_MEM_NOC		10
1118c2ecf20Sopenharmony_ci#define SLAVE_GEM_NOC_SNOC		11
1128c2ecf20Sopenharmony_ci#define SLAVE_LLCC			12
1138c2ecf20Sopenharmony_ci#define SLAVE_MEM_NOC_PCIE_SNOC		13
1148c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC_1		14
1158c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC_2		15
1168c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC		16
1178c2ecf20Sopenharmony_ci
1188c2ecf20Sopenharmony_ci#define MASTER_IPA_CORE			0
1198c2ecf20Sopenharmony_ci#define SLAVE_IPA_CORE			1
1208c2ecf20Sopenharmony_ci
1218c2ecf20Sopenharmony_ci#define MASTER_LLCC			0
1228c2ecf20Sopenharmony_ci#define SLAVE_EBI_CH0			1
1238c2ecf20Sopenharmony_ci
1248c2ecf20Sopenharmony_ci#define MASTER_CNOC_MNOC_CFG		0
1258c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF		1
1268c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_ICP		2
1278c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_SF		3
1288c2ecf20Sopenharmony_ci#define MASTER_VIDEO_P0			4
1298c2ecf20Sopenharmony_ci#define MASTER_VIDEO_P1			5
1308c2ecf20Sopenharmony_ci#define MASTER_VIDEO_PROC		6
1318c2ecf20Sopenharmony_ci#define MASTER_MDP_PORT0		7
1328c2ecf20Sopenharmony_ci#define MASTER_MDP_PORT1		8
1338c2ecf20Sopenharmony_ci#define MASTER_ROTATOR			9
1348c2ecf20Sopenharmony_ci#define SLAVE_MNOC_HF_MEM_NOC		10
1358c2ecf20Sopenharmony_ci#define SLAVE_MNOC_SF_MEM_NOC		11
1368c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_MNOC		12
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ci#define MASTER_NPU_SYS			0
1398c2ecf20Sopenharmony_ci#define MASTER_NPU_CDP			1
1408c2ecf20Sopenharmony_ci#define MASTER_NPU_NOC_CFG		2
1418c2ecf20Sopenharmony_ci#define SLAVE_NPU_CAL_DP0		3
1428c2ecf20Sopenharmony_ci#define SLAVE_NPU_CAL_DP1		4
1438c2ecf20Sopenharmony_ci#define SLAVE_NPU_CP			5
1448c2ecf20Sopenharmony_ci#define SLAVE_NPU_INT_DMA_BWMON_CFG	6
1458c2ecf20Sopenharmony_ci#define SLAVE_NPU_DPM			7
1468c2ecf20Sopenharmony_ci#define SLAVE_ISENSE_CFG		8
1478c2ecf20Sopenharmony_ci#define SLAVE_NPU_LLM_CFG		9
1488c2ecf20Sopenharmony_ci#define SLAVE_NPU_TCM			10
1498c2ecf20Sopenharmony_ci#define SLAVE_NPU_COMPUTE_NOC		11
1508c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_NPU_NOC		12
1518c2ecf20Sopenharmony_ci
1528c2ecf20Sopenharmony_ci#define MASTER_SNOC_CFG			0
1538c2ecf20Sopenharmony_ci#define A1NOC_SNOC_MAS			1
1548c2ecf20Sopenharmony_ci#define A2NOC_SNOC_MAS			2
1558c2ecf20Sopenharmony_ci#define MASTER_GEM_NOC_SNOC		3
1568c2ecf20Sopenharmony_ci#define MASTER_GEM_NOC_PCIE_SNOC	4
1578c2ecf20Sopenharmony_ci#define MASTER_PIMEM			5
1588c2ecf20Sopenharmony_ci#define MASTER_GIC			6
1598c2ecf20Sopenharmony_ci#define SLAVE_APPSS			7
1608c2ecf20Sopenharmony_ci#define SNOC_CNOC_SLV			8
1618c2ecf20Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_GC		9
1628c2ecf20Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_SF		10
1638c2ecf20Sopenharmony_ci#define SLAVE_OCIMEM			11
1648c2ecf20Sopenharmony_ci#define SLAVE_PIMEM			12
1658c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_SNOC		13
1668c2ecf20Sopenharmony_ci#define SLAVE_PCIE_0			14
1678c2ecf20Sopenharmony_ci#define SLAVE_PCIE_1			15
1688c2ecf20Sopenharmony_ci#define SLAVE_PCIE_2			16
1698c2ecf20Sopenharmony_ci#define SLAVE_QDSS_STM			17
1708c2ecf20Sopenharmony_ci#define SLAVE_TCU			18
1718c2ecf20Sopenharmony_ci
1728c2ecf20Sopenharmony_ci#endif
173