xref: /linux/drivers/interconnect/qcom/sc8180x.h (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
19c8c6bacSGeorgi Djakov /* SPDX-License-Identifier: GPL-2.0 */
29c8c6bacSGeorgi Djakov /*
39c8c6bacSGeorgi Djakov  * Qualcomm #define SC8180X interconnect IDs
49c8c6bacSGeorgi Djakov  *
59c8c6bacSGeorgi Djakov  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
69c8c6bacSGeorgi Djakov  */
79c8c6bacSGeorgi Djakov 
89c8c6bacSGeorgi Djakov #ifndef __DRIVERS_INTERCONNECT_QCOM_SC8180X_H
99c8c6bacSGeorgi Djakov #define __DRIVERS_INTERCONNECT_QCOM_SC8180X_H
109c8c6bacSGeorgi Djakov 
119c8c6bacSGeorgi Djakov #define SC8180X_MASTER_A1NOC_CFG		1
129c8c6bacSGeorgi Djakov #define SC8180X_MASTER_UFS_CARD			2
139c8c6bacSGeorgi Djakov #define SC8180X_MASTER_UFS_GEN4			3
149c8c6bacSGeorgi Djakov #define SC8180X_MASTER_UFS_MEM			4
159c8c6bacSGeorgi Djakov #define SC8180X_MASTER_USB3			5
169c8c6bacSGeorgi Djakov #define SC8180X_MASTER_USB3_1			6
179c8c6bacSGeorgi Djakov #define SC8180X_MASTER_USB3_2			7
189c8c6bacSGeorgi Djakov #define SC8180X_MASTER_A2NOC_CFG		8
199c8c6bacSGeorgi Djakov #define SC8180X_MASTER_QDSS_BAM			9
209c8c6bacSGeorgi Djakov #define SC8180X_MASTER_QSPI_0			10
219c8c6bacSGeorgi Djakov #define SC8180X_MASTER_QSPI_1			11
229c8c6bacSGeorgi Djakov #define SC8180X_MASTER_QUP_0			12
239c8c6bacSGeorgi Djakov #define SC8180X_MASTER_QUP_1			13
249c8c6bacSGeorgi Djakov #define SC8180X_MASTER_QUP_2			14
259c8c6bacSGeorgi Djakov #define SC8180X_MASTER_SENSORS_AHB		15
269c8c6bacSGeorgi Djakov #define SC8180X_MASTER_CRYPTO_CORE_0		16
279c8c6bacSGeorgi Djakov #define SC8180X_MASTER_IPA			17
289c8c6bacSGeorgi Djakov #define SC8180X_MASTER_EMAC			18
299c8c6bacSGeorgi Djakov #define SC8180X_MASTER_PCIE			19
309c8c6bacSGeorgi Djakov #define SC8180X_MASTER_PCIE_1			20
319c8c6bacSGeorgi Djakov #define SC8180X_MASTER_PCIE_2			21
329c8c6bacSGeorgi Djakov #define SC8180X_MASTER_PCIE_3			22
339c8c6bacSGeorgi Djakov #define SC8180X_MASTER_QDSS_ETR			23
349c8c6bacSGeorgi Djakov #define SC8180X_MASTER_SDCC_2			24
359c8c6bacSGeorgi Djakov #define SC8180X_MASTER_SDCC_4			25
369c8c6bacSGeorgi Djakov #define SC8180X_MASTER_CAMNOC_HF0_UNCOMP	26
379c8c6bacSGeorgi Djakov #define SC8180X_MASTER_CAMNOC_HF1_UNCOMP	27
389c8c6bacSGeorgi Djakov #define SC8180X_MASTER_CAMNOC_SF_UNCOMP		28
399c8c6bacSGeorgi Djakov #define SC8180X_MASTER_NPU			29
409c8c6bacSGeorgi Djakov #define SC8180X_SNOC_CNOC_MAS			30
419c8c6bacSGeorgi Djakov #define SC8180X_MASTER_CNOC_DC_NOC		31
429c8c6bacSGeorgi Djakov #define SC8180X_MASTER_AMPSS_M0			32
439c8c6bacSGeorgi Djakov #define SC8180X_MASTER_GPU_TCU			33
449c8c6bacSGeorgi Djakov #define SC8180X_MASTER_SYS_TCU			34
459c8c6bacSGeorgi Djakov #define SC8180X_MASTER_GEM_NOC_CFG		35
469c8c6bacSGeorgi Djakov #define SC8180X_MASTER_COMPUTE_NOC		36
479c8c6bacSGeorgi Djakov #define SC8180X_MASTER_GRAPHICS_3D		37
489c8c6bacSGeorgi Djakov #define SC8180X_MASTER_MNOC_HF_MEM_NOC		38
499c8c6bacSGeorgi Djakov #define SC8180X_MASTER_MNOC_SF_MEM_NOC		39
509c8c6bacSGeorgi Djakov #define SC8180X_MASTER_GEM_NOC_PCIE_SNOC	40
519c8c6bacSGeorgi Djakov #define SC8180X_MASTER_SNOC_GC_MEM_NOC		41
529c8c6bacSGeorgi Djakov #define SC8180X_MASTER_SNOC_SF_MEM_NOC		42
539c8c6bacSGeorgi Djakov #define SC8180X_MASTER_ECC			43
54*c4801e24SDmitry Baryshkov /* 44 was used by MASTER_IPA_CORE, now represented as RPMh clock */
559c8c6bacSGeorgi Djakov #define SC8180X_MASTER_LLCC			45
569c8c6bacSGeorgi Djakov #define SC8180X_MASTER_CNOC_MNOC_CFG		46
579c8c6bacSGeorgi Djakov #define SC8180X_MASTER_CAMNOC_HF0		47
589c8c6bacSGeorgi Djakov #define SC8180X_MASTER_CAMNOC_HF1		48
599c8c6bacSGeorgi Djakov #define SC8180X_MASTER_CAMNOC_SF		49
609c8c6bacSGeorgi Djakov #define SC8180X_MASTER_MDP_PORT0		50
619c8c6bacSGeorgi Djakov #define SC8180X_MASTER_MDP_PORT1		51
629c8c6bacSGeorgi Djakov #define SC8180X_MASTER_ROTATOR			52
639c8c6bacSGeorgi Djakov #define SC8180X_MASTER_VIDEO_P0			53
649c8c6bacSGeorgi Djakov #define SC8180X_MASTER_VIDEO_P1			54
659c8c6bacSGeorgi Djakov #define SC8180X_MASTER_VIDEO_PROC		55
669c8c6bacSGeorgi Djakov #define SC8180X_MASTER_SNOC_CFG			56
679c8c6bacSGeorgi Djakov #define SC8180X_A1NOC_SNOC_MAS			57
689c8c6bacSGeorgi Djakov #define SC8180X_A2NOC_SNOC_MAS			58
699c8c6bacSGeorgi Djakov #define SC8180X_MASTER_GEM_NOC_SNOC		59
709c8c6bacSGeorgi Djakov #define SC8180X_MASTER_PIMEM			60
719c8c6bacSGeorgi Djakov #define SC8180X_MASTER_GIC			61
729c8c6bacSGeorgi Djakov #define SC8180X_MASTER_MNOC_HF_MEM_NOC_DISPLAY	62
739c8c6bacSGeorgi Djakov #define SC8180X_MASTER_MNOC_SF_MEM_NOC_DISPLAY	63
749c8c6bacSGeorgi Djakov #define SC8180X_MASTER_LLCC_DISPLAY		64
759c8c6bacSGeorgi Djakov #define SC8180X_MASTER_MDP_PORT0_DISPLAY	65
769c8c6bacSGeorgi Djakov #define SC8180X_MASTER_MDP_PORT1_DISPLAY	66
779c8c6bacSGeorgi Djakov #define SC8180X_MASTER_ROTATOR_DISPLAY		67
789c8c6bacSGeorgi Djakov #define SC8180X_A1NOC_SNOC_SLV			68
799c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SERVICE_A1NOC		69
809c8c6bacSGeorgi Djakov #define SC8180X_A2NOC_SNOC_SLV			70
819c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_ANOC_PCIE_GEM_NOC		71
829c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SERVICE_A2NOC		72
839c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_CAMNOC_UNCOMP		73
849c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_CDSP_MEM_NOC		74
859c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_A1NOC_CFG			75
869c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_A2NOC_CFG			76
879c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_AHB2PHY_CENTER		77
889c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_AHB2PHY_EAST		78
899c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_AHB2PHY_WEST		79
909c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_AHB2PHY_SOUTH		80
919c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_AOP			81
929c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_AOSS			82
939c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_CAMERA_CFG		83
949c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_CLK_CTL			84
959c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_CDSP_CFG			85
969c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_RBCPR_CX_CFG		86
979c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_RBCPR_MMCX_CFG		87
989c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_RBCPR_MX_CFG		88
999c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_CRYPTO_0_CFG		89
1009c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_CNOC_DDRSS		90
1019c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_DISPLAY_CFG		91
1029c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_EMAC_CFG			92
1039c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_GLM			93
1049c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_GRAPHICS_3D_CFG		94
1059c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_IMEM_CFG			95
1069c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_IPA_CFG			96
1079c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_CNOC_MNOC_CFG		97
1089c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_NPU_CFG			98
1099c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_PCIE_0_CFG		99
1109c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_PCIE_1_CFG		100
1119c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_PCIE_2_CFG		101
1129c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_PCIE_3_CFG		102
1139c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_PDM			103
1149c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_PIMEM_CFG			104
1159c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_PRNG			105
1169c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_QDSS_CFG			106
1179c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_QSPI_0			107
1189c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_QSPI_1			108
1199c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_QUP_1			109
1209c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_QUP_2			110
1219c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_QUP_0			111
1229c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SDCC_2			112
1239c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SDCC_4			113
1249c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SECURITY			114
1259c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SNOC_CFG			115
1269c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SPSS_CFG			116
1279c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_TCSR			117
1289c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_TLMM_EAST			118
1299c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_TLMM_SOUTH		119
1309c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_TLMM_WEST			120
1319c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_TSIF			121
1329c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_UFS_CARD_CFG		122
1339c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_UFS_MEM_0_CFG		123
1349c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_UFS_MEM_1_CFG		124
1359c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_USB3			125
1369c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_USB3_1			126
1379c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_USB3_2			127
1389c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_VENUS_CFG			128
1399c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_VSENSE_CTRL_CFG		129
1409c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SERVICE_CNOC		130
1419c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_GEM_NOC_CFG		131
1429c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_LLCC_CFG			132
1439c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_MSS_PROC_MS_MPU_CFG	133
1449c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_ECC			134
1459c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_GEM_NOC_SNOC		135
1469c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_LLCC			136
1479c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SERVICE_GEM_NOC		137
1489c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SERVICE_GEM_NOC_1		138
149*c4801e24SDmitry Baryshkov /* 139 was used by SLAVE_IPA_CORE, now represented as RPMh clock */
1509c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_EBI_CH0			140
1519c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_MNOC_SF_MEM_NOC		141
1529c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_MNOC_HF_MEM_NOC		142
1539c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SERVICE_MNOC		143
1549c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_APPSS			144
1559c8c6bacSGeorgi Djakov #define SC8180X_SNOC_CNOC_SLV			145
1569c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SNOC_GEM_NOC_GC		146
1579c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SNOC_GEM_NOC_SF		147
1589c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_OCIMEM			148
1599c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_PIMEM			149
1609c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_SERVICE_SNOC		150
1619c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_PCIE_0			151
1629c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_PCIE_1			152
1639c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_PCIE_2			153
1649c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_PCIE_3			154
1659c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_QDSS_STM			155
1669c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_TCU			156
1679c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_LLCC_DISPLAY		157
1689c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_EBI_CH0_DISPLAY		158
1699c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_MNOC_SF_MEM_NOC_DISPLAY	159
1709c8c6bacSGeorgi Djakov #define SC8180X_SLAVE_MNOC_HF_MEM_NOC_DISPLAY	160
1719c8c6bacSGeorgi Djakov 
17242c4e3f6SBjorn Andersson #define SC8180X_MASTER_QUP_CORE_0		163
17342c4e3f6SBjorn Andersson #define SC8180X_MASTER_QUP_CORE_1		164
17442c4e3f6SBjorn Andersson #define SC8180X_MASTER_QUP_CORE_2		165
17542c4e3f6SBjorn Andersson #define SC8180X_SLAVE_QUP_CORE_0		166
17642c4e3f6SBjorn Andersson #define SC8180X_SLAVE_QUP_CORE_1		167
17742c4e3f6SBjorn Andersson #define SC8180X_SLAVE_QUP_CORE_2		168
17842c4e3f6SBjorn Andersson 
1799c8c6bacSGeorgi Djakov #endif
180