162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Qualcomm SDM845 interconnect IDs
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (c) 2018, Linaro Ltd.
662306a36Sopenharmony_ci * Author: Georgi Djakov <georgi.djakov@linaro.org>
762306a36Sopenharmony_ci */
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SDM845_H
1062306a36Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_SDM845_H
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#define MASTER_A1NOC_CFG		0
1362306a36Sopenharmony_ci#define MASTER_TSIF			1
1462306a36Sopenharmony_ci#define MASTER_SDCC_2			2
1562306a36Sopenharmony_ci#define MASTER_SDCC_4			3
1662306a36Sopenharmony_ci#define MASTER_UFS_CARD			4
1762306a36Sopenharmony_ci#define MASTER_UFS_MEM			5
1862306a36Sopenharmony_ci#define MASTER_PCIE_0			6
1962306a36Sopenharmony_ci#define SLAVE_A1NOC_SNOC		7
2062306a36Sopenharmony_ci#define SLAVE_SERVICE_A1NOC		8
2162306a36Sopenharmony_ci#define SLAVE_ANOC_PCIE_A1NOC_SNOC	9
2262306a36Sopenharmony_ci#define MASTER_QUP_1			10
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#define MASTER_A2NOC_CFG		0
2562306a36Sopenharmony_ci#define MASTER_QDSS_BAM			1
2662306a36Sopenharmony_ci#define MASTER_CNOC_A2NOC		2
2762306a36Sopenharmony_ci#define MASTER_CRYPTO			3
2862306a36Sopenharmony_ci#define MASTER_IPA			4
2962306a36Sopenharmony_ci#define MASTER_PCIE_1			5
3062306a36Sopenharmony_ci#define MASTER_QDSS_ETR			6
3162306a36Sopenharmony_ci#define MASTER_USB3_0			7
3262306a36Sopenharmony_ci#define MASTER_USB3_1			8
3362306a36Sopenharmony_ci#define SLAVE_A2NOC_SNOC		9
3462306a36Sopenharmony_ci#define SLAVE_ANOC_PCIE_SNOC		10
3562306a36Sopenharmony_ci#define SLAVE_SERVICE_A2NOC		11
3662306a36Sopenharmony_ci#define MASTER_QUP_2			12
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci#define MASTER_SPDM			0
3962306a36Sopenharmony_ci#define MASTER_TIC			1
4062306a36Sopenharmony_ci#define MASTER_SNOC_CNOC		2
4162306a36Sopenharmony_ci#define MASTER_QDSS_DAP			3
4262306a36Sopenharmony_ci#define SLAVE_A1NOC_CFG			4
4362306a36Sopenharmony_ci#define SLAVE_A2NOC_CFG			5
4462306a36Sopenharmony_ci#define SLAVE_AOP			6
4562306a36Sopenharmony_ci#define SLAVE_AOSS			7
4662306a36Sopenharmony_ci#define SLAVE_CAMERA_CFG		8
4762306a36Sopenharmony_ci#define SLAVE_CLK_CTL			9
4862306a36Sopenharmony_ci#define SLAVE_CDSP_CFG			10
4962306a36Sopenharmony_ci#define SLAVE_RBCPR_CX_CFG		11
5062306a36Sopenharmony_ci#define SLAVE_CRYPTO_0_CFG		12
5162306a36Sopenharmony_ci#define SLAVE_DCC_CFG			13
5262306a36Sopenharmony_ci#define SLAVE_CNOC_DDRSS		14
5362306a36Sopenharmony_ci#define SLAVE_DISPLAY_CFG		15
5462306a36Sopenharmony_ci#define SLAVE_GLM			16
5562306a36Sopenharmony_ci#define SLAVE_GFX3D_CFG			17
5662306a36Sopenharmony_ci#define SLAVE_IMEM_CFG			18
5762306a36Sopenharmony_ci#define SLAVE_IPA_CFG			19
5862306a36Sopenharmony_ci#define SLAVE_CNOC_MNOC_CFG		20
5962306a36Sopenharmony_ci#define SLAVE_PCIE_0_CFG		21
6062306a36Sopenharmony_ci#define SLAVE_PCIE_1_CFG		22
6162306a36Sopenharmony_ci#define SLAVE_PDM			23
6262306a36Sopenharmony_ci#define SLAVE_SOUTH_PHY_CFG		24
6362306a36Sopenharmony_ci#define SLAVE_PIMEM_CFG			25
6462306a36Sopenharmony_ci#define SLAVE_PRNG			26
6562306a36Sopenharmony_ci#define SLAVE_QDSS_CFG			27
6662306a36Sopenharmony_ci#define SLAVE_BLSP_2			28
6762306a36Sopenharmony_ci#define SLAVE_BLSP_1			29
6862306a36Sopenharmony_ci#define SLAVE_SDCC_2			30
6962306a36Sopenharmony_ci#define SLAVE_SDCC_4			31
7062306a36Sopenharmony_ci#define SLAVE_SNOC_CFG			32
7162306a36Sopenharmony_ci#define SLAVE_SPDM_WRAPPER		33
7262306a36Sopenharmony_ci#define SLAVE_SPSS_CFG			34
7362306a36Sopenharmony_ci#define SLAVE_TCSR			35
7462306a36Sopenharmony_ci#define SLAVE_TLMM_NORTH		36
7562306a36Sopenharmony_ci#define SLAVE_TLMM_SOUTH		37
7662306a36Sopenharmony_ci#define SLAVE_TSIF			38
7762306a36Sopenharmony_ci#define SLAVE_UFS_CARD_CFG		39
7862306a36Sopenharmony_ci#define SLAVE_UFS_MEM_CFG		40
7962306a36Sopenharmony_ci#define SLAVE_USB3_0			41
8062306a36Sopenharmony_ci#define SLAVE_USB3_1			42
8162306a36Sopenharmony_ci#define SLAVE_VENUS_CFG			43
8262306a36Sopenharmony_ci#define SLAVE_VSENSE_CTRL_CFG		44
8362306a36Sopenharmony_ci#define SLAVE_CNOC_A2NOC		45
8462306a36Sopenharmony_ci#define SLAVE_SERVICE_CNOC		46
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ci#define MASTER_CNOC_DC_NOC		0
8762306a36Sopenharmony_ci#define SLAVE_LLCC_CFG			1
8862306a36Sopenharmony_ci#define SLAVE_MEM_NOC_CFG		2
8962306a36Sopenharmony_ci
9062306a36Sopenharmony_ci#define MASTER_APPSS_PROC		0
9162306a36Sopenharmony_ci#define MASTER_GNOC_CFG			1
9262306a36Sopenharmony_ci#define SLAVE_GNOC_SNOC			2
9362306a36Sopenharmony_ci#define SLAVE_GNOC_MEM_NOC		3
9462306a36Sopenharmony_ci#define SLAVE_SERVICE_GNOC		4
9562306a36Sopenharmony_ci
9662306a36Sopenharmony_ci#define MASTER_TCU_0			0
9762306a36Sopenharmony_ci#define MASTER_MEM_NOC_CFG		1
9862306a36Sopenharmony_ci#define MASTER_GNOC_MEM_NOC		2
9962306a36Sopenharmony_ci#define MASTER_MNOC_HF_MEM_NOC		3
10062306a36Sopenharmony_ci#define MASTER_MNOC_SF_MEM_NOC		4
10162306a36Sopenharmony_ci#define MASTER_SNOC_GC_MEM_NOC		5
10262306a36Sopenharmony_ci#define MASTER_SNOC_SF_MEM_NOC		6
10362306a36Sopenharmony_ci#define MASTER_GFX3D			7
10462306a36Sopenharmony_ci#define SLAVE_MSS_PROC_MS_MPU_CFG	8
10562306a36Sopenharmony_ci#define SLAVE_MEM_NOC_GNOC		9
10662306a36Sopenharmony_ci#define SLAVE_LLCC			10
10762306a36Sopenharmony_ci#define SLAVE_MEM_NOC_SNOC		11
10862306a36Sopenharmony_ci#define SLAVE_SERVICE_MEM_NOC		12
10962306a36Sopenharmony_ci#define MASTER_LLCC			13
11062306a36Sopenharmony_ci#define SLAVE_EBI1			14
11162306a36Sopenharmony_ci
11262306a36Sopenharmony_ci#define MASTER_CNOC_MNOC_CFG		0
11362306a36Sopenharmony_ci#define MASTER_CAMNOC_HF0		1
11462306a36Sopenharmony_ci#define MASTER_CAMNOC_HF1		2
11562306a36Sopenharmony_ci#define MASTER_CAMNOC_SF		3
11662306a36Sopenharmony_ci#define MASTER_MDP0			4
11762306a36Sopenharmony_ci#define MASTER_MDP1			5
11862306a36Sopenharmony_ci#define MASTER_ROTATOR			6
11962306a36Sopenharmony_ci#define MASTER_VIDEO_P0			7
12062306a36Sopenharmony_ci#define MASTER_VIDEO_P1			8
12162306a36Sopenharmony_ci#define MASTER_VIDEO_PROC		9
12262306a36Sopenharmony_ci#define SLAVE_MNOC_SF_MEM_NOC		10
12362306a36Sopenharmony_ci#define SLAVE_MNOC_HF_MEM_NOC		11
12462306a36Sopenharmony_ci#define SLAVE_SERVICE_MNOC		12
12562306a36Sopenharmony_ci#define MASTER_CAMNOC_HF0_UNCOMP	13
12662306a36Sopenharmony_ci#define MASTER_CAMNOC_HF1_UNCOMP	14
12762306a36Sopenharmony_ci#define MASTER_CAMNOC_SF_UNCOMP		15
12862306a36Sopenharmony_ci#define SLAVE_CAMNOC_UNCOMP		16
12962306a36Sopenharmony_ci
13062306a36Sopenharmony_ci#define MASTER_SNOC_CFG			0
13162306a36Sopenharmony_ci#define MASTER_A1NOC_SNOC		1
13262306a36Sopenharmony_ci#define MASTER_A2NOC_SNOC		2
13362306a36Sopenharmony_ci#define MASTER_GNOC_SNOC		3
13462306a36Sopenharmony_ci#define MASTER_MEM_NOC_SNOC		4
13562306a36Sopenharmony_ci#define MASTER_ANOC_PCIE_SNOC		5
13662306a36Sopenharmony_ci#define MASTER_PIMEM			6
13762306a36Sopenharmony_ci#define MASTER_GIC			7
13862306a36Sopenharmony_ci#define SLAVE_APPSS			8
13962306a36Sopenharmony_ci#define SLAVE_SNOC_CNOC			9
14062306a36Sopenharmony_ci#define SLAVE_SNOC_MEM_NOC_GC		10
14162306a36Sopenharmony_ci#define SLAVE_SNOC_MEM_NOC_SF		11
14262306a36Sopenharmony_ci#define SLAVE_IMEM			12
14362306a36Sopenharmony_ci#define SLAVE_PCIE_0			13
14462306a36Sopenharmony_ci#define SLAVE_PCIE_1			14
14562306a36Sopenharmony_ci#define SLAVE_PIMEM			15
14662306a36Sopenharmony_ci#define SLAVE_SERVICE_SNOC		16
14762306a36Sopenharmony_ci#define SLAVE_QDSS_STM			17
14862306a36Sopenharmony_ci#define SLAVE_TCU			18
14962306a36Sopenharmony_ci
15062306a36Sopenharmony_ci#endif
151