162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Qualcomm SM6350 interconnect IDs
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (C) 2022 Luca Weiss <luca.weiss@fairphone.com>
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM6350_H
962306a36Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_SM6350_H
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#define MASTER_A1NOC_CFG		0
1262306a36Sopenharmony_ci#define MASTER_QUP_0			1
1362306a36Sopenharmony_ci#define MASTER_EMMC			2
1462306a36Sopenharmony_ci#define MASTER_UFS_MEM			3
1562306a36Sopenharmony_ci#define A1NOC_SNOC_SLV			4
1662306a36Sopenharmony_ci#define SLAVE_SERVICE_A1NOC		5
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#define MASTER_A2NOC_CFG		0
1962306a36Sopenharmony_ci#define MASTER_QDSS_BAM			1
2062306a36Sopenharmony_ci#define MASTER_QUP_1			2
2162306a36Sopenharmony_ci#define MASTER_CRYPTO_CORE_0		3
2262306a36Sopenharmony_ci#define MASTER_IPA			4
2362306a36Sopenharmony_ci#define MASTER_QDSS_ETR			5
2462306a36Sopenharmony_ci#define MASTER_SDCC_2			6
2562306a36Sopenharmony_ci#define MASTER_USB3			7
2662306a36Sopenharmony_ci#define A2NOC_SNOC_SLV			8
2762306a36Sopenharmony_ci#define SLAVE_SERVICE_A2NOC		9
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci#define MASTER_CAMNOC_HF0_UNCOMP	0
3062306a36Sopenharmony_ci#define MASTER_CAMNOC_ICP_UNCOMP	1
3162306a36Sopenharmony_ci#define MASTER_CAMNOC_SF_UNCOMP		2
3262306a36Sopenharmony_ci#define MASTER_QUP_CORE_0		3
3362306a36Sopenharmony_ci#define MASTER_QUP_CORE_1		4
3462306a36Sopenharmony_ci#define MASTER_LLCC			5
3562306a36Sopenharmony_ci#define SLAVE_CAMNOC_UNCOMP		6
3662306a36Sopenharmony_ci#define SLAVE_QUP_CORE_0		7
3762306a36Sopenharmony_ci#define SLAVE_QUP_CORE_1		8
3862306a36Sopenharmony_ci#define SLAVE_EBI_CH0			9
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ci#define MASTER_NPU			0
4162306a36Sopenharmony_ci#define MASTER_NPU_PROC			1
4262306a36Sopenharmony_ci#define SLAVE_CDSP_GEM_NOC		2
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci#define SNOC_CNOC_MAS			0
4562306a36Sopenharmony_ci#define MASTER_QDSS_DAP			1
4662306a36Sopenharmony_ci#define SLAVE_A1NOC_CFG			2
4762306a36Sopenharmony_ci#define SLAVE_A2NOC_CFG			3
4862306a36Sopenharmony_ci#define SLAVE_AHB2PHY			4
4962306a36Sopenharmony_ci#define SLAVE_AHB2PHY_2			5
5062306a36Sopenharmony_ci#define SLAVE_AOSS			6
5162306a36Sopenharmony_ci#define SLAVE_BOOT_ROM			7
5262306a36Sopenharmony_ci#define SLAVE_CAMERA_CFG		8
5362306a36Sopenharmony_ci#define SLAVE_CAMERA_NRT_THROTTLE_CFG	9
5462306a36Sopenharmony_ci#define SLAVE_CAMERA_RT_THROTTLE_CFG	10
5562306a36Sopenharmony_ci#define SLAVE_CLK_CTL			11
5662306a36Sopenharmony_ci#define SLAVE_RBCPR_CX_CFG		12
5762306a36Sopenharmony_ci#define SLAVE_RBCPR_MX_CFG		13
5862306a36Sopenharmony_ci#define SLAVE_CRYPTO_0_CFG		14
5962306a36Sopenharmony_ci#define SLAVE_DCC_CFG			15
6062306a36Sopenharmony_ci#define SLAVE_CNOC_DDRSS		16
6162306a36Sopenharmony_ci#define SLAVE_DISPLAY_CFG		17
6262306a36Sopenharmony_ci#define SLAVE_DISPLAY_THROTTLE_CFG	18
6362306a36Sopenharmony_ci#define SLAVE_EMMC_CFG			19
6462306a36Sopenharmony_ci#define SLAVE_GLM			20
6562306a36Sopenharmony_ci#define SLAVE_GRAPHICS_3D_CFG		21
6662306a36Sopenharmony_ci#define SLAVE_IMEM_CFG			22
6762306a36Sopenharmony_ci#define SLAVE_IPA_CFG			23
6862306a36Sopenharmony_ci#define SLAVE_CNOC_MNOC_CFG		24
6962306a36Sopenharmony_ci#define SLAVE_CNOC_MSS			25
7062306a36Sopenharmony_ci#define SLAVE_NPU_CFG			26
7162306a36Sopenharmony_ci#define SLAVE_PDM			27
7262306a36Sopenharmony_ci#define SLAVE_PIMEM_CFG			28
7362306a36Sopenharmony_ci#define SLAVE_PRNG			29
7462306a36Sopenharmony_ci#define SLAVE_QDSS_CFG			30
7562306a36Sopenharmony_ci#define SLAVE_QM_CFG			31
7662306a36Sopenharmony_ci#define SLAVE_QM_MPU_CFG		32
7762306a36Sopenharmony_ci#define SLAVE_QUP_0			33
7862306a36Sopenharmony_ci#define SLAVE_QUP_1			34
7962306a36Sopenharmony_ci#define SLAVE_SDCC_2			35
8062306a36Sopenharmony_ci#define SLAVE_SECURITY			36
8162306a36Sopenharmony_ci#define SLAVE_SNOC_CFG			37
8262306a36Sopenharmony_ci#define SLAVE_TCSR			38
8362306a36Sopenharmony_ci#define SLAVE_UFS_MEM_CFG		39
8462306a36Sopenharmony_ci#define SLAVE_USB3			40
8562306a36Sopenharmony_ci#define SLAVE_VENUS_CFG			41
8662306a36Sopenharmony_ci#define SLAVE_VENUS_THROTTLE_CFG	42
8762306a36Sopenharmony_ci#define SLAVE_VSENSE_CTRL_CFG		43
8862306a36Sopenharmony_ci#define SLAVE_SERVICE_CNOC		44
8962306a36Sopenharmony_ci
9062306a36Sopenharmony_ci#define MASTER_CNOC_DC_NOC		0
9162306a36Sopenharmony_ci#define SLAVE_GEM_NOC_CFG		1
9262306a36Sopenharmony_ci#define SLAVE_LLCC_CFG			2
9362306a36Sopenharmony_ci
9462306a36Sopenharmony_ci#define MASTER_AMPSS_M0			0
9562306a36Sopenharmony_ci#define MASTER_SYS_TCU			1
9662306a36Sopenharmony_ci#define MASTER_GEM_NOC_CFG		2
9762306a36Sopenharmony_ci#define MASTER_COMPUTE_NOC		3
9862306a36Sopenharmony_ci#define MASTER_MNOC_HF_MEM_NOC		4
9962306a36Sopenharmony_ci#define MASTER_MNOC_SF_MEM_NOC		5
10062306a36Sopenharmony_ci#define MASTER_SNOC_GC_MEM_NOC		6
10162306a36Sopenharmony_ci#define MASTER_SNOC_SF_MEM_NOC		7
10262306a36Sopenharmony_ci#define MASTER_GRAPHICS_3D		8
10362306a36Sopenharmony_ci#define SLAVE_MCDMA_MS_MPU_CFG		9
10462306a36Sopenharmony_ci#define SLAVE_MSS_PROC_MS_MPU_CFG	10
10562306a36Sopenharmony_ci#define SLAVE_GEM_NOC_SNOC		11
10662306a36Sopenharmony_ci#define SLAVE_LLCC			12
10762306a36Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC		13
10862306a36Sopenharmony_ci
10962306a36Sopenharmony_ci#define MASTER_CNOC_MNOC_CFG		0
11062306a36Sopenharmony_ci#define MASTER_VIDEO_P0			1
11162306a36Sopenharmony_ci#define MASTER_VIDEO_PROC		2
11262306a36Sopenharmony_ci#define MASTER_CAMNOC_HF		3
11362306a36Sopenharmony_ci#define MASTER_CAMNOC_ICP		4
11462306a36Sopenharmony_ci#define MASTER_CAMNOC_SF		5
11562306a36Sopenharmony_ci#define MASTER_MDP_PORT0		6
11662306a36Sopenharmony_ci#define SLAVE_MNOC_HF_MEM_NOC		7
11762306a36Sopenharmony_ci#define SLAVE_MNOC_SF_MEM_NOC		8
11862306a36Sopenharmony_ci#define SLAVE_SERVICE_MNOC		9
11962306a36Sopenharmony_ci
12062306a36Sopenharmony_ci#define MASTER_NPU_SYS			0
12162306a36Sopenharmony_ci#define MASTER_NPU_NOC_CFG		1
12262306a36Sopenharmony_ci#define SLAVE_NPU_CAL_DP0		2
12362306a36Sopenharmony_ci#define SLAVE_NPU_CP			3
12462306a36Sopenharmony_ci#define SLAVE_NPU_INT_DMA_BWMON_CFG	4
12562306a36Sopenharmony_ci#define SLAVE_NPU_DPM			5
12662306a36Sopenharmony_ci#define SLAVE_ISENSE_CFG		6
12762306a36Sopenharmony_ci#define SLAVE_NPU_LLM_CFG		7
12862306a36Sopenharmony_ci#define SLAVE_NPU_TCM			8
12962306a36Sopenharmony_ci#define SLAVE_NPU_COMPUTE_NOC		9
13062306a36Sopenharmony_ci#define SLAVE_SERVICE_NPU_NOC		10
13162306a36Sopenharmony_ci
13262306a36Sopenharmony_ci#define MASTER_SNOC_CFG			0
13362306a36Sopenharmony_ci#define A1NOC_SNOC_MAS			1
13462306a36Sopenharmony_ci#define A2NOC_SNOC_MAS			2
13562306a36Sopenharmony_ci#define MASTER_GEM_NOC_SNOC		3
13662306a36Sopenharmony_ci#define MASTER_PIMEM			4
13762306a36Sopenharmony_ci#define MASTER_GIC			5
13862306a36Sopenharmony_ci#define SLAVE_APPSS			6
13962306a36Sopenharmony_ci#define SNOC_CNOC_SLV			7
14062306a36Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_GC		8
14162306a36Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_SF		9
14262306a36Sopenharmony_ci#define SLAVE_OCIMEM			10
14362306a36Sopenharmony_ci#define SLAVE_PIMEM			11
14462306a36Sopenharmony_ci#define SLAVE_SERVICE_SNOC		12
14562306a36Sopenharmony_ci#define SLAVE_QDSS_STM			13
14662306a36Sopenharmony_ci#define SLAVE_TCU			14
14762306a36Sopenharmony_ci
14862306a36Sopenharmony_ci#endif
149