162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Qualcomm SC7180 interconnect IDs
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (c) 2020, The Linux Foundation. All rights reserved.
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SC7180_H
962306a36Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_SC7180_H
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#define MASTER_A1NOC_CFG			0
1262306a36Sopenharmony_ci#define MASTER_QSPI			1
1362306a36Sopenharmony_ci#define MASTER_QUP_0			2
1462306a36Sopenharmony_ci#define MASTER_SDCC_2			3
1562306a36Sopenharmony_ci#define MASTER_EMMC			4
1662306a36Sopenharmony_ci#define MASTER_UFS_MEM			5
1762306a36Sopenharmony_ci#define SLAVE_A1NOC_SNOC			6
1862306a36Sopenharmony_ci#define SLAVE_SERVICE_A1NOC			7
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci#define MASTER_A2NOC_CFG			0
2162306a36Sopenharmony_ci#define MASTER_QDSS_BAM			1
2262306a36Sopenharmony_ci#define MASTER_QUP_1			2
2362306a36Sopenharmony_ci#define MASTER_USB3			3
2462306a36Sopenharmony_ci#define MASTER_CRYPTO			4
2562306a36Sopenharmony_ci#define MASTER_IPA			5
2662306a36Sopenharmony_ci#define MASTER_QDSS_ETR			6
2762306a36Sopenharmony_ci#define SLAVE_A2NOC_SNOC			7
2862306a36Sopenharmony_ci#define SLAVE_SERVICE_A2NOC			8
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci#define MASTER_CAMNOC_HF0_UNCOMP			0
3162306a36Sopenharmony_ci#define MASTER_CAMNOC_HF1_UNCOMP			1
3262306a36Sopenharmony_ci#define MASTER_CAMNOC_SF_UNCOMP			2
3362306a36Sopenharmony_ci#define SLAVE_CAMNOC_UNCOMP			3
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci#define MASTER_NPU			0
3662306a36Sopenharmony_ci#define MASTER_NPU_PROC			1
3762306a36Sopenharmony_ci#define SLAVE_CDSP_GEM_NOC			2
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci#define MASTER_SNOC_CNOC			0
4062306a36Sopenharmony_ci#define MASTER_QDSS_DAP			1
4162306a36Sopenharmony_ci#define SLAVE_A1NOC_CFG			2
4262306a36Sopenharmony_ci#define SLAVE_A2NOC_CFG			3
4362306a36Sopenharmony_ci#define SLAVE_AHB2PHY_SOUTH			4
4462306a36Sopenharmony_ci#define SLAVE_AHB2PHY_CENTER			5
4562306a36Sopenharmony_ci#define SLAVE_AOP			6
4662306a36Sopenharmony_ci#define SLAVE_AOSS			7
4762306a36Sopenharmony_ci#define SLAVE_BOOT_ROM			8
4862306a36Sopenharmony_ci#define SLAVE_CAMERA_CFG				9
4962306a36Sopenharmony_ci#define SLAVE_CAMERA_NRT_THROTTLE_CFG			10
5062306a36Sopenharmony_ci#define SLAVE_CAMERA_RT_THROTTLE_CFG			11
5162306a36Sopenharmony_ci#define SLAVE_CLK_CTL			12
5262306a36Sopenharmony_ci#define SLAVE_RBCPR_CX_CFG			13
5362306a36Sopenharmony_ci#define SLAVE_RBCPR_MX_CFG			14
5462306a36Sopenharmony_ci#define SLAVE_CRYPTO_0_CFG			15
5562306a36Sopenharmony_ci#define SLAVE_DCC_CFG			16
5662306a36Sopenharmony_ci#define SLAVE_CNOC_DDRSS			17
5762306a36Sopenharmony_ci#define SLAVE_DISPLAY_CFG			18
5862306a36Sopenharmony_ci#define SLAVE_DISPLAY_RT_THROTTLE_CFG			19
5962306a36Sopenharmony_ci#define SLAVE_DISPLAY_THROTTLE_CFG			20
6062306a36Sopenharmony_ci#define SLAVE_EMMC_CFG			21
6162306a36Sopenharmony_ci#define SLAVE_GLM					22
6262306a36Sopenharmony_ci#define SLAVE_GFX3D_CFG			23
6362306a36Sopenharmony_ci#define SLAVE_IMEM_CFG			24
6462306a36Sopenharmony_ci#define SLAVE_IPA_CFG			25
6562306a36Sopenharmony_ci#define SLAVE_CNOC_MNOC_CFG			26
6662306a36Sopenharmony_ci#define SLAVE_CNOC_MSS			27
6762306a36Sopenharmony_ci#define SLAVE_NPU_CFG			28
6862306a36Sopenharmony_ci#define SLAVE_NPU_DMA_BWMON_CFG			29
6962306a36Sopenharmony_ci#define SLAVE_NPU_PROC_BWMON_CFG			30
7062306a36Sopenharmony_ci#define SLAVE_PDM			31
7162306a36Sopenharmony_ci#define SLAVE_PIMEM_CFG			32
7262306a36Sopenharmony_ci#define SLAVE_PRNG			33
7362306a36Sopenharmony_ci#define SLAVE_QDSS_CFG			34
7462306a36Sopenharmony_ci#define SLAVE_QM_CFG			35
7562306a36Sopenharmony_ci#define SLAVE_QM_MPU_CFG			36
7662306a36Sopenharmony_ci#define SLAVE_QSPI_0			37
7762306a36Sopenharmony_ci#define SLAVE_QUP_0			38
7862306a36Sopenharmony_ci#define SLAVE_QUP_1			39
7962306a36Sopenharmony_ci#define SLAVE_SDCC_2			40
8062306a36Sopenharmony_ci#define SLAVE_SECURITY			41
8162306a36Sopenharmony_ci#define SLAVE_SNOC_CFG			42
8262306a36Sopenharmony_ci#define SLAVE_TCSR			43
8362306a36Sopenharmony_ci#define SLAVE_TLMM_WEST			44
8462306a36Sopenharmony_ci#define SLAVE_TLMM_NORTH			45
8562306a36Sopenharmony_ci#define SLAVE_TLMM_SOUTH			46
8662306a36Sopenharmony_ci#define SLAVE_UFS_MEM_CFG			47
8762306a36Sopenharmony_ci#define SLAVE_USB3			48
8862306a36Sopenharmony_ci#define SLAVE_VENUS_CFG			49
8962306a36Sopenharmony_ci#define SLAVE_VENUS_THROTTLE_CFG			50
9062306a36Sopenharmony_ci#define SLAVE_VSENSE_CTRL_CFG			51
9162306a36Sopenharmony_ci#define SLAVE_SERVICE_CNOC			52
9262306a36Sopenharmony_ci
9362306a36Sopenharmony_ci#define MASTER_CNOC_DC_NOC			0
9462306a36Sopenharmony_ci#define SLAVE_GEM_NOC_CFG			1
9562306a36Sopenharmony_ci#define SLAVE_LLCC_CFG			2
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ci#define MASTER_APPSS_PROC		0
9862306a36Sopenharmony_ci#define MASTER_SYS_TCU			1
9962306a36Sopenharmony_ci#define MASTER_GEM_NOC_CFG			2
10062306a36Sopenharmony_ci#define MASTER_COMPUTE_NOC			3
10162306a36Sopenharmony_ci#define MASTER_MNOC_HF_MEM_NOC			4
10262306a36Sopenharmony_ci#define MASTER_MNOC_SF_MEM_NOC			5
10362306a36Sopenharmony_ci#define MASTER_SNOC_GC_MEM_NOC			6
10462306a36Sopenharmony_ci#define MASTER_SNOC_SF_MEM_NOC			7
10562306a36Sopenharmony_ci#define MASTER_GFX3D			8
10662306a36Sopenharmony_ci#define SLAVE_MSS_PROC_MS_MPU_CFG			9
10762306a36Sopenharmony_ci#define SLAVE_GEM_NOC_SNOC			10
10862306a36Sopenharmony_ci#define SLAVE_LLCC			11
10962306a36Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC			12
11062306a36Sopenharmony_ci
11162306a36Sopenharmony_ci#define MASTER_LLCC			0
11262306a36Sopenharmony_ci#define SLAVE_EBI1			1
11362306a36Sopenharmony_ci
11462306a36Sopenharmony_ci#define MASTER_CNOC_MNOC_CFG			0
11562306a36Sopenharmony_ci#define MASTER_CAMNOC_HF0			1
11662306a36Sopenharmony_ci#define MASTER_CAMNOC_HF1			2
11762306a36Sopenharmony_ci#define MASTER_CAMNOC_SF			3
11862306a36Sopenharmony_ci#define MASTER_MDP0			4
11962306a36Sopenharmony_ci#define MASTER_ROTATOR			5
12062306a36Sopenharmony_ci#define MASTER_VIDEO_P0			6
12162306a36Sopenharmony_ci#define MASTER_VIDEO_PROC			7
12262306a36Sopenharmony_ci#define SLAVE_MNOC_HF_MEM_NOC			8
12362306a36Sopenharmony_ci#define SLAVE_MNOC_SF_MEM_NOC			9
12462306a36Sopenharmony_ci#define SLAVE_SERVICE_MNOC			10
12562306a36Sopenharmony_ci
12662306a36Sopenharmony_ci#define MASTER_NPU_SYS			0
12762306a36Sopenharmony_ci#define MASTER_NPU_NOC_CFG			1
12862306a36Sopenharmony_ci#define SLAVE_NPU_CAL_DP0			2
12962306a36Sopenharmony_ci#define SLAVE_NPU_CP			3
13062306a36Sopenharmony_ci#define SLAVE_NPU_INT_DMA_BWMON_CFG			4
13162306a36Sopenharmony_ci#define SLAVE_NPU_DPM			5
13262306a36Sopenharmony_ci#define SLAVE_ISENSE_CFG			6
13362306a36Sopenharmony_ci#define SLAVE_NPU_LLM_CFG			7
13462306a36Sopenharmony_ci#define SLAVE_NPU_TCM			8
13562306a36Sopenharmony_ci#define SLAVE_NPU_COMPUTE_NOC			9
13662306a36Sopenharmony_ci#define SLAVE_SERVICE_NPU_NOC			10
13762306a36Sopenharmony_ci
13862306a36Sopenharmony_ci#define MASTER_QUP_CORE_0			0
13962306a36Sopenharmony_ci#define MASTER_QUP_CORE_1			1
14062306a36Sopenharmony_ci#define SLAVE_QUP_CORE_0			2
14162306a36Sopenharmony_ci#define SLAVE_QUP_CORE_1			3
14262306a36Sopenharmony_ci
14362306a36Sopenharmony_ci#define MASTER_SNOC_CFG			0
14462306a36Sopenharmony_ci#define MASTER_A1NOC_SNOC			1
14562306a36Sopenharmony_ci#define MASTER_A2NOC_SNOC			2
14662306a36Sopenharmony_ci#define MASTER_GEM_NOC_SNOC			3
14762306a36Sopenharmony_ci#define MASTER_PIMEM			4
14862306a36Sopenharmony_ci#define SLAVE_APPSS			5
14962306a36Sopenharmony_ci#define SLAVE_SNOC_CNOC			6
15062306a36Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_GC			7
15162306a36Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_SF			8
15262306a36Sopenharmony_ci#define SLAVE_IMEM			9
15362306a36Sopenharmony_ci#define SLAVE_PIMEM			10
15462306a36Sopenharmony_ci#define SLAVE_SERVICE_SNOC			11
15562306a36Sopenharmony_ci#define SLAVE_QDSS_STM			12
15662306a36Sopenharmony_ci#define SLAVE_TCU			13
15762306a36Sopenharmony_ci
15862306a36Sopenharmony_ci#endif
159