18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Qualcomm SM8150 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_SM8150_H
98c2ecf20Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_SM8150_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define MASTER_A1NOC_CFG		0
128c2ecf20Sopenharmony_ci#define MASTER_QUP_0			1
138c2ecf20Sopenharmony_ci#define MASTER_EMAC			2
148c2ecf20Sopenharmony_ci#define MASTER_UFS_MEM			3
158c2ecf20Sopenharmony_ci#define MASTER_USB3			4
168c2ecf20Sopenharmony_ci#define MASTER_USB3_1			5
178c2ecf20Sopenharmony_ci#define A1NOC_SNOC_SLV			6
188c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_A1NOC		7
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#define MASTER_A2NOC_CFG		0
218c2ecf20Sopenharmony_ci#define MASTER_QDSS_BAM			1
228c2ecf20Sopenharmony_ci#define MASTER_QSPI			2
238c2ecf20Sopenharmony_ci#define MASTER_QUP_1			3
248c2ecf20Sopenharmony_ci#define MASTER_QUP_2			4
258c2ecf20Sopenharmony_ci#define MASTER_SENSORS_AHB		5
268c2ecf20Sopenharmony_ci#define MASTER_TSIF			6
278c2ecf20Sopenharmony_ci#define MASTER_CNOC_A2NOC		7
288c2ecf20Sopenharmony_ci#define MASTER_CRYPTO_CORE_0		8
298c2ecf20Sopenharmony_ci#define MASTER_IPA			9
308c2ecf20Sopenharmony_ci#define MASTER_PCIE			10
318c2ecf20Sopenharmony_ci#define MASTER_PCIE_1			11
328c2ecf20Sopenharmony_ci#define MASTER_QDSS_ETR			12
338c2ecf20Sopenharmony_ci#define MASTER_SDCC_2			13
348c2ecf20Sopenharmony_ci#define MASTER_SDCC_4			14
358c2ecf20Sopenharmony_ci#define A2NOC_SNOC_SLV			15
368c2ecf20Sopenharmony_ci#define SLAVE_ANOC_PCIE_GEM_NOC		16
378c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_A2NOC		17
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF0_UNCOMP	0
408c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF1_UNCOMP	1
418c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_SF_UNCOMP		2
428c2ecf20Sopenharmony_ci#define SLAVE_CAMNOC_UNCOMP		3
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci#define MASTER_NPU			0
458c2ecf20Sopenharmony_ci#define SLAVE_CDSP_MEM_NOC		1
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci#define MASTER_SPDM			0
488c2ecf20Sopenharmony_ci#define SNOC_CNOC_MAS			1
498c2ecf20Sopenharmony_ci#define MASTER_QDSS_DAP			2
508c2ecf20Sopenharmony_ci#define SLAVE_A1NOC_CFG			3
518c2ecf20Sopenharmony_ci#define SLAVE_A2NOC_CFG			4
528c2ecf20Sopenharmony_ci#define SLAVE_AHB2PHY_SOUTH		5
538c2ecf20Sopenharmony_ci#define SLAVE_AOP			6
548c2ecf20Sopenharmony_ci#define SLAVE_AOSS			7
558c2ecf20Sopenharmony_ci#define SLAVE_CAMERA_CFG		8
568c2ecf20Sopenharmony_ci#define SLAVE_CLK_CTL			9
578c2ecf20Sopenharmony_ci#define SLAVE_CDSP_CFG			10
588c2ecf20Sopenharmony_ci#define SLAVE_RBCPR_CX_CFG		11
598c2ecf20Sopenharmony_ci#define SLAVE_RBCPR_MMCX_CFG		12
608c2ecf20Sopenharmony_ci#define SLAVE_RBCPR_MX_CFG		13
618c2ecf20Sopenharmony_ci#define SLAVE_CRYPTO_0_CFG		14
628c2ecf20Sopenharmony_ci#define SLAVE_CNOC_DDRSS		15
638c2ecf20Sopenharmony_ci#define SLAVE_DISPLAY_CFG		16
648c2ecf20Sopenharmony_ci#define SLAVE_EMAC_CFG			17
658c2ecf20Sopenharmony_ci#define SLAVE_GLM			18
668c2ecf20Sopenharmony_ci#define SLAVE_GRAPHICS_3D_CFG		19
678c2ecf20Sopenharmony_ci#define SLAVE_IMEM_CFG			20
688c2ecf20Sopenharmony_ci#define SLAVE_IPA_CFG			21
698c2ecf20Sopenharmony_ci#define SLAVE_CNOC_MNOC_CFG		22
708c2ecf20Sopenharmony_ci#define SLAVE_NPU_CFG			23
718c2ecf20Sopenharmony_ci#define SLAVE_PCIE_0_CFG		24
728c2ecf20Sopenharmony_ci#define SLAVE_PCIE_1_CFG		25
738c2ecf20Sopenharmony_ci#define SLAVE_NORTH_PHY_CFG		26
748c2ecf20Sopenharmony_ci#define SLAVE_PIMEM_CFG			27
758c2ecf20Sopenharmony_ci#define SLAVE_PRNG			28
768c2ecf20Sopenharmony_ci#define SLAVE_QDSS_CFG			29
778c2ecf20Sopenharmony_ci#define SLAVE_QSPI			30
788c2ecf20Sopenharmony_ci#define SLAVE_QUP_2			31
798c2ecf20Sopenharmony_ci#define SLAVE_QUP_1			32
808c2ecf20Sopenharmony_ci#define SLAVE_QUP_0			33
818c2ecf20Sopenharmony_ci#define SLAVE_SDCC_2			34
828c2ecf20Sopenharmony_ci#define SLAVE_SDCC_4			35
838c2ecf20Sopenharmony_ci#define SLAVE_SNOC_CFG			36
848c2ecf20Sopenharmony_ci#define SLAVE_SPDM_WRAPPER		37
858c2ecf20Sopenharmony_ci#define SLAVE_SPSS_CFG			38
868c2ecf20Sopenharmony_ci#define SLAVE_SSC_CFG			39
878c2ecf20Sopenharmony_ci#define SLAVE_TCSR			40
888c2ecf20Sopenharmony_ci#define SLAVE_TLMM_EAST			41
898c2ecf20Sopenharmony_ci#define SLAVE_TLMM_NORTH		42
908c2ecf20Sopenharmony_ci#define SLAVE_TLMM_SOUTH		43
918c2ecf20Sopenharmony_ci#define SLAVE_TLMM_WEST			44
928c2ecf20Sopenharmony_ci#define SLAVE_TSIF			45
938c2ecf20Sopenharmony_ci#define SLAVE_UFS_CARD_CFG		46
948c2ecf20Sopenharmony_ci#define SLAVE_UFS_MEM_CFG		47
958c2ecf20Sopenharmony_ci#define SLAVE_USB3			48
968c2ecf20Sopenharmony_ci#define SLAVE_USB3_1			49
978c2ecf20Sopenharmony_ci#define SLAVE_VENUS_CFG			50
988c2ecf20Sopenharmony_ci#define SLAVE_VSENSE_CTRL_CFG		51
998c2ecf20Sopenharmony_ci#define SLAVE_CNOC_A2NOC		52
1008c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_CNOC		53
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ci#define MASTER_CNOC_DC_NOC		0
1038c2ecf20Sopenharmony_ci#define SLAVE_LLCC_CFG			1
1048c2ecf20Sopenharmony_ci#define SLAVE_GEM_NOC_CFG		2
1058c2ecf20Sopenharmony_ci
1068c2ecf20Sopenharmony_ci#define MASTER_AMPSS_M0			0
1078c2ecf20Sopenharmony_ci#define MASTER_GPU_TCU			1
1088c2ecf20Sopenharmony_ci#define MASTER_SYS_TCU			2
1098c2ecf20Sopenharmony_ci#define MASTER_GEM_NOC_CFG		3
1108c2ecf20Sopenharmony_ci#define MASTER_COMPUTE_NOC		4
1118c2ecf20Sopenharmony_ci#define MASTER_GRAPHICS_3D		5
1128c2ecf20Sopenharmony_ci#define MASTER_MNOC_HF_MEM_NOC		6
1138c2ecf20Sopenharmony_ci#define MASTER_MNOC_SF_MEM_NOC		7
1148c2ecf20Sopenharmony_ci#define MASTER_GEM_NOC_PCIE_SNOC	8
1158c2ecf20Sopenharmony_ci#define MASTER_SNOC_GC_MEM_NOC		9
1168c2ecf20Sopenharmony_ci#define MASTER_SNOC_SF_MEM_NOC		10
1178c2ecf20Sopenharmony_ci#define MASTER_ECC			11
1188c2ecf20Sopenharmony_ci#define SLAVE_MSS_PROC_MS_MPU_CFG	12
1198c2ecf20Sopenharmony_ci#define SLAVE_ECC			13
1208c2ecf20Sopenharmony_ci#define SLAVE_GEM_NOC_SNOC		14
1218c2ecf20Sopenharmony_ci#define SLAVE_LLCC			15
1228c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC		16
1238c2ecf20Sopenharmony_ci
1248c2ecf20Sopenharmony_ci#define MASTER_IPA_CORE			0
1258c2ecf20Sopenharmony_ci#define SLAVE_IPA_CORE			1
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ci#define MASTER_LLCC			0
1288c2ecf20Sopenharmony_ci#define SLAVE_EBI_CH0			1
1298c2ecf20Sopenharmony_ci
1308c2ecf20Sopenharmony_ci#define MASTER_CNOC_MNOC_CFG		0
1318c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF0		1
1328c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF1		2
1338c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_SF		3
1348c2ecf20Sopenharmony_ci#define MASTER_MDP_PORT0		4
1358c2ecf20Sopenharmony_ci#define MASTER_MDP_PORT1		5
1368c2ecf20Sopenharmony_ci#define MASTER_ROTATOR			6
1378c2ecf20Sopenharmony_ci#define MASTER_VIDEO_P0			7
1388c2ecf20Sopenharmony_ci#define MASTER_VIDEO_P1			8
1398c2ecf20Sopenharmony_ci#define MASTER_VIDEO_PROC		9
1408c2ecf20Sopenharmony_ci#define SLAVE_MNOC_SF_MEM_NOC		10
1418c2ecf20Sopenharmony_ci#define SLAVE_MNOC_HF_MEM_NOC		11
1428c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_MNOC		12
1438c2ecf20Sopenharmony_ci
1448c2ecf20Sopenharmony_ci#define MASTER_SNOC_CFG			0
1458c2ecf20Sopenharmony_ci#define A1NOC_SNOC_MAS			1
1468c2ecf20Sopenharmony_ci#define A2NOC_SNOC_MAS			2
1478c2ecf20Sopenharmony_ci#define MASTER_GEM_NOC_SNOC		3
1488c2ecf20Sopenharmony_ci#define MASTER_PIMEM			4
1498c2ecf20Sopenharmony_ci#define MASTER_GIC			5
1508c2ecf20Sopenharmony_ci#define SLAVE_APPSS			6
1518c2ecf20Sopenharmony_ci#define SNOC_CNOC_SLV			7
1528c2ecf20Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_GC		8
1538c2ecf20Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_SF		9
1548c2ecf20Sopenharmony_ci#define SLAVE_OCIMEM			10
1558c2ecf20Sopenharmony_ci#define SLAVE_PIMEM			11
1568c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_SNOC		12
1578c2ecf20Sopenharmony_ci#define SLAVE_PCIE_0			13
1588c2ecf20Sopenharmony_ci#define SLAVE_PCIE_1			14
1598c2ecf20Sopenharmony_ci#define SLAVE_QDSS_STM			15
1608c2ecf20Sopenharmony_ci#define SLAVE_TCU			16
1618c2ecf20Sopenharmony_ci
1628c2ecf20Sopenharmony_ci#endif
163