162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Qualcomm #define SC8180X 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_SC8180X_H
962306a36Sopenharmony_ci#define __DRIVERS_INTERCONNECT_QCOM_SC8180X_H
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#define SC8180X_MASTER_A1NOC_CFG		1
1262306a36Sopenharmony_ci#define SC8180X_MASTER_UFS_CARD			2
1362306a36Sopenharmony_ci#define SC8180X_MASTER_UFS_GEN4			3
1462306a36Sopenharmony_ci#define SC8180X_MASTER_UFS_MEM			4
1562306a36Sopenharmony_ci#define SC8180X_MASTER_USB3			5
1662306a36Sopenharmony_ci#define SC8180X_MASTER_USB3_1			6
1762306a36Sopenharmony_ci#define SC8180X_MASTER_USB3_2			7
1862306a36Sopenharmony_ci#define SC8180X_MASTER_A2NOC_CFG		8
1962306a36Sopenharmony_ci#define SC8180X_MASTER_QDSS_BAM			9
2062306a36Sopenharmony_ci#define SC8180X_MASTER_QSPI_0			10
2162306a36Sopenharmony_ci#define SC8180X_MASTER_QSPI_1			11
2262306a36Sopenharmony_ci#define SC8180X_MASTER_QUP_0			12
2362306a36Sopenharmony_ci#define SC8180X_MASTER_QUP_1			13
2462306a36Sopenharmony_ci#define SC8180X_MASTER_QUP_2			14
2562306a36Sopenharmony_ci#define SC8180X_MASTER_SENSORS_AHB		15
2662306a36Sopenharmony_ci#define SC8180X_MASTER_CRYPTO_CORE_0		16
2762306a36Sopenharmony_ci#define SC8180X_MASTER_IPA			17
2862306a36Sopenharmony_ci#define SC8180X_MASTER_EMAC			18
2962306a36Sopenharmony_ci#define SC8180X_MASTER_PCIE			19
3062306a36Sopenharmony_ci#define SC8180X_MASTER_PCIE_1			20
3162306a36Sopenharmony_ci#define SC8180X_MASTER_PCIE_2			21
3262306a36Sopenharmony_ci#define SC8180X_MASTER_PCIE_3			22
3362306a36Sopenharmony_ci#define SC8180X_MASTER_QDSS_ETR			23
3462306a36Sopenharmony_ci#define SC8180X_MASTER_SDCC_2			24
3562306a36Sopenharmony_ci#define SC8180X_MASTER_SDCC_4			25
3662306a36Sopenharmony_ci#define SC8180X_MASTER_CAMNOC_HF0_UNCOMP	26
3762306a36Sopenharmony_ci#define SC8180X_MASTER_CAMNOC_HF1_UNCOMP	27
3862306a36Sopenharmony_ci#define SC8180X_MASTER_CAMNOC_SF_UNCOMP		28
3962306a36Sopenharmony_ci#define SC8180X_MASTER_NPU			29
4062306a36Sopenharmony_ci#define SC8180X_SNOC_CNOC_MAS			30
4162306a36Sopenharmony_ci#define SC8180X_MASTER_CNOC_DC_NOC		31
4262306a36Sopenharmony_ci#define SC8180X_MASTER_AMPSS_M0			32
4362306a36Sopenharmony_ci#define SC8180X_MASTER_GPU_TCU			33
4462306a36Sopenharmony_ci#define SC8180X_MASTER_SYS_TCU			34
4562306a36Sopenharmony_ci#define SC8180X_MASTER_GEM_NOC_CFG		35
4662306a36Sopenharmony_ci#define SC8180X_MASTER_COMPUTE_NOC		36
4762306a36Sopenharmony_ci#define SC8180X_MASTER_GRAPHICS_3D		37
4862306a36Sopenharmony_ci#define SC8180X_MASTER_MNOC_HF_MEM_NOC		38
4962306a36Sopenharmony_ci#define SC8180X_MASTER_MNOC_SF_MEM_NOC		39
5062306a36Sopenharmony_ci#define SC8180X_MASTER_GEM_NOC_PCIE_SNOC	40
5162306a36Sopenharmony_ci#define SC8180X_MASTER_SNOC_GC_MEM_NOC		41
5262306a36Sopenharmony_ci#define SC8180X_MASTER_SNOC_SF_MEM_NOC		42
5362306a36Sopenharmony_ci#define SC8180X_MASTER_ECC			43
5462306a36Sopenharmony_ci/* 44 was used by MASTER_IPA_CORE, now represented as RPMh clock */
5562306a36Sopenharmony_ci#define SC8180X_MASTER_LLCC			45
5662306a36Sopenharmony_ci#define SC8180X_MASTER_CNOC_MNOC_CFG		46
5762306a36Sopenharmony_ci#define SC8180X_MASTER_CAMNOC_HF0		47
5862306a36Sopenharmony_ci#define SC8180X_MASTER_CAMNOC_HF1		48
5962306a36Sopenharmony_ci#define SC8180X_MASTER_CAMNOC_SF		49
6062306a36Sopenharmony_ci#define SC8180X_MASTER_MDP_PORT0		50
6162306a36Sopenharmony_ci#define SC8180X_MASTER_MDP_PORT1		51
6262306a36Sopenharmony_ci#define SC8180X_MASTER_ROTATOR			52
6362306a36Sopenharmony_ci#define SC8180X_MASTER_VIDEO_P0			53
6462306a36Sopenharmony_ci#define SC8180X_MASTER_VIDEO_P1			54
6562306a36Sopenharmony_ci#define SC8180X_MASTER_VIDEO_PROC		55
6662306a36Sopenharmony_ci#define SC8180X_MASTER_SNOC_CFG			56
6762306a36Sopenharmony_ci#define SC8180X_A1NOC_SNOC_MAS			57
6862306a36Sopenharmony_ci#define SC8180X_A2NOC_SNOC_MAS			58
6962306a36Sopenharmony_ci#define SC8180X_MASTER_GEM_NOC_SNOC		59
7062306a36Sopenharmony_ci#define SC8180X_MASTER_PIMEM			60
7162306a36Sopenharmony_ci#define SC8180X_MASTER_GIC			61
7262306a36Sopenharmony_ci#define SC8180X_MASTER_MNOC_HF_MEM_NOC_DISPLAY	62
7362306a36Sopenharmony_ci#define SC8180X_MASTER_MNOC_SF_MEM_NOC_DISPLAY	63
7462306a36Sopenharmony_ci#define SC8180X_MASTER_LLCC_DISPLAY		64
7562306a36Sopenharmony_ci#define SC8180X_MASTER_MDP_PORT0_DISPLAY	65
7662306a36Sopenharmony_ci#define SC8180X_MASTER_MDP_PORT1_DISPLAY	66
7762306a36Sopenharmony_ci#define SC8180X_MASTER_ROTATOR_DISPLAY		67
7862306a36Sopenharmony_ci#define SC8180X_A1NOC_SNOC_SLV			68
7962306a36Sopenharmony_ci#define SC8180X_SLAVE_SERVICE_A1NOC		69
8062306a36Sopenharmony_ci#define SC8180X_A2NOC_SNOC_SLV			70
8162306a36Sopenharmony_ci#define SC8180X_SLAVE_ANOC_PCIE_GEM_NOC		71
8262306a36Sopenharmony_ci#define SC8180X_SLAVE_SERVICE_A2NOC		72
8362306a36Sopenharmony_ci#define SC8180X_SLAVE_CAMNOC_UNCOMP		73
8462306a36Sopenharmony_ci#define SC8180X_SLAVE_CDSP_MEM_NOC		74
8562306a36Sopenharmony_ci#define SC8180X_SLAVE_A1NOC_CFG			75
8662306a36Sopenharmony_ci#define SC8180X_SLAVE_A2NOC_CFG			76
8762306a36Sopenharmony_ci#define SC8180X_SLAVE_AHB2PHY_CENTER		77
8862306a36Sopenharmony_ci#define SC8180X_SLAVE_AHB2PHY_EAST		78
8962306a36Sopenharmony_ci#define SC8180X_SLAVE_AHB2PHY_WEST		79
9062306a36Sopenharmony_ci#define SC8180X_SLAVE_AHB2PHY_SOUTH		80
9162306a36Sopenharmony_ci#define SC8180X_SLAVE_AOP			81
9262306a36Sopenharmony_ci#define SC8180X_SLAVE_AOSS			82
9362306a36Sopenharmony_ci#define SC8180X_SLAVE_CAMERA_CFG		83
9462306a36Sopenharmony_ci#define SC8180X_SLAVE_CLK_CTL			84
9562306a36Sopenharmony_ci#define SC8180X_SLAVE_CDSP_CFG			85
9662306a36Sopenharmony_ci#define SC8180X_SLAVE_RBCPR_CX_CFG		86
9762306a36Sopenharmony_ci#define SC8180X_SLAVE_RBCPR_MMCX_CFG		87
9862306a36Sopenharmony_ci#define SC8180X_SLAVE_RBCPR_MX_CFG		88
9962306a36Sopenharmony_ci#define SC8180X_SLAVE_CRYPTO_0_CFG		89
10062306a36Sopenharmony_ci#define SC8180X_SLAVE_CNOC_DDRSS		90
10162306a36Sopenharmony_ci#define SC8180X_SLAVE_DISPLAY_CFG		91
10262306a36Sopenharmony_ci#define SC8180X_SLAVE_EMAC_CFG			92
10362306a36Sopenharmony_ci#define SC8180X_SLAVE_GLM			93
10462306a36Sopenharmony_ci#define SC8180X_SLAVE_GRAPHICS_3D_CFG		94
10562306a36Sopenharmony_ci#define SC8180X_SLAVE_IMEM_CFG			95
10662306a36Sopenharmony_ci#define SC8180X_SLAVE_IPA_CFG			96
10762306a36Sopenharmony_ci#define SC8180X_SLAVE_CNOC_MNOC_CFG		97
10862306a36Sopenharmony_ci#define SC8180X_SLAVE_NPU_CFG			98
10962306a36Sopenharmony_ci#define SC8180X_SLAVE_PCIE_0_CFG		99
11062306a36Sopenharmony_ci#define SC8180X_SLAVE_PCIE_1_CFG		100
11162306a36Sopenharmony_ci#define SC8180X_SLAVE_PCIE_2_CFG		101
11262306a36Sopenharmony_ci#define SC8180X_SLAVE_PCIE_3_CFG		102
11362306a36Sopenharmony_ci#define SC8180X_SLAVE_PDM			103
11462306a36Sopenharmony_ci#define SC8180X_SLAVE_PIMEM_CFG			104
11562306a36Sopenharmony_ci#define SC8180X_SLAVE_PRNG			105
11662306a36Sopenharmony_ci#define SC8180X_SLAVE_QDSS_CFG			106
11762306a36Sopenharmony_ci#define SC8180X_SLAVE_QSPI_0			107
11862306a36Sopenharmony_ci#define SC8180X_SLAVE_QSPI_1			108
11962306a36Sopenharmony_ci#define SC8180X_SLAVE_QUP_1			109
12062306a36Sopenharmony_ci#define SC8180X_SLAVE_QUP_2			110
12162306a36Sopenharmony_ci#define SC8180X_SLAVE_QUP_0			111
12262306a36Sopenharmony_ci#define SC8180X_SLAVE_SDCC_2			112
12362306a36Sopenharmony_ci#define SC8180X_SLAVE_SDCC_4			113
12462306a36Sopenharmony_ci#define SC8180X_SLAVE_SECURITY			114
12562306a36Sopenharmony_ci#define SC8180X_SLAVE_SNOC_CFG			115
12662306a36Sopenharmony_ci#define SC8180X_SLAVE_SPSS_CFG			116
12762306a36Sopenharmony_ci#define SC8180X_SLAVE_TCSR			117
12862306a36Sopenharmony_ci#define SC8180X_SLAVE_TLMM_EAST			118
12962306a36Sopenharmony_ci#define SC8180X_SLAVE_TLMM_SOUTH		119
13062306a36Sopenharmony_ci#define SC8180X_SLAVE_TLMM_WEST			120
13162306a36Sopenharmony_ci#define SC8180X_SLAVE_TSIF			121
13262306a36Sopenharmony_ci#define SC8180X_SLAVE_UFS_CARD_CFG		122
13362306a36Sopenharmony_ci#define SC8180X_SLAVE_UFS_MEM_0_CFG		123
13462306a36Sopenharmony_ci#define SC8180X_SLAVE_UFS_MEM_1_CFG		124
13562306a36Sopenharmony_ci#define SC8180X_SLAVE_USB3			125
13662306a36Sopenharmony_ci#define SC8180X_SLAVE_USB3_1			126
13762306a36Sopenharmony_ci#define SC8180X_SLAVE_USB3_2			127
13862306a36Sopenharmony_ci#define SC8180X_SLAVE_VENUS_CFG			128
13962306a36Sopenharmony_ci#define SC8180X_SLAVE_VSENSE_CTRL_CFG		129
14062306a36Sopenharmony_ci#define SC8180X_SLAVE_SERVICE_CNOC		130
14162306a36Sopenharmony_ci#define SC8180X_SLAVE_GEM_NOC_CFG		131
14262306a36Sopenharmony_ci#define SC8180X_SLAVE_LLCC_CFG			132
14362306a36Sopenharmony_ci#define SC8180X_SLAVE_MSS_PROC_MS_MPU_CFG	133
14462306a36Sopenharmony_ci#define SC8180X_SLAVE_ECC			134
14562306a36Sopenharmony_ci#define SC8180X_SLAVE_GEM_NOC_SNOC		135
14662306a36Sopenharmony_ci#define SC8180X_SLAVE_LLCC			136
14762306a36Sopenharmony_ci#define SC8180X_SLAVE_SERVICE_GEM_NOC		137
14862306a36Sopenharmony_ci#define SC8180X_SLAVE_SERVICE_GEM_NOC_1		138
14962306a36Sopenharmony_ci/* 139 was used by SLAVE_IPA_CORE, now represented as RPMh clock */
15062306a36Sopenharmony_ci#define SC8180X_SLAVE_EBI_CH0			140
15162306a36Sopenharmony_ci#define SC8180X_SLAVE_MNOC_SF_MEM_NOC		141
15262306a36Sopenharmony_ci#define SC8180X_SLAVE_MNOC_HF_MEM_NOC		142
15362306a36Sopenharmony_ci#define SC8180X_SLAVE_SERVICE_MNOC		143
15462306a36Sopenharmony_ci#define SC8180X_SLAVE_APPSS			144
15562306a36Sopenharmony_ci#define SC8180X_SNOC_CNOC_SLV			145
15662306a36Sopenharmony_ci#define SC8180X_SLAVE_SNOC_GEM_NOC_GC		146
15762306a36Sopenharmony_ci#define SC8180X_SLAVE_SNOC_GEM_NOC_SF		147
15862306a36Sopenharmony_ci#define SC8180X_SLAVE_OCIMEM			148
15962306a36Sopenharmony_ci#define SC8180X_SLAVE_PIMEM			149
16062306a36Sopenharmony_ci#define SC8180X_SLAVE_SERVICE_SNOC		150
16162306a36Sopenharmony_ci#define SC8180X_SLAVE_PCIE_0			151
16262306a36Sopenharmony_ci#define SC8180X_SLAVE_PCIE_1			152
16362306a36Sopenharmony_ci#define SC8180X_SLAVE_PCIE_2			153
16462306a36Sopenharmony_ci#define SC8180X_SLAVE_PCIE_3			154
16562306a36Sopenharmony_ci#define SC8180X_SLAVE_QDSS_STM			155
16662306a36Sopenharmony_ci#define SC8180X_SLAVE_TCU			156
16762306a36Sopenharmony_ci#define SC8180X_SLAVE_LLCC_DISPLAY		157
16862306a36Sopenharmony_ci#define SC8180X_SLAVE_EBI_CH0_DISPLAY		158
16962306a36Sopenharmony_ci#define SC8180X_SLAVE_MNOC_SF_MEM_NOC_DISPLAY	159
17062306a36Sopenharmony_ci#define SC8180X_SLAVE_MNOC_HF_MEM_NOC_DISPLAY	160
17162306a36Sopenharmony_ci
17262306a36Sopenharmony_ci#define SC8180X_MASTER_QUP_CORE_0		163
17362306a36Sopenharmony_ci#define SC8180X_MASTER_QUP_CORE_1		164
17462306a36Sopenharmony_ci#define SC8180X_MASTER_QUP_CORE_2		165
17562306a36Sopenharmony_ci#define SC8180X_SLAVE_QUP_CORE_0		166
17662306a36Sopenharmony_ci#define SC8180X_SLAVE_QUP_CORE_1		167
17762306a36Sopenharmony_ci#define SC8180X_SLAVE_QUP_CORE_2		168
17862306a36Sopenharmony_ci
17962306a36Sopenharmony_ci#endif
180