1 1.1 jmcneill /* $NetBSD: qcom,sc7280.h,v 1.1.1.1 2021/11/07 16:49:57 jmcneill Exp $ */ 2 1.1 jmcneill 3 1.1 jmcneill /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 4 1.1 jmcneill /* 5 1.1 jmcneill * Qualcomm SC7280 interconnect IDs 6 1.1 jmcneill * 7 1.1 jmcneill * Copyright (c) 2021, The Linux Foundation. All rights reserved. 8 1.1 jmcneill */ 9 1.1 jmcneill 10 1.1 jmcneill #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SC7280_H 11 1.1 jmcneill #define __DT_BINDINGS_INTERCONNECT_QCOM_SC7280_H 12 1.1 jmcneill 13 1.1 jmcneill #define MASTER_QSPI_0 0 14 1.1 jmcneill #define MASTER_QUP_0 1 15 1.1 jmcneill #define MASTER_QUP_1 2 16 1.1 jmcneill #define MASTER_A1NOC_CFG 3 17 1.1 jmcneill #define MASTER_PCIE_0 4 18 1.1 jmcneill #define MASTER_PCIE_1 5 19 1.1 jmcneill #define MASTER_SDCC_1 6 20 1.1 jmcneill #define MASTER_SDCC_2 7 21 1.1 jmcneill #define MASTER_SDCC_4 8 22 1.1 jmcneill #define MASTER_UFS_MEM 9 23 1.1 jmcneill #define MASTER_USB2 10 24 1.1 jmcneill #define MASTER_USB3_0 11 25 1.1 jmcneill #define SLAVE_A1NOC_SNOC 12 26 1.1 jmcneill #define SLAVE_ANOC_PCIE_GEM_NOC 13 27 1.1 jmcneill #define SLAVE_SERVICE_A1NOC 14 28 1.1 jmcneill 29 1.1 jmcneill #define MASTER_QDSS_BAM 0 30 1.1 jmcneill #define MASTER_A2NOC_CFG 1 31 1.1 jmcneill #define MASTER_CNOC_A2NOC 2 32 1.1 jmcneill #define MASTER_CRYPTO 3 33 1.1 jmcneill #define MASTER_IPA 4 34 1.1 jmcneill #define MASTER_QDSS_ETR 5 35 1.1 jmcneill #define SLAVE_A2NOC_SNOC 6 36 1.1 jmcneill #define SLAVE_SERVICE_A2NOC 7 37 1.1 jmcneill 38 1.1 jmcneill #define MASTER_QUP_CORE_0 0 39 1.1 jmcneill #define MASTER_QUP_CORE_1 1 40 1.1 jmcneill #define SLAVE_QUP_CORE_0 2 41 1.1 jmcneill #define SLAVE_QUP_CORE_1 3 42 1.1 jmcneill 43 1.1 jmcneill #define MASTER_CNOC3_CNOC2 0 44 1.1 jmcneill #define MASTER_QDSS_DAP 1 45 1.1 jmcneill #define SLAVE_AHB2PHY_SOUTH 2 46 1.1 jmcneill #define SLAVE_AHB2PHY_NORTH 3 47 1.1 jmcneill #define SLAVE_CAMERA_CFG 4 48 1.1 jmcneill #define SLAVE_CLK_CTL 5 49 1.1 jmcneill #define SLAVE_CDSP_CFG 6 50 1.1 jmcneill #define SLAVE_RBCPR_CX_CFG 7 51 1.1 jmcneill #define SLAVE_RBCPR_MX_CFG 8 52 1.1 jmcneill #define SLAVE_CRYPTO_0_CFG 9 53 1.1 jmcneill #define SLAVE_CX_RDPM 10 54 1.1 jmcneill #define SLAVE_DCC_CFG 11 55 1.1 jmcneill #define SLAVE_DISPLAY_CFG 12 56 1.1 jmcneill #define SLAVE_GFX3D_CFG 13 57 1.1 jmcneill #define SLAVE_HWKM 14 58 1.1 jmcneill #define SLAVE_IMEM_CFG 15 59 1.1 jmcneill #define SLAVE_IPA_CFG 16 60 1.1 jmcneill #define SLAVE_IPC_ROUTER_CFG 17 61 1.1 jmcneill #define SLAVE_LPASS 18 62 1.1 jmcneill #define SLAVE_CNOC_MSS 19 63 1.1 jmcneill #define SLAVE_MX_RDPM 20 64 1.1 jmcneill #define SLAVE_PCIE_0_CFG 21 65 1.1 jmcneill #define SLAVE_PCIE_1_CFG 22 66 1.1 jmcneill #define SLAVE_PDM 23 67 1.1 jmcneill #define SLAVE_PIMEM_CFG 24 68 1.1 jmcneill #define SLAVE_PKA_WRAPPER_CFG 25 69 1.1 jmcneill #define SLAVE_PMU_WRAPPER_CFG 26 70 1.1 jmcneill #define SLAVE_QDSS_CFG 27 71 1.1 jmcneill #define SLAVE_QSPI_0 28 72 1.1 jmcneill #define SLAVE_QUP_0 29 73 1.1 jmcneill #define SLAVE_QUP_1 30 74 1.1 jmcneill #define SLAVE_SDCC_1 31 75 1.1 jmcneill #define SLAVE_SDCC_2 32 76 1.1 jmcneill #define SLAVE_SDCC_4 33 77 1.1 jmcneill #define SLAVE_SECURITY 34 78 1.1 jmcneill #define SLAVE_TCSR 35 79 1.1 jmcneill #define SLAVE_TLMM 36 80 1.1 jmcneill #define SLAVE_UFS_MEM_CFG 37 81 1.1 jmcneill #define SLAVE_USB2 38 82 1.1 jmcneill #define SLAVE_USB3_0 39 83 1.1 jmcneill #define SLAVE_VENUS_CFG 40 84 1.1 jmcneill #define SLAVE_VSENSE_CTRL_CFG 41 85 1.1 jmcneill #define SLAVE_A1NOC_CFG 42 86 1.1 jmcneill #define SLAVE_A2NOC_CFG 43 87 1.1 jmcneill #define SLAVE_CNOC2_CNOC3 44 88 1.1 jmcneill #define SLAVE_CNOC_MNOC_CFG 45 89 1.1 jmcneill #define SLAVE_SNOC_CFG 46 90 1.1 jmcneill 91 1.1 jmcneill #define MASTER_CNOC2_CNOC3 0 92 1.1 jmcneill #define MASTER_GEM_NOC_CNOC 1 93 1.1 jmcneill #define MASTER_GEM_NOC_PCIE_SNOC 2 94 1.1 jmcneill #define SLAVE_AOSS 3 95 1.1 jmcneill #define SLAVE_APPSS 4 96 1.1 jmcneill #define SLAVE_CNOC3_CNOC2 5 97 1.1 jmcneill #define SLAVE_CNOC_A2NOC 6 98 1.1 jmcneill #define SLAVE_DDRSS_CFG 7 99 1.1 jmcneill #define SLAVE_BOOT_IMEM 8 100 1.1 jmcneill #define SLAVE_IMEM 9 101 1.1 jmcneill #define SLAVE_PIMEM 10 102 1.1 jmcneill #define SLAVE_PCIE_0 11 103 1.1 jmcneill #define SLAVE_PCIE_1 12 104 1.1 jmcneill #define SLAVE_QDSS_STM 13 105 1.1 jmcneill #define SLAVE_TCU 14 106 1.1 jmcneill 107 1.1 jmcneill #define MASTER_CNOC_DC_NOC 0 108 1.1 jmcneill #define SLAVE_LLCC_CFG 1 109 1.1 jmcneill #define SLAVE_GEM_NOC_CFG 2 110 1.1 jmcneill 111 1.1 jmcneill #define MASTER_GPU_TCU 0 112 1.1 jmcneill #define MASTER_SYS_TCU 1 113 1.1 jmcneill #define MASTER_APPSS_PROC 2 114 1.1 jmcneill #define MASTER_COMPUTE_NOC 3 115 1.1 jmcneill #define MASTER_GEM_NOC_CFG 4 116 1.1 jmcneill #define MASTER_GFX3D 5 117 1.1 jmcneill #define MASTER_MNOC_HF_MEM_NOC 6 118 1.1 jmcneill #define MASTER_MNOC_SF_MEM_NOC 7 119 1.1 jmcneill #define MASTER_ANOC_PCIE_GEM_NOC 8 120 1.1 jmcneill #define MASTER_SNOC_GC_MEM_NOC 9 121 1.1 jmcneill #define MASTER_SNOC_SF_MEM_NOC 10 122 1.1 jmcneill #define SLAVE_MSS_PROC_MS_MPU_CFG 11 123 1.1 jmcneill #define SLAVE_MCDMA_MS_MPU_CFG 12 124 1.1 jmcneill #define SLAVE_GEM_NOC_CNOC 13 125 1.1 jmcneill #define SLAVE_LLCC 14 126 1.1 jmcneill #define SLAVE_MEM_NOC_PCIE_SNOC 15 127 1.1 jmcneill #define SLAVE_SERVICE_GEM_NOC_1 16 128 1.1 jmcneill #define SLAVE_SERVICE_GEM_NOC_2 17 129 1.1 jmcneill #define SLAVE_SERVICE_GEM_NOC 18 130 1.1 jmcneill 131 1.1 jmcneill #define MASTER_CNOC_LPASS_AG_NOC 0 132 1.1 jmcneill #define SLAVE_LPASS_CORE_CFG 1 133 1.1 jmcneill #define SLAVE_LPASS_LPI_CFG 2 134 1.1 jmcneill #define SLAVE_LPASS_MPU_CFG 3 135 1.1 jmcneill #define SLAVE_LPASS_TOP_CFG 4 136 1.1 jmcneill #define SLAVE_SERVICES_LPASS_AML_NOC 5 137 1.1 jmcneill #define SLAVE_SERVICE_LPASS_AG_NOC 6 138 1.1 jmcneill 139 1.1 jmcneill #define MASTER_LLCC 0 140 1.1 jmcneill #define SLAVE_EBI1 1 141 1.1 jmcneill 142 1.1 jmcneill #define MASTER_CNOC_MNOC_CFG 0 143 1.1 jmcneill #define MASTER_VIDEO_P0 1 144 1.1 jmcneill #define MASTER_VIDEO_PROC 2 145 1.1 jmcneill #define MASTER_CAMNOC_HF 3 146 1.1 jmcneill #define MASTER_CAMNOC_ICP 4 147 1.1 jmcneill #define MASTER_CAMNOC_SF 5 148 1.1 jmcneill #define MASTER_MDP0 6 149 1.1 jmcneill #define SLAVE_MNOC_HF_MEM_NOC 7 150 1.1 jmcneill #define SLAVE_MNOC_SF_MEM_NOC 8 151 1.1 jmcneill #define SLAVE_SERVICE_MNOC 9 152 1.1 jmcneill 153 1.1 jmcneill #define MASTER_CDSP_NOC_CFG 0 154 1.1 jmcneill #define MASTER_CDSP_PROC 1 155 1.1 jmcneill #define SLAVE_CDSP_MEM_NOC 2 156 1.1 jmcneill #define SLAVE_SERVICE_NSP_NOC 3 157 1.1 jmcneill 158 1.1 jmcneill #define MASTER_A1NOC_SNOC 0 159 1.1 jmcneill #define MASTER_A2NOC_SNOC 1 160 1.1 jmcneill #define MASTER_SNOC_CFG 2 161 1.1 jmcneill #define MASTER_PIMEM 3 162 1.1 jmcneill #define MASTER_GIC 4 163 1.1 jmcneill #define SLAVE_SNOC_GEM_NOC_GC 5 164 1.1 jmcneill #define SLAVE_SNOC_GEM_NOC_SF 6 165 1.1 jmcneill #define SLAVE_SERVICE_SNOC 7 166 1.1 jmcneill 167 1.1 jmcneill #endif 168