1a09b817cSJonathan Marek /* SPDX-License-Identifier: GPL-2.0 */ 2a09b817cSJonathan Marek /* 3a09b817cSJonathan Marek * Qualcomm #define SM8250 interconnect IDs 4a09b817cSJonathan Marek * 5a09b817cSJonathan Marek * Copyright (c) 2020, The Linux Foundation. All rights reserved. 6a09b817cSJonathan Marek */ 7a09b817cSJonathan Marek 8a09b817cSJonathan Marek #ifndef __DRIVERS_INTERCONNECT_QCOM_SM8150_H 9a09b817cSJonathan Marek #define __DRIVERS_INTERCONNECT_QCOM_SM8150_H 10a09b817cSJonathan Marek 11a09b817cSJonathan Marek #define SM8150_A1NOC_SNOC_MAS 0 12a09b817cSJonathan Marek #define SM8150_A1NOC_SNOC_SLV 1 13a09b817cSJonathan Marek #define SM8150_A2NOC_SNOC_MAS 2 14a09b817cSJonathan Marek #define SM8150_A2NOC_SNOC_SLV 3 15a09b817cSJonathan Marek #define SM8150_MASTER_A1NOC_CFG 4 16a09b817cSJonathan Marek #define SM8150_MASTER_A2NOC_CFG 5 17a09b817cSJonathan Marek #define SM8150_MASTER_AMPSS_M0 6 18a09b817cSJonathan Marek #define SM8150_MASTER_CAMNOC_HF0 7 19a09b817cSJonathan Marek #define SM8150_MASTER_CAMNOC_HF0_UNCOMP 8 20a09b817cSJonathan Marek #define SM8150_MASTER_CAMNOC_HF1 9 21a09b817cSJonathan Marek #define SM8150_MASTER_CAMNOC_HF1_UNCOMP 10 22a09b817cSJonathan Marek #define SM8150_MASTER_CAMNOC_SF 11 23a09b817cSJonathan Marek #define SM8150_MASTER_CAMNOC_SF_UNCOMP 12 24a09b817cSJonathan Marek #define SM8150_MASTER_CNOC_A2NOC 13 25a09b817cSJonathan Marek #define SM8150_MASTER_CNOC_DC_NOC 14 26a09b817cSJonathan Marek #define SM8150_MASTER_CNOC_MNOC_CFG 15 27a09b817cSJonathan Marek #define SM8150_MASTER_COMPUTE_NOC 16 28a09b817cSJonathan Marek #define SM8150_MASTER_CRYPTO_CORE_0 17 29a09b817cSJonathan Marek #define SM8150_MASTER_ECC 18 30a09b817cSJonathan Marek #define SM8150_MASTER_EMAC 19 31a09b817cSJonathan Marek #define SM8150_MASTER_GEM_NOC_CFG 20 32a09b817cSJonathan Marek #define SM8150_MASTER_GEM_NOC_PCIE_SNOC 21 33a09b817cSJonathan Marek #define SM8150_MASTER_GEM_NOC_SNOC 22 34a09b817cSJonathan Marek #define SM8150_MASTER_GIC 23 35a09b817cSJonathan Marek #define SM8150_MASTER_GPU_TCU 24 36a09b817cSJonathan Marek #define SM8150_MASTER_GRAPHICS_3D 25 37a09b817cSJonathan Marek #define SM8150_MASTER_IPA 26 38*a5324391SDmitry Baryshkov /* 27 was used by SLAVE_IPA_CORE, now represented as RPMh clock */ 39a09b817cSJonathan Marek #define SM8150_MASTER_LLCC 28 40a09b817cSJonathan Marek #define SM8150_MASTER_MDP_PORT0 29 41a09b817cSJonathan Marek #define SM8150_MASTER_MDP_PORT1 30 42a09b817cSJonathan Marek #define SM8150_MASTER_MNOC_HF_MEM_NOC 31 43a09b817cSJonathan Marek #define SM8150_MASTER_MNOC_SF_MEM_NOC 32 44a09b817cSJonathan Marek #define SM8150_MASTER_NPU 33 45a09b817cSJonathan Marek #define SM8150_MASTER_PCIE 34 46a09b817cSJonathan Marek #define SM8150_MASTER_PCIE_1 35 47a09b817cSJonathan Marek #define SM8150_MASTER_PIMEM 36 48a09b817cSJonathan Marek #define SM8150_MASTER_QDSS_BAM 37 49a09b817cSJonathan Marek #define SM8150_MASTER_QDSS_DAP 38 50a09b817cSJonathan Marek #define SM8150_MASTER_QDSS_ETR 39 51a09b817cSJonathan Marek #define SM8150_MASTER_QSPI 40 52a09b817cSJonathan Marek #define SM8150_MASTER_QUP_0 41 53a09b817cSJonathan Marek #define SM8150_MASTER_QUP_1 42 54a09b817cSJonathan Marek #define SM8150_MASTER_QUP_2 43 55a09b817cSJonathan Marek #define SM8150_MASTER_ROTATOR 44 56a09b817cSJonathan Marek #define SM8150_MASTER_SDCC_2 45 57a09b817cSJonathan Marek #define SM8150_MASTER_SDCC_4 46 58a09b817cSJonathan Marek #define SM8150_MASTER_SENSORS_AHB 47 59a09b817cSJonathan Marek #define SM8150_MASTER_SNOC_CFG 48 60a09b817cSJonathan Marek #define SM8150_MASTER_SNOC_GC_MEM_NOC 49 61a09b817cSJonathan Marek #define SM8150_MASTER_SNOC_SF_MEM_NOC 50 62a09b817cSJonathan Marek #define SM8150_MASTER_SPDM 51 63a09b817cSJonathan Marek #define SM8150_MASTER_SYS_TCU 52 64a09b817cSJonathan Marek #define SM8150_MASTER_TSIF 53 65a09b817cSJonathan Marek #define SM8150_MASTER_UFS_MEM 54 66a09b817cSJonathan Marek #define SM8150_MASTER_USB3 55 67a09b817cSJonathan Marek #define SM8150_MASTER_USB3_1 56 68a09b817cSJonathan Marek #define SM8150_MASTER_VIDEO_P0 57 69a09b817cSJonathan Marek #define SM8150_MASTER_VIDEO_P1 58 70a09b817cSJonathan Marek #define SM8150_MASTER_VIDEO_PROC 59 71a09b817cSJonathan Marek #define SM8150_SLAVE_A1NOC_CFG 60 72a09b817cSJonathan Marek #define SM8150_SLAVE_A2NOC_CFG 61 73a09b817cSJonathan Marek #define SM8150_SLAVE_AHB2PHY_SOUTH 62 74a09b817cSJonathan Marek #define SM8150_SLAVE_ANOC_PCIE_GEM_NOC 63 75a09b817cSJonathan Marek #define SM8150_SLAVE_AOP 64 76a09b817cSJonathan Marek #define SM8150_SLAVE_AOSS 65 77a09b817cSJonathan Marek #define SM8150_SLAVE_APPSS 66 78a09b817cSJonathan Marek #define SM8150_SLAVE_CAMERA_CFG 67 79a09b817cSJonathan Marek #define SM8150_SLAVE_CAMNOC_UNCOMP 68 80a09b817cSJonathan Marek #define SM8150_SLAVE_CDSP_CFG 69 81a09b817cSJonathan Marek #define SM8150_SLAVE_CDSP_MEM_NOC 70 82a09b817cSJonathan Marek #define SM8150_SLAVE_CLK_CTL 71 83a09b817cSJonathan Marek #define SM8150_SLAVE_CNOC_A2NOC 72 84a09b817cSJonathan Marek #define SM8150_SLAVE_CNOC_DDRSS 73 85a09b817cSJonathan Marek #define SM8150_SLAVE_CNOC_MNOC_CFG 74 86a09b817cSJonathan Marek #define SM8150_SLAVE_CRYPTO_0_CFG 75 87a09b817cSJonathan Marek #define SM8150_SLAVE_DISPLAY_CFG 76 88a09b817cSJonathan Marek #define SM8150_SLAVE_EBI_CH0 77 89a09b817cSJonathan Marek #define SM8150_SLAVE_ECC 78 90a09b817cSJonathan Marek #define SM8150_SLAVE_EMAC_CFG 79 91a09b817cSJonathan Marek #define SM8150_SLAVE_GEM_NOC_CFG 80 92a09b817cSJonathan Marek #define SM8150_SLAVE_GEM_NOC_SNOC 81 93a09b817cSJonathan Marek #define SM8150_SLAVE_GLM 82 94a09b817cSJonathan Marek #define SM8150_SLAVE_GRAPHICS_3D_CFG 83 95a09b817cSJonathan Marek #define SM8150_SLAVE_IMEM_CFG 84 96a09b817cSJonathan Marek #define SM8150_SLAVE_IPA_CFG 85 97*a5324391SDmitry Baryshkov /* 86 was used by SLAVE_IPA_CORE, now represented as RPMh clock */ 98a09b817cSJonathan Marek #define SM8150_SLAVE_LLCC 87 99a09b817cSJonathan Marek #define SM8150_SLAVE_LLCC_CFG 88 100a09b817cSJonathan Marek #define SM8150_SLAVE_MNOC_HF_MEM_NOC 89 101a09b817cSJonathan Marek #define SM8150_SLAVE_MNOC_SF_MEM_NOC 90 102a09b817cSJonathan Marek #define SM8150_SLAVE_MSS_PROC_MS_MPU_CFG 91 103a09b817cSJonathan Marek #define SM8150_SLAVE_NORTH_PHY_CFG 92 104a09b817cSJonathan Marek #define SM8150_SLAVE_NPU_CFG 93 105a09b817cSJonathan Marek #define SM8150_SLAVE_OCIMEM 94 106a09b817cSJonathan Marek #define SM8150_SLAVE_PCIE_0 95 107a09b817cSJonathan Marek #define SM8150_SLAVE_PCIE_0_CFG 96 108a09b817cSJonathan Marek #define SM8150_SLAVE_PCIE_1 97 109a09b817cSJonathan Marek #define SM8150_SLAVE_PCIE_1_CFG 98 110a09b817cSJonathan Marek #define SM8150_SLAVE_PIMEM 99 111a09b817cSJonathan Marek #define SM8150_SLAVE_PIMEM_CFG 100 112a09b817cSJonathan Marek #define SM8150_SLAVE_PRNG 101 113a09b817cSJonathan Marek #define SM8150_SLAVE_QDSS_CFG 102 114a09b817cSJonathan Marek #define SM8150_SLAVE_QDSS_STM 103 115a09b817cSJonathan Marek #define SM8150_SLAVE_QSPI 104 116a09b817cSJonathan Marek #define SM8150_SLAVE_QUP_0 105 117a09b817cSJonathan Marek #define SM8150_SLAVE_QUP_1 106 118a09b817cSJonathan Marek #define SM8150_SLAVE_QUP_2 107 119a09b817cSJonathan Marek #define SM8150_SLAVE_RBCPR_CX_CFG 108 120a09b817cSJonathan Marek #define SM8150_SLAVE_RBCPR_MMCX_CFG 109 121a09b817cSJonathan Marek #define SM8150_SLAVE_RBCPR_MX_CFG 110 122a09b817cSJonathan Marek #define SM8150_SLAVE_SDCC_2 111 123a09b817cSJonathan Marek #define SM8150_SLAVE_SDCC_4 112 124a09b817cSJonathan Marek #define SM8150_SLAVE_SERVICE_A1NOC 113 125a09b817cSJonathan Marek #define SM8150_SLAVE_SERVICE_A2NOC 114 126a09b817cSJonathan Marek #define SM8150_SLAVE_SERVICE_CNOC 115 127a09b817cSJonathan Marek #define SM8150_SLAVE_SERVICE_GEM_NOC 116 128a09b817cSJonathan Marek #define SM8150_SLAVE_SERVICE_MNOC 117 129a09b817cSJonathan Marek #define SM8150_SLAVE_SERVICE_SNOC 118 130a09b817cSJonathan Marek #define SM8150_SLAVE_SNOC_CFG 119 131a09b817cSJonathan Marek #define SM8150_SLAVE_SNOC_GEM_NOC_GC 120 132a09b817cSJonathan Marek #define SM8150_SLAVE_SNOC_GEM_NOC_SF 121 133a09b817cSJonathan Marek #define SM8150_SLAVE_SPDM_WRAPPER 122 134a09b817cSJonathan Marek #define SM8150_SLAVE_SPSS_CFG 123 135a09b817cSJonathan Marek #define SM8150_SLAVE_SSC_CFG 124 136a09b817cSJonathan Marek #define SM8150_SLAVE_TCSR 125 137a09b817cSJonathan Marek #define SM8150_SLAVE_TCU 126 138a09b817cSJonathan Marek #define SM8150_SLAVE_TLMM_EAST 127 139a09b817cSJonathan Marek #define SM8150_SLAVE_TLMM_NORTH 128 140a09b817cSJonathan Marek #define SM8150_SLAVE_TLMM_SOUTH 129 141a09b817cSJonathan Marek #define SM8150_SLAVE_TLMM_WEST 130 142a09b817cSJonathan Marek #define SM8150_SLAVE_TSIF 131 143a09b817cSJonathan Marek #define SM8150_SLAVE_UFS_CARD_CFG 132 144a09b817cSJonathan Marek #define SM8150_SLAVE_UFS_MEM_CFG 133 145a09b817cSJonathan Marek #define SM8150_SLAVE_USB3 134 146a09b817cSJonathan Marek #define SM8150_SLAVE_USB3_1 135 147a09b817cSJonathan Marek #define SM8150_SLAVE_VENUS_CFG 136 148a09b817cSJonathan Marek #define SM8150_SLAVE_VSENSE_CTRL_CFG 137 149a09b817cSJonathan Marek #define SM8150_SNOC_CNOC_MAS 138 150a09b817cSJonathan Marek #define SM8150_SNOC_CNOC_SLV 139 151a09b817cSJonathan Marek 152a09b817cSJonathan Marek #endif 153