162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Qualcomm SM8350 interconnect IDs
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
662306a36Sopenharmony_ci * Copyright (c) 2021, Linaro Limited
762306a36Sopenharmony_ci */
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM8350_H
1062306a36Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_SM8350_H
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#define MASTER_QSPI_0			0
1362306a36Sopenharmony_ci#define MASTER_QUP_1			1
1462306a36Sopenharmony_ci#define MASTER_A1NOC_CFG		2
1562306a36Sopenharmony_ci#define MASTER_SDCC_4			3
1662306a36Sopenharmony_ci#define MASTER_UFS_MEM			4
1762306a36Sopenharmony_ci#define MASTER_USB3_0			5
1862306a36Sopenharmony_ci#define MASTER_USB3_1			6
1962306a36Sopenharmony_ci#define SLAVE_A1NOC_SNOC		7
2062306a36Sopenharmony_ci#define SLAVE_SERVICE_A1NOC		8
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci#define MASTER_QDSS_BAM			0
2362306a36Sopenharmony_ci#define MASTER_QUP_0			1
2462306a36Sopenharmony_ci#define MASTER_QUP_2			2
2562306a36Sopenharmony_ci#define MASTER_A2NOC_CFG		3
2662306a36Sopenharmony_ci#define MASTER_CRYPTO			4
2762306a36Sopenharmony_ci#define MASTER_IPA			5
2862306a36Sopenharmony_ci#define MASTER_PCIE_0			6
2962306a36Sopenharmony_ci#define MASTER_PCIE_1			7
3062306a36Sopenharmony_ci#define MASTER_QDSS_ETR			8
3162306a36Sopenharmony_ci#define MASTER_SDCC_2			9
3262306a36Sopenharmony_ci#define MASTER_UFS_CARD			10
3362306a36Sopenharmony_ci#define SLAVE_A2NOC_SNOC		11
3462306a36Sopenharmony_ci#define SLAVE_ANOC_PCIE_GEM_NOC		12
3562306a36Sopenharmony_ci#define SLAVE_SERVICE_A2NOC		13
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci#define MASTER_GEM_NOC_CNOC		0
3862306a36Sopenharmony_ci#define MASTER_GEM_NOC_PCIE_SNOC	1
3962306a36Sopenharmony_ci#define MASTER_QDSS_DAP			2
4062306a36Sopenharmony_ci#define SLAVE_AHB2PHY_SOUTH		3
4162306a36Sopenharmony_ci#define SLAVE_AHB2PHY_NORTH		4
4262306a36Sopenharmony_ci#define SLAVE_AOSS			5
4362306a36Sopenharmony_ci#define SLAVE_APPSS			6
4462306a36Sopenharmony_ci#define SLAVE_CAMERA_CFG		7
4562306a36Sopenharmony_ci#define SLAVE_CLK_CTL			8
4662306a36Sopenharmony_ci#define SLAVE_CDSP_CFG			9
4762306a36Sopenharmony_ci#define SLAVE_RBCPR_CX_CFG		10
4862306a36Sopenharmony_ci#define SLAVE_RBCPR_MMCX_CFG		11
4962306a36Sopenharmony_ci#define SLAVE_RBCPR_MX_CFG		12
5062306a36Sopenharmony_ci#define SLAVE_CRYPTO_0_CFG		13
5162306a36Sopenharmony_ci#define SLAVE_CX_RDPM			14
5262306a36Sopenharmony_ci#define SLAVE_DCC_CFG			15
5362306a36Sopenharmony_ci#define SLAVE_DISPLAY_CFG		16
5462306a36Sopenharmony_ci#define SLAVE_GFX3D_CFG			17
5562306a36Sopenharmony_ci#define SLAVE_HWKM			18
5662306a36Sopenharmony_ci#define SLAVE_IMEM_CFG			19
5762306a36Sopenharmony_ci#define SLAVE_IPA_CFG			20
5862306a36Sopenharmony_ci#define SLAVE_IPC_ROUTER_CFG		21
5962306a36Sopenharmony_ci#define SLAVE_LPASS			22
6062306a36Sopenharmony_ci#define SLAVE_CNOC_MSS			23
6162306a36Sopenharmony_ci#define SLAVE_MX_RDPM			24
6262306a36Sopenharmony_ci#define SLAVE_PCIE_0_CFG		25
6362306a36Sopenharmony_ci#define SLAVE_PCIE_1_CFG		26
6462306a36Sopenharmony_ci#define SLAVE_PDM			27
6562306a36Sopenharmony_ci#define SLAVE_PIMEM_CFG			28
6662306a36Sopenharmony_ci#define SLAVE_PKA_WRAPPER_CFG		29
6762306a36Sopenharmony_ci#define SLAVE_PMU_WRAPPER_CFG		30
6862306a36Sopenharmony_ci#define SLAVE_QDSS_CFG			31
6962306a36Sopenharmony_ci#define SLAVE_QSPI_0			32
7062306a36Sopenharmony_ci#define SLAVE_QUP_0			33
7162306a36Sopenharmony_ci#define SLAVE_QUP_1			34
7262306a36Sopenharmony_ci#define SLAVE_QUP_2			35
7362306a36Sopenharmony_ci#define SLAVE_SDCC_2			36
7462306a36Sopenharmony_ci#define SLAVE_SDCC_4			37
7562306a36Sopenharmony_ci#define SLAVE_SECURITY			38
7662306a36Sopenharmony_ci#define SLAVE_SPSS_CFG			39
7762306a36Sopenharmony_ci#define SLAVE_TCSR			40
7862306a36Sopenharmony_ci#define SLAVE_TLMM			41
7962306a36Sopenharmony_ci#define SLAVE_UFS_CARD_CFG		42
8062306a36Sopenharmony_ci#define SLAVE_UFS_MEM_CFG		43
8162306a36Sopenharmony_ci#define SLAVE_USB3_0			44
8262306a36Sopenharmony_ci#define SLAVE_USB3_1			45
8362306a36Sopenharmony_ci#define SLAVE_VENUS_CFG			46
8462306a36Sopenharmony_ci#define SLAVE_VSENSE_CTRL_CFG		47
8562306a36Sopenharmony_ci#define SLAVE_A1NOC_CFG			48
8662306a36Sopenharmony_ci#define SLAVE_A2NOC_CFG			49
8762306a36Sopenharmony_ci#define SLAVE_DDRSS_CFG			50
8862306a36Sopenharmony_ci#define SLAVE_CNOC_MNOC_CFG		51
8962306a36Sopenharmony_ci#define SLAVE_SNOC_CFG			52
9062306a36Sopenharmony_ci#define SLAVE_BOOT_IMEM			53
9162306a36Sopenharmony_ci#define SLAVE_IMEM			54
9262306a36Sopenharmony_ci#define SLAVE_PIMEM			55
9362306a36Sopenharmony_ci#define SLAVE_SERVICE_CNOC		56
9462306a36Sopenharmony_ci#define SLAVE_PCIE_0			57
9562306a36Sopenharmony_ci#define SLAVE_PCIE_1			58
9662306a36Sopenharmony_ci#define SLAVE_QDSS_STM			59
9762306a36Sopenharmony_ci#define SLAVE_TCU			60
9862306a36Sopenharmony_ci
9962306a36Sopenharmony_ci#define MASTER_CNOC_DC_NOC		0
10062306a36Sopenharmony_ci#define SLAVE_LLCC_CFG			1
10162306a36Sopenharmony_ci#define SLAVE_GEM_NOC_CFG		2
10262306a36Sopenharmony_ci
10362306a36Sopenharmony_ci#define MASTER_GPU_TCU			0
10462306a36Sopenharmony_ci#define MASTER_SYS_TCU			1
10562306a36Sopenharmony_ci#define MASTER_APPSS_PROC		2
10662306a36Sopenharmony_ci#define MASTER_COMPUTE_NOC		3
10762306a36Sopenharmony_ci#define MASTER_GEM_NOC_CFG		4
10862306a36Sopenharmony_ci#define MASTER_GFX3D			5
10962306a36Sopenharmony_ci#define MASTER_MNOC_HF_MEM_NOC		6
11062306a36Sopenharmony_ci#define MASTER_MNOC_SF_MEM_NOC		7
11162306a36Sopenharmony_ci#define MASTER_ANOC_PCIE_GEM_NOC	8
11262306a36Sopenharmony_ci#define MASTER_SNOC_GC_MEM_NOC		9
11362306a36Sopenharmony_ci#define MASTER_SNOC_SF_MEM_NOC		10
11462306a36Sopenharmony_ci#define SLAVE_MSS_PROC_MS_MPU_CFG	11
11562306a36Sopenharmony_ci#define SLAVE_MCDMA_MS_MPU_CFG		12
11662306a36Sopenharmony_ci#define SLAVE_GEM_NOC_CNOC		13
11762306a36Sopenharmony_ci#define SLAVE_LLCC			14
11862306a36Sopenharmony_ci#define SLAVE_MEM_NOC_PCIE_SNOC		15
11962306a36Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC_1		16
12062306a36Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC_2		17
12162306a36Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC		18
12262306a36Sopenharmony_ci#define MASTER_MNOC_HF_MEM_NOC_DISP	19
12362306a36Sopenharmony_ci#define MASTER_MNOC_SF_MEM_NOC_DISP	20
12462306a36Sopenharmony_ci#define SLAVE_LLCC_DISP			21
12562306a36Sopenharmony_ci
12662306a36Sopenharmony_ci#define MASTER_CNOC_LPASS_AG_NOC	0
12762306a36Sopenharmony_ci#define SLAVE_LPASS_CORE_CFG		1
12862306a36Sopenharmony_ci#define SLAVE_LPASS_LPI_CFG		2
12962306a36Sopenharmony_ci#define SLAVE_LPASS_MPU_CFG		3
13062306a36Sopenharmony_ci#define SLAVE_LPASS_TOP_CFG		4
13162306a36Sopenharmony_ci#define SLAVE_SERVICES_LPASS_AML_NOC	5
13262306a36Sopenharmony_ci#define SLAVE_SERVICE_LPASS_AG_NOC	6
13362306a36Sopenharmony_ci
13462306a36Sopenharmony_ci#define MASTER_LLCC			0
13562306a36Sopenharmony_ci#define SLAVE_EBI1			1
13662306a36Sopenharmony_ci#define MASTER_LLCC_DISP		2
13762306a36Sopenharmony_ci#define SLAVE_EBI1_DISP			3
13862306a36Sopenharmony_ci
13962306a36Sopenharmony_ci#define MASTER_CAMNOC_HF		0
14062306a36Sopenharmony_ci#define MASTER_CAMNOC_ICP		1
14162306a36Sopenharmony_ci#define MASTER_CAMNOC_SF		2
14262306a36Sopenharmony_ci#define MASTER_CNOC_MNOC_CFG		3
14362306a36Sopenharmony_ci#define MASTER_VIDEO_P0			4
14462306a36Sopenharmony_ci#define MASTER_VIDEO_P1			5
14562306a36Sopenharmony_ci#define MASTER_VIDEO_PROC		6
14662306a36Sopenharmony_ci#define MASTER_MDP0			7
14762306a36Sopenharmony_ci#define MASTER_MDP1			8
14862306a36Sopenharmony_ci#define MASTER_ROTATOR			9
14962306a36Sopenharmony_ci#define SLAVE_MNOC_HF_MEM_NOC		10
15062306a36Sopenharmony_ci#define SLAVE_MNOC_SF_MEM_NOC		11
15162306a36Sopenharmony_ci#define SLAVE_SERVICE_MNOC		12
15262306a36Sopenharmony_ci#define MASTER_MDP0_DISP		13
15362306a36Sopenharmony_ci#define MASTER_MDP1_DISP		14
15462306a36Sopenharmony_ci#define MASTER_ROTATOR_DISP		15
15562306a36Sopenharmony_ci#define SLAVE_MNOC_HF_MEM_NOC_DISP	16
15662306a36Sopenharmony_ci#define SLAVE_MNOC_SF_MEM_NOC_DISP	17
15762306a36Sopenharmony_ci
15862306a36Sopenharmony_ci#define MASTER_CDSP_NOC_CFG		0
15962306a36Sopenharmony_ci#define MASTER_CDSP_PROC		1
16062306a36Sopenharmony_ci#define SLAVE_CDSP_MEM_NOC		2
16162306a36Sopenharmony_ci#define SLAVE_SERVICE_NSP_NOC		3
16262306a36Sopenharmony_ci
16362306a36Sopenharmony_ci#define MASTER_A1NOC_SNOC		0
16462306a36Sopenharmony_ci#define MASTER_A2NOC_SNOC		1
16562306a36Sopenharmony_ci#define MASTER_SNOC_CFG			2
16662306a36Sopenharmony_ci#define MASTER_PIMEM			3
16762306a36Sopenharmony_ci#define MASTER_GIC			4
16862306a36Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_GC		5
16962306a36Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_SF		6
17062306a36Sopenharmony_ci#define SLAVE_SERVICE_SNOC		7
17162306a36Sopenharmony_ci
17262306a36Sopenharmony_ci#endif
173