162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Qualcomm #define SM8250 interconnect IDs
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (c) 2020, The Linux Foundation. All rights reserved.
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef __DRIVERS_INTERCONNECT_QCOM_SM8150_H
962306a36Sopenharmony_ci#define __DRIVERS_INTERCONNECT_QCOM_SM8150_H
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#define SM8150_A1NOC_SNOC_MAS			0
1262306a36Sopenharmony_ci#define SM8150_A1NOC_SNOC_SLV			1
1362306a36Sopenharmony_ci#define SM8150_A2NOC_SNOC_MAS			2
1462306a36Sopenharmony_ci#define SM8150_A2NOC_SNOC_SLV			3
1562306a36Sopenharmony_ci#define SM8150_MASTER_A1NOC_CFG			4
1662306a36Sopenharmony_ci#define SM8150_MASTER_A2NOC_CFG			5
1762306a36Sopenharmony_ci#define SM8150_MASTER_AMPSS_M0			6
1862306a36Sopenharmony_ci#define SM8150_MASTER_CAMNOC_HF0		7
1962306a36Sopenharmony_ci#define SM8150_MASTER_CAMNOC_HF0_UNCOMP		8
2062306a36Sopenharmony_ci#define SM8150_MASTER_CAMNOC_HF1		9
2162306a36Sopenharmony_ci#define SM8150_MASTER_CAMNOC_HF1_UNCOMP		10
2262306a36Sopenharmony_ci#define SM8150_MASTER_CAMNOC_SF			11
2362306a36Sopenharmony_ci#define SM8150_MASTER_CAMNOC_SF_UNCOMP		12
2462306a36Sopenharmony_ci#define SM8150_MASTER_CNOC_A2NOC		13
2562306a36Sopenharmony_ci#define SM8150_MASTER_CNOC_DC_NOC		14
2662306a36Sopenharmony_ci#define SM8150_MASTER_CNOC_MNOC_CFG		15
2762306a36Sopenharmony_ci#define SM8150_MASTER_COMPUTE_NOC		16
2862306a36Sopenharmony_ci#define SM8150_MASTER_CRYPTO_CORE_0		17
2962306a36Sopenharmony_ci#define SM8150_MASTER_ECC			18
3062306a36Sopenharmony_ci#define SM8150_MASTER_EMAC			19
3162306a36Sopenharmony_ci#define SM8150_MASTER_GEM_NOC_CFG		20
3262306a36Sopenharmony_ci#define SM8150_MASTER_GEM_NOC_PCIE_SNOC		21
3362306a36Sopenharmony_ci#define SM8150_MASTER_GEM_NOC_SNOC		22
3462306a36Sopenharmony_ci#define SM8150_MASTER_GIC			23
3562306a36Sopenharmony_ci#define SM8150_MASTER_GPU_TCU			24
3662306a36Sopenharmony_ci#define SM8150_MASTER_GRAPHICS_3D		25
3762306a36Sopenharmony_ci#define SM8150_MASTER_IPA			26
3862306a36Sopenharmony_ci/* 27 was used by SLAVE_IPA_CORE, now represented as RPMh clock */
3962306a36Sopenharmony_ci#define SM8150_MASTER_LLCC			28
4062306a36Sopenharmony_ci#define SM8150_MASTER_MDP_PORT0			29
4162306a36Sopenharmony_ci#define SM8150_MASTER_MDP_PORT1			30
4262306a36Sopenharmony_ci#define SM8150_MASTER_MNOC_HF_MEM_NOC		31
4362306a36Sopenharmony_ci#define SM8150_MASTER_MNOC_SF_MEM_NOC		32
4462306a36Sopenharmony_ci#define SM8150_MASTER_NPU			33
4562306a36Sopenharmony_ci#define SM8150_MASTER_PCIE			34
4662306a36Sopenharmony_ci#define SM8150_MASTER_PCIE_1			35
4762306a36Sopenharmony_ci#define SM8150_MASTER_PIMEM			36
4862306a36Sopenharmony_ci#define SM8150_MASTER_QDSS_BAM			37
4962306a36Sopenharmony_ci#define SM8150_MASTER_QDSS_DAP			38
5062306a36Sopenharmony_ci#define SM8150_MASTER_QDSS_ETR			39
5162306a36Sopenharmony_ci#define SM8150_MASTER_QSPI			40
5262306a36Sopenharmony_ci#define SM8150_MASTER_QUP_0			41
5362306a36Sopenharmony_ci#define SM8150_MASTER_QUP_1			42
5462306a36Sopenharmony_ci#define SM8150_MASTER_QUP_2			43
5562306a36Sopenharmony_ci#define SM8150_MASTER_ROTATOR			44
5662306a36Sopenharmony_ci#define SM8150_MASTER_SDCC_2			45
5762306a36Sopenharmony_ci#define SM8150_MASTER_SDCC_4			46
5862306a36Sopenharmony_ci#define SM8150_MASTER_SENSORS_AHB		47
5962306a36Sopenharmony_ci#define SM8150_MASTER_SNOC_CFG			48
6062306a36Sopenharmony_ci#define SM8150_MASTER_SNOC_GC_MEM_NOC		49
6162306a36Sopenharmony_ci#define SM8150_MASTER_SNOC_SF_MEM_NOC		50
6262306a36Sopenharmony_ci#define SM8150_MASTER_SPDM			51
6362306a36Sopenharmony_ci#define SM8150_MASTER_SYS_TCU			52
6462306a36Sopenharmony_ci#define SM8150_MASTER_TSIF			53
6562306a36Sopenharmony_ci#define SM8150_MASTER_UFS_MEM			54
6662306a36Sopenharmony_ci#define SM8150_MASTER_USB3			55
6762306a36Sopenharmony_ci#define SM8150_MASTER_USB3_1			56
6862306a36Sopenharmony_ci#define SM8150_MASTER_VIDEO_P0			57
6962306a36Sopenharmony_ci#define SM8150_MASTER_VIDEO_P1			58
7062306a36Sopenharmony_ci#define SM8150_MASTER_VIDEO_PROC		59
7162306a36Sopenharmony_ci#define SM8150_SLAVE_A1NOC_CFG			60
7262306a36Sopenharmony_ci#define SM8150_SLAVE_A2NOC_CFG			61
7362306a36Sopenharmony_ci#define SM8150_SLAVE_AHB2PHY_SOUTH		62
7462306a36Sopenharmony_ci#define SM8150_SLAVE_ANOC_PCIE_GEM_NOC		63
7562306a36Sopenharmony_ci#define SM8150_SLAVE_AOP			64
7662306a36Sopenharmony_ci#define SM8150_SLAVE_AOSS			65
7762306a36Sopenharmony_ci#define SM8150_SLAVE_APPSS			66
7862306a36Sopenharmony_ci#define SM8150_SLAVE_CAMERA_CFG			67
7962306a36Sopenharmony_ci#define SM8150_SLAVE_CAMNOC_UNCOMP		68
8062306a36Sopenharmony_ci#define SM8150_SLAVE_CDSP_CFG			69
8162306a36Sopenharmony_ci#define SM8150_SLAVE_CDSP_MEM_NOC		70
8262306a36Sopenharmony_ci#define SM8150_SLAVE_CLK_CTL			71
8362306a36Sopenharmony_ci#define SM8150_SLAVE_CNOC_A2NOC			72
8462306a36Sopenharmony_ci#define SM8150_SLAVE_CNOC_DDRSS			73
8562306a36Sopenharmony_ci#define SM8150_SLAVE_CNOC_MNOC_CFG		74
8662306a36Sopenharmony_ci#define SM8150_SLAVE_CRYPTO_0_CFG		75
8762306a36Sopenharmony_ci#define SM8150_SLAVE_DISPLAY_CFG		76
8862306a36Sopenharmony_ci#define SM8150_SLAVE_EBI_CH0			77
8962306a36Sopenharmony_ci#define SM8150_SLAVE_ECC			78
9062306a36Sopenharmony_ci#define SM8150_SLAVE_EMAC_CFG			79
9162306a36Sopenharmony_ci#define SM8150_SLAVE_GEM_NOC_CFG		80
9262306a36Sopenharmony_ci#define SM8150_SLAVE_GEM_NOC_SNOC		81
9362306a36Sopenharmony_ci#define SM8150_SLAVE_GLM			82
9462306a36Sopenharmony_ci#define SM8150_SLAVE_GRAPHICS_3D_CFG		83
9562306a36Sopenharmony_ci#define SM8150_SLAVE_IMEM_CFG			84
9662306a36Sopenharmony_ci#define SM8150_SLAVE_IPA_CFG			85
9762306a36Sopenharmony_ci/* 86 was used by SLAVE_IPA_CORE, now represented as RPMh clock */
9862306a36Sopenharmony_ci#define SM8150_SLAVE_LLCC			87
9962306a36Sopenharmony_ci#define SM8150_SLAVE_LLCC_CFG			88
10062306a36Sopenharmony_ci#define SM8150_SLAVE_MNOC_HF_MEM_NOC		89
10162306a36Sopenharmony_ci#define SM8150_SLAVE_MNOC_SF_MEM_NOC		90
10262306a36Sopenharmony_ci#define SM8150_SLAVE_MSS_PROC_MS_MPU_CFG	91
10362306a36Sopenharmony_ci#define SM8150_SLAVE_NORTH_PHY_CFG		92
10462306a36Sopenharmony_ci#define SM8150_SLAVE_NPU_CFG			93
10562306a36Sopenharmony_ci#define SM8150_SLAVE_OCIMEM			94
10662306a36Sopenharmony_ci#define SM8150_SLAVE_PCIE_0			95
10762306a36Sopenharmony_ci#define SM8150_SLAVE_PCIE_0_CFG			96
10862306a36Sopenharmony_ci#define SM8150_SLAVE_PCIE_1			97
10962306a36Sopenharmony_ci#define SM8150_SLAVE_PCIE_1_CFG			98
11062306a36Sopenharmony_ci#define SM8150_SLAVE_PIMEM			99
11162306a36Sopenharmony_ci#define SM8150_SLAVE_PIMEM_CFG			100
11262306a36Sopenharmony_ci#define SM8150_SLAVE_PRNG			101
11362306a36Sopenharmony_ci#define SM8150_SLAVE_QDSS_CFG			102
11462306a36Sopenharmony_ci#define SM8150_SLAVE_QDSS_STM			103
11562306a36Sopenharmony_ci#define SM8150_SLAVE_QSPI			104
11662306a36Sopenharmony_ci#define SM8150_SLAVE_QUP_0			105
11762306a36Sopenharmony_ci#define SM8150_SLAVE_QUP_1			106
11862306a36Sopenharmony_ci#define SM8150_SLAVE_QUP_2			107
11962306a36Sopenharmony_ci#define SM8150_SLAVE_RBCPR_CX_CFG		108
12062306a36Sopenharmony_ci#define SM8150_SLAVE_RBCPR_MMCX_CFG		109
12162306a36Sopenharmony_ci#define SM8150_SLAVE_RBCPR_MX_CFG		110
12262306a36Sopenharmony_ci#define SM8150_SLAVE_SDCC_2			111
12362306a36Sopenharmony_ci#define SM8150_SLAVE_SDCC_4			112
12462306a36Sopenharmony_ci#define SM8150_SLAVE_SERVICE_A1NOC		113
12562306a36Sopenharmony_ci#define SM8150_SLAVE_SERVICE_A2NOC		114
12662306a36Sopenharmony_ci#define SM8150_SLAVE_SERVICE_CNOC		115
12762306a36Sopenharmony_ci#define SM8150_SLAVE_SERVICE_GEM_NOC		116
12862306a36Sopenharmony_ci#define SM8150_SLAVE_SERVICE_MNOC		117
12962306a36Sopenharmony_ci#define SM8150_SLAVE_SERVICE_SNOC		118
13062306a36Sopenharmony_ci#define SM8150_SLAVE_SNOC_CFG			119
13162306a36Sopenharmony_ci#define SM8150_SLAVE_SNOC_GEM_NOC_GC		120
13262306a36Sopenharmony_ci#define SM8150_SLAVE_SNOC_GEM_NOC_SF		121
13362306a36Sopenharmony_ci#define SM8150_SLAVE_SPDM_WRAPPER		122
13462306a36Sopenharmony_ci#define SM8150_SLAVE_SPSS_CFG			123
13562306a36Sopenharmony_ci#define SM8150_SLAVE_SSC_CFG			124
13662306a36Sopenharmony_ci#define SM8150_SLAVE_TCSR			125
13762306a36Sopenharmony_ci#define SM8150_SLAVE_TCU			126
13862306a36Sopenharmony_ci#define SM8150_SLAVE_TLMM_EAST			127
13962306a36Sopenharmony_ci#define SM8150_SLAVE_TLMM_NORTH			128
14062306a36Sopenharmony_ci#define SM8150_SLAVE_TLMM_SOUTH			129
14162306a36Sopenharmony_ci#define SM8150_SLAVE_TLMM_WEST			130
14262306a36Sopenharmony_ci#define SM8150_SLAVE_TSIF			131
14362306a36Sopenharmony_ci#define SM8150_SLAVE_UFS_CARD_CFG		132
14462306a36Sopenharmony_ci#define SM8150_SLAVE_UFS_MEM_CFG		133
14562306a36Sopenharmony_ci#define SM8150_SLAVE_USB3			134
14662306a36Sopenharmony_ci#define SM8150_SLAVE_USB3_1			135
14762306a36Sopenharmony_ci#define SM8150_SLAVE_VENUS_CFG			136
14862306a36Sopenharmony_ci#define SM8150_SLAVE_VSENSE_CTRL_CFG		137
14962306a36Sopenharmony_ci#define SM8150_SNOC_CNOC_MAS			138
15062306a36Sopenharmony_ci#define SM8150_SNOC_CNOC_SLV			139
15162306a36Sopenharmony_ci
15262306a36Sopenharmony_ci#endif
153