18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Qualcomm SDM845 interconnect IDs
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (c) 2018, Linaro Ltd.
68c2ecf20Sopenharmony_ci * Author: Georgi Djakov <georgi.djakov@linaro.org>
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SDM845_H
108c2ecf20Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_SDM845_H
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#define MASTER_A1NOC_CFG		0
138c2ecf20Sopenharmony_ci#define MASTER_TSIF			1
148c2ecf20Sopenharmony_ci#define MASTER_SDCC_2			2
158c2ecf20Sopenharmony_ci#define MASTER_SDCC_4			3
168c2ecf20Sopenharmony_ci#define MASTER_UFS_CARD			4
178c2ecf20Sopenharmony_ci#define MASTER_UFS_MEM			5
188c2ecf20Sopenharmony_ci#define MASTER_PCIE_0			6
198c2ecf20Sopenharmony_ci#define SLAVE_A1NOC_SNOC		7
208c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_A1NOC		8
218c2ecf20Sopenharmony_ci#define SLAVE_ANOC_PCIE_A1NOC_SNOC	9
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#define MASTER_A2NOC_CFG		0
248c2ecf20Sopenharmony_ci#define MASTER_QDSS_BAM			1
258c2ecf20Sopenharmony_ci#define MASTER_CNOC_A2NOC		2
268c2ecf20Sopenharmony_ci#define MASTER_CRYPTO			3
278c2ecf20Sopenharmony_ci#define MASTER_IPA			4
288c2ecf20Sopenharmony_ci#define MASTER_PCIE_1			5
298c2ecf20Sopenharmony_ci#define MASTER_QDSS_ETR			6
308c2ecf20Sopenharmony_ci#define MASTER_USB3_0			7
318c2ecf20Sopenharmony_ci#define MASTER_USB3_1			8
328c2ecf20Sopenharmony_ci#define SLAVE_A2NOC_SNOC		9
338c2ecf20Sopenharmony_ci#define SLAVE_ANOC_PCIE_SNOC		10
348c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_A2NOC		11
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci#define MASTER_SPDM			0
378c2ecf20Sopenharmony_ci#define MASTER_TIC			1
388c2ecf20Sopenharmony_ci#define MASTER_SNOC_CNOC		2
398c2ecf20Sopenharmony_ci#define MASTER_QDSS_DAP			3
408c2ecf20Sopenharmony_ci#define SLAVE_A1NOC_CFG			4
418c2ecf20Sopenharmony_ci#define SLAVE_A2NOC_CFG			5
428c2ecf20Sopenharmony_ci#define SLAVE_AOP			6
438c2ecf20Sopenharmony_ci#define SLAVE_AOSS			7
448c2ecf20Sopenharmony_ci#define SLAVE_CAMERA_CFG		8
458c2ecf20Sopenharmony_ci#define SLAVE_CLK_CTL			9
468c2ecf20Sopenharmony_ci#define SLAVE_CDSP_CFG			10
478c2ecf20Sopenharmony_ci#define SLAVE_RBCPR_CX_CFG		11
488c2ecf20Sopenharmony_ci#define SLAVE_CRYPTO_0_CFG		12
498c2ecf20Sopenharmony_ci#define SLAVE_DCC_CFG			13
508c2ecf20Sopenharmony_ci#define SLAVE_CNOC_DDRSS		14
518c2ecf20Sopenharmony_ci#define SLAVE_DISPLAY_CFG		15
528c2ecf20Sopenharmony_ci#define SLAVE_GLM			16
538c2ecf20Sopenharmony_ci#define SLAVE_GFX3D_CFG			17
548c2ecf20Sopenharmony_ci#define SLAVE_IMEM_CFG			18
558c2ecf20Sopenharmony_ci#define SLAVE_IPA_CFG			19
568c2ecf20Sopenharmony_ci#define SLAVE_CNOC_MNOC_CFG		20
578c2ecf20Sopenharmony_ci#define SLAVE_PCIE_0_CFG		21
588c2ecf20Sopenharmony_ci#define SLAVE_PCIE_1_CFG		22
598c2ecf20Sopenharmony_ci#define SLAVE_PDM			23
608c2ecf20Sopenharmony_ci#define SLAVE_SOUTH_PHY_CFG		24
618c2ecf20Sopenharmony_ci#define SLAVE_PIMEM_CFG			25
628c2ecf20Sopenharmony_ci#define SLAVE_PRNG			26
638c2ecf20Sopenharmony_ci#define SLAVE_QDSS_CFG			27
648c2ecf20Sopenharmony_ci#define SLAVE_BLSP_2			28
658c2ecf20Sopenharmony_ci#define SLAVE_BLSP_1			29
668c2ecf20Sopenharmony_ci#define SLAVE_SDCC_2			30
678c2ecf20Sopenharmony_ci#define SLAVE_SDCC_4			31
688c2ecf20Sopenharmony_ci#define SLAVE_SNOC_CFG			32
698c2ecf20Sopenharmony_ci#define SLAVE_SPDM_WRAPPER		33
708c2ecf20Sopenharmony_ci#define SLAVE_SPSS_CFG			34
718c2ecf20Sopenharmony_ci#define SLAVE_TCSR			35
728c2ecf20Sopenharmony_ci#define SLAVE_TLMM_NORTH		36
738c2ecf20Sopenharmony_ci#define SLAVE_TLMM_SOUTH		37
748c2ecf20Sopenharmony_ci#define SLAVE_TSIF			38
758c2ecf20Sopenharmony_ci#define SLAVE_UFS_CARD_CFG		39
768c2ecf20Sopenharmony_ci#define SLAVE_UFS_MEM_CFG		40
778c2ecf20Sopenharmony_ci#define SLAVE_USB3_0			41
788c2ecf20Sopenharmony_ci#define SLAVE_USB3_1			42
798c2ecf20Sopenharmony_ci#define SLAVE_VENUS_CFG			43
808c2ecf20Sopenharmony_ci#define SLAVE_VSENSE_CTRL_CFG		44
818c2ecf20Sopenharmony_ci#define SLAVE_CNOC_A2NOC		45
828c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_CNOC		46
838c2ecf20Sopenharmony_ci
848c2ecf20Sopenharmony_ci#define MASTER_CNOC_DC_NOC		0
858c2ecf20Sopenharmony_ci#define SLAVE_LLCC_CFG			1
868c2ecf20Sopenharmony_ci#define SLAVE_MEM_NOC_CFG		2
878c2ecf20Sopenharmony_ci
888c2ecf20Sopenharmony_ci#define MASTER_APPSS_PROC		0
898c2ecf20Sopenharmony_ci#define MASTER_GNOC_CFG			1
908c2ecf20Sopenharmony_ci#define SLAVE_GNOC_SNOC			2
918c2ecf20Sopenharmony_ci#define SLAVE_GNOC_MEM_NOC		3
928c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_GNOC		4
938c2ecf20Sopenharmony_ci
948c2ecf20Sopenharmony_ci#define MASTER_TCU_0			0
958c2ecf20Sopenharmony_ci#define MASTER_MEM_NOC_CFG		1
968c2ecf20Sopenharmony_ci#define MASTER_GNOC_MEM_NOC		2
978c2ecf20Sopenharmony_ci#define MASTER_MNOC_HF_MEM_NOC		3
988c2ecf20Sopenharmony_ci#define MASTER_MNOC_SF_MEM_NOC		4
998c2ecf20Sopenharmony_ci#define MASTER_SNOC_GC_MEM_NOC		5
1008c2ecf20Sopenharmony_ci#define MASTER_SNOC_SF_MEM_NOC		6
1018c2ecf20Sopenharmony_ci#define MASTER_GFX3D			7
1028c2ecf20Sopenharmony_ci#define SLAVE_MSS_PROC_MS_MPU_CFG	8
1038c2ecf20Sopenharmony_ci#define SLAVE_MEM_NOC_GNOC		9
1048c2ecf20Sopenharmony_ci#define SLAVE_LLCC			10
1058c2ecf20Sopenharmony_ci#define SLAVE_MEM_NOC_SNOC		11
1068c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_MEM_NOC		12
1078c2ecf20Sopenharmony_ci#define MASTER_LLCC			13
1088c2ecf20Sopenharmony_ci#define SLAVE_EBI1			14
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_ci#define MASTER_CNOC_MNOC_CFG		0
1118c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF0		1
1128c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF1		2
1138c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_SF		3
1148c2ecf20Sopenharmony_ci#define MASTER_MDP0			4
1158c2ecf20Sopenharmony_ci#define MASTER_MDP1			5
1168c2ecf20Sopenharmony_ci#define MASTER_ROTATOR			6
1178c2ecf20Sopenharmony_ci#define MASTER_VIDEO_P0			7
1188c2ecf20Sopenharmony_ci#define MASTER_VIDEO_P1			8
1198c2ecf20Sopenharmony_ci#define MASTER_VIDEO_PROC		9
1208c2ecf20Sopenharmony_ci#define SLAVE_MNOC_SF_MEM_NOC		10
1218c2ecf20Sopenharmony_ci#define SLAVE_MNOC_HF_MEM_NOC		11
1228c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_MNOC		12
1238c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF0_UNCOMP	13
1248c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_HF1_UNCOMP	14
1258c2ecf20Sopenharmony_ci#define MASTER_CAMNOC_SF_UNCOMP		15
1268c2ecf20Sopenharmony_ci#define SLAVE_CAMNOC_UNCOMP		16
1278c2ecf20Sopenharmony_ci
1288c2ecf20Sopenharmony_ci#define MASTER_SNOC_CFG			0
1298c2ecf20Sopenharmony_ci#define MASTER_A1NOC_SNOC		1
1308c2ecf20Sopenharmony_ci#define MASTER_A2NOC_SNOC		2
1318c2ecf20Sopenharmony_ci#define MASTER_GNOC_SNOC		3
1328c2ecf20Sopenharmony_ci#define MASTER_MEM_NOC_SNOC		4
1338c2ecf20Sopenharmony_ci#define MASTER_ANOC_PCIE_SNOC		5
1348c2ecf20Sopenharmony_ci#define MASTER_PIMEM			6
1358c2ecf20Sopenharmony_ci#define MASTER_GIC			7
1368c2ecf20Sopenharmony_ci#define SLAVE_APPSS			8
1378c2ecf20Sopenharmony_ci#define SLAVE_SNOC_CNOC			9
1388c2ecf20Sopenharmony_ci#define SLAVE_SNOC_MEM_NOC_GC		10
1398c2ecf20Sopenharmony_ci#define SLAVE_SNOC_MEM_NOC_SF		11
1408c2ecf20Sopenharmony_ci#define SLAVE_IMEM			12
1418c2ecf20Sopenharmony_ci#define SLAVE_PCIE_0			13
1428c2ecf20Sopenharmony_ci#define SLAVE_PCIE_1			14
1438c2ecf20Sopenharmony_ci#define SLAVE_PIMEM			15
1448c2ecf20Sopenharmony_ci#define SLAVE_SERVICE_SNOC		16
1458c2ecf20Sopenharmony_ci#define SLAVE_QDSS_STM			17
1468c2ecf20Sopenharmony_ci#define SLAVE_TCU			18
1478c2ecf20Sopenharmony_ci
1488c2ecf20Sopenharmony_ci#endif
149