xref: /openbmc/linux/drivers/interconnect/qcom/sc7180.h (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
12d1f95abSOdelu Kukatla /* SPDX-License-Identifier: GPL-2.0 */
22d1f95abSOdelu Kukatla /*
32d1f95abSOdelu Kukatla  * Qualcomm #define SC7180 interconnect IDs
42d1f95abSOdelu Kukatla  *
52d1f95abSOdelu Kukatla  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
62d1f95abSOdelu Kukatla  */
72d1f95abSOdelu Kukatla 
82d1f95abSOdelu Kukatla #ifndef __DRIVERS_INTERCONNECT_QCOM_SC7180_H
92d1f95abSOdelu Kukatla #define __DRIVERS_INTERCONNECT_QCOM_SC7180_H
102d1f95abSOdelu Kukatla 
112d1f95abSOdelu Kukatla #define SC7180_MASTER_APPSS_PROC			0
122d1f95abSOdelu Kukatla #define SC7180_MASTER_SYS_TCU				1
132d1f95abSOdelu Kukatla #define SC7180_MASTER_NPU_SYS				2
14*1c0c93d0SDmitry Baryshkov /* 3 was used by MASTER_IPA_CORE, now represented as RPMh clock */
152d1f95abSOdelu Kukatla #define SC7180_MASTER_LLCC				4
162d1f95abSOdelu Kukatla #define SC7180_MASTER_A1NOC_CFG				5
172d1f95abSOdelu Kukatla #define SC7180_MASTER_A2NOC_CFG				6
182d1f95abSOdelu Kukatla #define SC7180_MASTER_CNOC_DC_NOC			7
192d1f95abSOdelu Kukatla #define SC7180_MASTER_GEM_NOC_CFG			8
202d1f95abSOdelu Kukatla #define SC7180_MASTER_CNOC_MNOC_CFG			9
212d1f95abSOdelu Kukatla #define SC7180_MASTER_NPU_NOC_CFG			10
222d1f95abSOdelu Kukatla #define SC7180_MASTER_QDSS_BAM				11
232d1f95abSOdelu Kukatla #define SC7180_MASTER_QSPI				12
242d1f95abSOdelu Kukatla #define SC7180_MASTER_QUP_0				13
252d1f95abSOdelu Kukatla #define SC7180_MASTER_QUP_1				14
262d1f95abSOdelu Kukatla #define SC7180_MASTER_SNOC_CFG				15
272d1f95abSOdelu Kukatla #define SC7180_MASTER_A1NOC_SNOC			16
282d1f95abSOdelu Kukatla #define SC7180_MASTER_A2NOC_SNOC			17
292d1f95abSOdelu Kukatla #define SC7180_MASTER_COMPUTE_NOC			18
302d1f95abSOdelu Kukatla #define SC7180_MASTER_GEM_NOC_SNOC			19
312d1f95abSOdelu Kukatla #define SC7180_MASTER_MNOC_HF_MEM_NOC			20
322d1f95abSOdelu Kukatla #define SC7180_MASTER_MNOC_SF_MEM_NOC			21
332d1f95abSOdelu Kukatla #define SC7180_MASTER_NPU				22
342d1f95abSOdelu Kukatla #define SC7180_MASTER_SNOC_CNOC				23
352d1f95abSOdelu Kukatla #define SC7180_MASTER_SNOC_GC_MEM_NOC			24
362d1f95abSOdelu Kukatla #define SC7180_MASTER_SNOC_SF_MEM_NOC			25
372d1f95abSOdelu Kukatla #define SC7180_MASTER_QUP_CORE_0			26
382d1f95abSOdelu Kukatla #define SC7180_MASTER_QUP_CORE_1			27
392d1f95abSOdelu Kukatla #define SC7180_MASTER_CAMNOC_HF0			28
402d1f95abSOdelu Kukatla #define SC7180_MASTER_CAMNOC_HF1			29
412d1f95abSOdelu Kukatla #define SC7180_MASTER_CAMNOC_HF0_UNCOMP			30
422d1f95abSOdelu Kukatla #define SC7180_MASTER_CAMNOC_HF1_UNCOMP			31
432d1f95abSOdelu Kukatla #define SC7180_MASTER_CAMNOC_SF				32
442d1f95abSOdelu Kukatla #define SC7180_MASTER_CAMNOC_SF_UNCOMP			33
452d1f95abSOdelu Kukatla #define SC7180_MASTER_CRYPTO				34
462d1f95abSOdelu Kukatla #define SC7180_MASTER_GFX3D				35
472d1f95abSOdelu Kukatla #define SC7180_MASTER_IPA				36
482d1f95abSOdelu Kukatla #define SC7180_MASTER_MDP0				37
492d1f95abSOdelu Kukatla #define SC7180_MASTER_NPU_PROC				38
502d1f95abSOdelu Kukatla #define SC7180_MASTER_PIMEM				39
512d1f95abSOdelu Kukatla #define SC7180_MASTER_ROTATOR				40
522d1f95abSOdelu Kukatla #define SC7180_MASTER_VIDEO_P0				41
532d1f95abSOdelu Kukatla #define SC7180_MASTER_VIDEO_PROC			42
542d1f95abSOdelu Kukatla #define SC7180_MASTER_QDSS_DAP				43
552d1f95abSOdelu Kukatla #define SC7180_MASTER_QDSS_ETR				44
562d1f95abSOdelu Kukatla #define SC7180_MASTER_SDCC_2				45
572d1f95abSOdelu Kukatla #define SC7180_MASTER_UFS_MEM				46
582d1f95abSOdelu Kukatla #define SC7180_MASTER_USB3				47
592d1f95abSOdelu Kukatla #define SC7180_MASTER_EMMC				48
602d1f95abSOdelu Kukatla #define SC7180_SLAVE_EBI1				49
61*1c0c93d0SDmitry Baryshkov /* 50 was used by SLAVE_IPA_CORE, now represented as RPMh clock */
622d1f95abSOdelu Kukatla #define SC7180_SLAVE_A1NOC_CFG				51
632d1f95abSOdelu Kukatla #define SC7180_SLAVE_A2NOC_CFG				52
642d1f95abSOdelu Kukatla #define SC7180_SLAVE_AHB2PHY_SOUTH			53
652d1f95abSOdelu Kukatla #define SC7180_SLAVE_AHB2PHY_CENTER			54
662d1f95abSOdelu Kukatla #define SC7180_SLAVE_AOP				55
672d1f95abSOdelu Kukatla #define SC7180_SLAVE_AOSS				56
682d1f95abSOdelu Kukatla #define SC7180_SLAVE_APPSS				57
692d1f95abSOdelu Kukatla #define SC7180_SLAVE_BOOT_ROM				58
702d1f95abSOdelu Kukatla #define SC7180_SLAVE_NPU_CAL_DP0			59
712d1f95abSOdelu Kukatla #define SC7180_SLAVE_CAMERA_CFG				60
722d1f95abSOdelu Kukatla #define SC7180_SLAVE_CAMERA_NRT_THROTTLE_CFG		61
732d1f95abSOdelu Kukatla #define SC7180_SLAVE_CAMERA_RT_THROTTLE_CFG		62
742d1f95abSOdelu Kukatla #define SC7180_SLAVE_CLK_CTL				63
752d1f95abSOdelu Kukatla #define SC7180_SLAVE_NPU_CP				64
762d1f95abSOdelu Kukatla #define SC7180_SLAVE_RBCPR_CX_CFG			65
772d1f95abSOdelu Kukatla #define SC7180_SLAVE_RBCPR_MX_CFG			66
782d1f95abSOdelu Kukatla #define SC7180_SLAVE_CRYPTO_0_CFG			67
792d1f95abSOdelu Kukatla #define SC7180_SLAVE_DCC_CFG				68
802d1f95abSOdelu Kukatla #define SC7180_SLAVE_CNOC_DDRSS				69
812d1f95abSOdelu Kukatla #define SC7180_SLAVE_DISPLAY_CFG			70
822d1f95abSOdelu Kukatla #define SC7180_SLAVE_DISPLAY_RT_THROTTLE_CFG		71
832d1f95abSOdelu Kukatla #define SC7180_SLAVE_DISPLAY_THROTTLE_CFG		72
842d1f95abSOdelu Kukatla #define SC7180_SLAVE_NPU_INT_DMA_BWMON_CFG		73
852d1f95abSOdelu Kukatla #define SC7180_SLAVE_NPU_DPM				74
862d1f95abSOdelu Kukatla #define SC7180_SLAVE_EMMC_CFG				75
872d1f95abSOdelu Kukatla #define SC7180_SLAVE_GEM_NOC_CFG			76
882d1f95abSOdelu Kukatla #define SC7180_SLAVE_GLM				77
892d1f95abSOdelu Kukatla #define SC7180_SLAVE_GFX3D_CFG				78
902d1f95abSOdelu Kukatla #define SC7180_SLAVE_IMEM_CFG				79
912d1f95abSOdelu Kukatla #define SC7180_SLAVE_IPA_CFG				80
922d1f95abSOdelu Kukatla #define SC7180_SLAVE_ISENSE_CFG				81
932d1f95abSOdelu Kukatla #define SC7180_SLAVE_LLCC_CFG				82
942d1f95abSOdelu Kukatla #define SC7180_SLAVE_NPU_LLM_CFG			83
952d1f95abSOdelu Kukatla #define SC7180_SLAVE_MSS_PROC_MS_MPU_CFG		84
962d1f95abSOdelu Kukatla #define SC7180_SLAVE_CNOC_MNOC_CFG			85
972d1f95abSOdelu Kukatla #define SC7180_SLAVE_CNOC_MSS				86
982d1f95abSOdelu Kukatla #define SC7180_SLAVE_NPU_CFG				87
992d1f95abSOdelu Kukatla #define SC7180_SLAVE_NPU_DMA_BWMON_CFG			88
1002d1f95abSOdelu Kukatla #define SC7180_SLAVE_NPU_PROC_BWMON_CFG			89
1012d1f95abSOdelu Kukatla #define SC7180_SLAVE_PDM				90
1022d1f95abSOdelu Kukatla #define SC7180_SLAVE_PIMEM_CFG				91
1032d1f95abSOdelu Kukatla #define SC7180_SLAVE_PRNG				92
1042d1f95abSOdelu Kukatla #define SC7180_SLAVE_QDSS_CFG				93
1052d1f95abSOdelu Kukatla #define SC7180_SLAVE_QM_CFG				94
1062d1f95abSOdelu Kukatla #define SC7180_SLAVE_QM_MPU_CFG				95
1072d1f95abSOdelu Kukatla #define SC7180_SLAVE_QSPI_0				96
1082d1f95abSOdelu Kukatla #define SC7180_SLAVE_QUP_0				97
1092d1f95abSOdelu Kukatla #define SC7180_SLAVE_QUP_1				98
1102d1f95abSOdelu Kukatla #define SC7180_SLAVE_SDCC_2				99
1112d1f95abSOdelu Kukatla #define SC7180_SLAVE_SECURITY				100
1122d1f95abSOdelu Kukatla #define SC7180_SLAVE_SNOC_CFG				101
1132d1f95abSOdelu Kukatla #define SC7180_SLAVE_NPU_TCM				102
1142d1f95abSOdelu Kukatla #define SC7180_SLAVE_TCSR				103
1152d1f95abSOdelu Kukatla #define SC7180_SLAVE_TLMM_WEST				104
1162d1f95abSOdelu Kukatla #define SC7180_SLAVE_TLMM_NORTH				105
1172d1f95abSOdelu Kukatla #define SC7180_SLAVE_TLMM_SOUTH				106
1182d1f95abSOdelu Kukatla #define SC7180_SLAVE_UFS_MEM_CFG			107
1192d1f95abSOdelu Kukatla #define SC7180_SLAVE_USB3				108
1202d1f95abSOdelu Kukatla #define SC7180_SLAVE_VENUS_CFG				109
1212d1f95abSOdelu Kukatla #define SC7180_SLAVE_VENUS_THROTTLE_CFG			110
1222d1f95abSOdelu Kukatla #define SC7180_SLAVE_VSENSE_CTRL_CFG			111
1232d1f95abSOdelu Kukatla #define SC7180_SLAVE_A1NOC_SNOC				112
1242d1f95abSOdelu Kukatla #define SC7180_SLAVE_A2NOC_SNOC				113
1252d1f95abSOdelu Kukatla #define SC7180_SLAVE_CAMNOC_UNCOMP			114
1262d1f95abSOdelu Kukatla #define SC7180_SLAVE_CDSP_GEM_NOC			115
1272d1f95abSOdelu Kukatla #define SC7180_SLAVE_SNOC_CNOC				116
1282d1f95abSOdelu Kukatla #define SC7180_SLAVE_GEM_NOC_SNOC			117
1292d1f95abSOdelu Kukatla #define SC7180_SLAVE_SNOC_GEM_NOC_GC			118
1302d1f95abSOdelu Kukatla #define SC7180_SLAVE_SNOC_GEM_NOC_SF			119
1312d1f95abSOdelu Kukatla #define SC7180_SLAVE_LLCC				120
1322d1f95abSOdelu Kukatla #define SC7180_SLAVE_MNOC_HF_MEM_NOC			121
1332d1f95abSOdelu Kukatla #define SC7180_SLAVE_MNOC_SF_MEM_NOC			122
1342d1f95abSOdelu Kukatla #define SC7180_SLAVE_NPU_COMPUTE_NOC			123
1352d1f95abSOdelu Kukatla #define SC7180_SLAVE_QUP_CORE_0				124
1362d1f95abSOdelu Kukatla #define SC7180_SLAVE_QUP_CORE_1				125
1372d1f95abSOdelu Kukatla #define SC7180_SLAVE_IMEM				126
1382d1f95abSOdelu Kukatla #define SC7180_SLAVE_PIMEM				127
1392d1f95abSOdelu Kukatla #define SC7180_SLAVE_SERVICE_A1NOC			128
1402d1f95abSOdelu Kukatla #define SC7180_SLAVE_SERVICE_A2NOC			129
1412d1f95abSOdelu Kukatla #define SC7180_SLAVE_SERVICE_CNOC			130
1422d1f95abSOdelu Kukatla #define SC7180_SLAVE_SERVICE_GEM_NOC			131
1432d1f95abSOdelu Kukatla #define SC7180_SLAVE_SERVICE_MNOC			132
1442d1f95abSOdelu Kukatla #define SC7180_SLAVE_SERVICE_NPU_NOC			133
1452d1f95abSOdelu Kukatla #define SC7180_SLAVE_SERVICE_SNOC			134
1462d1f95abSOdelu Kukatla #define SC7180_SLAVE_QDSS_STM				135
1472d1f95abSOdelu Kukatla #define SC7180_SLAVE_TCU				136
1482d1f95abSOdelu Kukatla 
1492d1f95abSOdelu Kukatla #endif
150