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