18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Qualcomm SC7180 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_SC7180_H
98c2ecf20Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_SC7180_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define MASTER_A1NOC_CFG			0
128c2ecf20Sopenharmony_ci#define MASTER_QSPI			1
138c2ecf20Sopenharmony_ci#define MASTER_QUP_0			2
148c2ecf20Sopenharmony_ci#define MASTER_SDCC_2			3
158c2ecf20Sopenharmony_ci#define MASTER_EMMC			4
168c2ecf20Sopenharmony_ci#define MASTER_UFS_MEM			5
178c2ecf20Sopenharmony_ci#define SLAVE_A1NOC_SNOC			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_QUP_1			2
238c2ecf20Sopenharmony_ci#define MASTER_USB3			3
248c2ecf20Sopenharmony_ci#define MASTER_CRYPTO			4
258c2ecf20Sopenharmony_ci#define MASTER_IPA			5
268c2ecf20Sopenharmony_ci#define MASTER_QDSS_ETR			6
278c2ecf20Sopenharmony_ci#define SLAVE_A2NOC_SNOC			7
288c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_A2NOC			8
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF0_UNCOMP			0
318c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF1_UNCOMP			1
328c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_SF_UNCOMP			2
338c2ecf20Sopenharmony_ci#define SLAVE_CAMNOC_UNCOMP			3
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci#define MASTER_NPU			0
368c2ecf20Sopenharmony_ci#define MASTER_NPU_PROC			1
378c2ecf20Sopenharmony_ci#define SLAVE_CDSP_GEM_NOC			2
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci#define MASTER_SNOC_CNOC			0
408c2ecf20Sopenharmony_ci#define MASTER_QDSS_DAP			1
418c2ecf20Sopenharmony_ci#define SLAVE_A1NOC_CFG			2
428c2ecf20Sopenharmony_ci#define SLAVE_A2NOC_CFG			3
438c2ecf20Sopenharmony_ci#define SLAVE_AHB2PHY_SOUTH			4
448c2ecf20Sopenharmony_ci#define SLAVE_AHB2PHY_CENTER			5
458c2ecf20Sopenharmony_ci#define SLAVE_AOP			6
468c2ecf20Sopenharmony_ci#define SLAVE_AOSS			7
478c2ecf20Sopenharmony_ci#define SLAVE_BOOT_ROM			8
488c2ecf20Sopenharmony_ci#define SLAVE_CAMERA_CFG				9
498c2ecf20Sopenharmony_ci#define SLAVE_CAMERA_NRT_THROTTLE_CFG			10
508c2ecf20Sopenharmony_ci#define SLAVE_CAMERA_RT_THROTTLE_CFG			11
518c2ecf20Sopenharmony_ci#define SLAVE_CLK_CTL			12
528c2ecf20Sopenharmony_ci#define SLAVE_RBCPR_CX_CFG			13
538c2ecf20Sopenharmony_ci#define SLAVE_RBCPR_MX_CFG			14
548c2ecf20Sopenharmony_ci#define SLAVE_CRYPTO_0_CFG			15
558c2ecf20Sopenharmony_ci#define SLAVE_DCC_CFG			16
568c2ecf20Sopenharmony_ci#define SLAVE_CNOC_DDRSS			17
578c2ecf20Sopenharmony_ci#define SLAVE_DISPLAY_CFG			18
588c2ecf20Sopenharmony_ci#define SLAVE_DISPLAY_RT_THROTTLE_CFG			19
598c2ecf20Sopenharmony_ci#define SLAVE_DISPLAY_THROTTLE_CFG			20
608c2ecf20Sopenharmony_ci#define SLAVE_EMMC_CFG			21
618c2ecf20Sopenharmony_ci#define SLAVE_GLM					22
628c2ecf20Sopenharmony_ci#define SLAVE_GFX3D_CFG			23
638c2ecf20Sopenharmony_ci#define SLAVE_IMEM_CFG			24
648c2ecf20Sopenharmony_ci#define SLAVE_IPA_CFG			25
658c2ecf20Sopenharmony_ci#define SLAVE_CNOC_MNOC_CFG			26
668c2ecf20Sopenharmony_ci#define SLAVE_CNOC_MSS			27
678c2ecf20Sopenharmony_ci#define SLAVE_NPU_CFG			28
688c2ecf20Sopenharmony_ci#define SLAVE_NPU_DMA_BWMON_CFG			29
698c2ecf20Sopenharmony_ci#define SLAVE_NPU_PROC_BWMON_CFG			30
708c2ecf20Sopenharmony_ci#define SLAVE_PDM			31
718c2ecf20Sopenharmony_ci#define SLAVE_PIMEM_CFG			32
728c2ecf20Sopenharmony_ci#define SLAVE_PRNG			33
738c2ecf20Sopenharmony_ci#define SLAVE_QDSS_CFG			34
748c2ecf20Sopenharmony_ci#define SLAVE_QM_CFG			35
758c2ecf20Sopenharmony_ci#define SLAVE_QM_MPU_CFG			36
768c2ecf20Sopenharmony_ci#define SLAVE_QSPI_0			37
778c2ecf20Sopenharmony_ci#define SLAVE_QUP_0			38
788c2ecf20Sopenharmony_ci#define SLAVE_QUP_1			39
798c2ecf20Sopenharmony_ci#define SLAVE_SDCC_2			40
808c2ecf20Sopenharmony_ci#define SLAVE_SECURITY			41
818c2ecf20Sopenharmony_ci#define SLAVE_SNOC_CFG			42
828c2ecf20Sopenharmony_ci#define SLAVE_TCSR			43
838c2ecf20Sopenharmony_ci#define SLAVE_TLMM_WEST			44
848c2ecf20Sopenharmony_ci#define SLAVE_TLMM_NORTH			45
858c2ecf20Sopenharmony_ci#define SLAVE_TLMM_SOUTH			46
868c2ecf20Sopenharmony_ci#define SLAVE_UFS_MEM_CFG			47
878c2ecf20Sopenharmony_ci#define SLAVE_USB3			48
888c2ecf20Sopenharmony_ci#define SLAVE_VENUS_CFG			49
898c2ecf20Sopenharmony_ci#define SLAVE_VENUS_THROTTLE_CFG			50
908c2ecf20Sopenharmony_ci#define SLAVE_VSENSE_CTRL_CFG			51
918c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_CNOC			52
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ci#define MASTER_CNOC_DC_NOC			0
948c2ecf20Sopenharmony_ci#define SLAVE_GEM_NOC_CFG			1
958c2ecf20Sopenharmony_ci#define SLAVE_LLCC_CFG			2
968c2ecf20Sopenharmony_ci
978c2ecf20Sopenharmony_ci#define MASTER_APPSS_PROC		0
988c2ecf20Sopenharmony_ci#define MASTER_SYS_TCU			1
998c2ecf20Sopenharmony_ci#define MASTER_GEM_NOC_CFG			2
1008c2ecf20Sopenharmony_ci#define MASTER_COMPUTE_NOC			3
1018c2ecf20Sopenharmony_ci#define MASTER_MNOC_HF_MEM_NOC			4
1028c2ecf20Sopenharmony_ci#define MASTER_MNOC_SF_MEM_NOC			5
1038c2ecf20Sopenharmony_ci#define MASTER_SNOC_GC_MEM_NOC			6
1048c2ecf20Sopenharmony_ci#define MASTER_SNOC_SF_MEM_NOC			7
1058c2ecf20Sopenharmony_ci#define MASTER_GFX3D			8
1068c2ecf20Sopenharmony_ci#define SLAVE_MSS_PROC_MS_MPU_CFG			9
1078c2ecf20Sopenharmony_ci#define SLAVE_GEM_NOC_SNOC			10
1088c2ecf20Sopenharmony_ci#define SLAVE_LLCC			11
1098c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC			12
1108c2ecf20Sopenharmony_ci
1118c2ecf20Sopenharmony_ci#define MASTER_IPA_CORE			0
1128c2ecf20Sopenharmony_ci#define SLAVE_IPA_CORE			1
1138c2ecf20Sopenharmony_ci
1148c2ecf20Sopenharmony_ci#define MASTER_LLCC			0
1158c2ecf20Sopenharmony_ci#define SLAVE_EBI1			1
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ci#define MASTER_CNOC_MNOC_CFG			0
1188c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF0			1
1198c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF1			2
1208c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_SF			3
1218c2ecf20Sopenharmony_ci#define MASTER_MDP0			4
1228c2ecf20Sopenharmony_ci#define MASTER_ROTATOR			5
1238c2ecf20Sopenharmony_ci#define MASTER_VIDEO_P0			6
1248c2ecf20Sopenharmony_ci#define MASTER_VIDEO_PROC			7
1258c2ecf20Sopenharmony_ci#define SLAVE_MNOC_HF_MEM_NOC			8
1268c2ecf20Sopenharmony_ci#define SLAVE_MNOC_SF_MEM_NOC			9
1278c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_MNOC			10
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_ci#define MASTER_NPU_SYS			0
1308c2ecf20Sopenharmony_ci#define MASTER_NPU_NOC_CFG			1
1318c2ecf20Sopenharmony_ci#define SLAVE_NPU_CAL_DP0			2
1328c2ecf20Sopenharmony_ci#define SLAVE_NPU_CP			3
1338c2ecf20Sopenharmony_ci#define SLAVE_NPU_INT_DMA_BWMON_CFG			4
1348c2ecf20Sopenharmony_ci#define SLAVE_NPU_DPM			5
1358c2ecf20Sopenharmony_ci#define SLAVE_ISENSE_CFG			6
1368c2ecf20Sopenharmony_ci#define SLAVE_NPU_LLM_CFG			7
1378c2ecf20Sopenharmony_ci#define SLAVE_NPU_TCM			8
1388c2ecf20Sopenharmony_ci#define SLAVE_NPU_COMPUTE_NOC			9
1398c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_NPU_NOC			10
1408c2ecf20Sopenharmony_ci
1418c2ecf20Sopenharmony_ci#define MASTER_QUP_CORE_0			0
1428c2ecf20Sopenharmony_ci#define MASTER_QUP_CORE_1			1
1438c2ecf20Sopenharmony_ci#define SLAVE_QUP_CORE_0			2
1448c2ecf20Sopenharmony_ci#define SLAVE_QUP_CORE_1			3
1458c2ecf20Sopenharmony_ci
1468c2ecf20Sopenharmony_ci#define MASTER_SNOC_CFG			0
1478c2ecf20Sopenharmony_ci#define MASTER_A1NOC_SNOC			1
1488c2ecf20Sopenharmony_ci#define MASTER_A2NOC_SNOC			2
1498c2ecf20Sopenharmony_ci#define MASTER_GEM_NOC_SNOC			3
1508c2ecf20Sopenharmony_ci#define MASTER_PIMEM			4
1518c2ecf20Sopenharmony_ci#define SLAVE_APPSS			5
1528c2ecf20Sopenharmony_ci#define SLAVE_SNOC_CNOC			6
1538c2ecf20Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_GC			7
1548c2ecf20Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_SF			8
1558c2ecf20Sopenharmony_ci#define SLAVE_IMEM			9
1568c2ecf20Sopenharmony_ci#define SLAVE_PIMEM			10
1578c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_SNOC			11
1588c2ecf20Sopenharmony_ci#define SLAVE_QDSS_STM			12
1598c2ecf20Sopenharmony_ci#define SLAVE_TCU			13
1608c2ecf20Sopenharmony_ci
1618c2ecf20Sopenharmony_ci#endif
162