1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */ 2*c66ec88fSEmmanuel Vadot /* 3*c66ec88fSEmmanuel Vadot * Qualcomm SC7180 interconnect IDs 4*c66ec88fSEmmanuel Vadot * 5*c66ec88fSEmmanuel Vadot * Copyright (c) 2020, The Linux Foundation. All rights reserved. 6*c66ec88fSEmmanuel Vadot */ 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SC7180_H 9*c66ec88fSEmmanuel Vadot #define __DT_BINDINGS_INTERCONNECT_QCOM_SC7180_H 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot #define MASTER_A1NOC_CFG 0 12*c66ec88fSEmmanuel Vadot #define MASTER_QSPI 1 13*c66ec88fSEmmanuel Vadot #define MASTER_QUP_0 2 14*c66ec88fSEmmanuel Vadot #define MASTER_SDCC_2 3 15*c66ec88fSEmmanuel Vadot #define MASTER_EMMC 4 16*c66ec88fSEmmanuel Vadot #define MASTER_UFS_MEM 5 17*c66ec88fSEmmanuel Vadot #define SLAVE_A1NOC_SNOC 6 18*c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_A1NOC 7 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot #define MASTER_A2NOC_CFG 0 21*c66ec88fSEmmanuel Vadot #define MASTER_QDSS_BAM 1 22*c66ec88fSEmmanuel Vadot #define MASTER_QUP_1 2 23*c66ec88fSEmmanuel Vadot #define MASTER_USB3 3 24*c66ec88fSEmmanuel Vadot #define MASTER_CRYPTO 4 25*c66ec88fSEmmanuel Vadot #define MASTER_IPA 5 26*c66ec88fSEmmanuel Vadot #define MASTER_QDSS_ETR 6 27*c66ec88fSEmmanuel Vadot #define SLAVE_A2NOC_SNOC 7 28*c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_A2NOC 8 29*c66ec88fSEmmanuel Vadot 30*c66ec88fSEmmanuel Vadot #define MASTER_CAMNOC_HF0_UNCOMP 0 31*c66ec88fSEmmanuel Vadot #define MASTER_CAMNOC_HF1_UNCOMP 1 32*c66ec88fSEmmanuel Vadot #define MASTER_CAMNOC_SF_UNCOMP 2 33*c66ec88fSEmmanuel Vadot #define SLAVE_CAMNOC_UNCOMP 3 34*c66ec88fSEmmanuel Vadot 35*c66ec88fSEmmanuel Vadot #define MASTER_NPU 0 36*c66ec88fSEmmanuel Vadot #define MASTER_NPU_PROC 1 37*c66ec88fSEmmanuel Vadot #define SLAVE_CDSP_GEM_NOC 2 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadot #define MASTER_SNOC_CNOC 0 40*c66ec88fSEmmanuel Vadot #define MASTER_QDSS_DAP 1 41*c66ec88fSEmmanuel Vadot #define SLAVE_A1NOC_CFG 2 42*c66ec88fSEmmanuel Vadot #define SLAVE_A2NOC_CFG 3 43*c66ec88fSEmmanuel Vadot #define SLAVE_AHB2PHY_SOUTH 4 44*c66ec88fSEmmanuel Vadot #define SLAVE_AHB2PHY_CENTER 5 45*c66ec88fSEmmanuel Vadot #define SLAVE_AOP 6 46*c66ec88fSEmmanuel Vadot #define SLAVE_AOSS 7 47*c66ec88fSEmmanuel Vadot #define SLAVE_BOOT_ROM 8 48*c66ec88fSEmmanuel Vadot #define SLAVE_CAMERA_CFG 9 49*c66ec88fSEmmanuel Vadot #define SLAVE_CAMERA_NRT_THROTTLE_CFG 10 50*c66ec88fSEmmanuel Vadot #define SLAVE_CAMERA_RT_THROTTLE_CFG 11 51*c66ec88fSEmmanuel Vadot #define SLAVE_CLK_CTL 12 52*c66ec88fSEmmanuel Vadot #define SLAVE_RBCPR_CX_CFG 13 53*c66ec88fSEmmanuel Vadot #define SLAVE_RBCPR_MX_CFG 14 54*c66ec88fSEmmanuel Vadot #define SLAVE_CRYPTO_0_CFG 15 55*c66ec88fSEmmanuel Vadot #define SLAVE_DCC_CFG 16 56*c66ec88fSEmmanuel Vadot #define SLAVE_CNOC_DDRSS 17 57*c66ec88fSEmmanuel Vadot #define SLAVE_DISPLAY_CFG 18 58*c66ec88fSEmmanuel Vadot #define SLAVE_DISPLAY_RT_THROTTLE_CFG 19 59*c66ec88fSEmmanuel Vadot #define SLAVE_DISPLAY_THROTTLE_CFG 20 60*c66ec88fSEmmanuel Vadot #define SLAVE_EMMC_CFG 21 61*c66ec88fSEmmanuel Vadot #define SLAVE_GLM 22 62*c66ec88fSEmmanuel Vadot #define SLAVE_GFX3D_CFG 23 63*c66ec88fSEmmanuel Vadot #define SLAVE_IMEM_CFG 24 64*c66ec88fSEmmanuel Vadot #define SLAVE_IPA_CFG 25 65*c66ec88fSEmmanuel Vadot #define SLAVE_CNOC_MNOC_CFG 26 66*c66ec88fSEmmanuel Vadot #define SLAVE_CNOC_MSS 27 67*c66ec88fSEmmanuel Vadot #define SLAVE_NPU_CFG 28 68*c66ec88fSEmmanuel Vadot #define SLAVE_NPU_DMA_BWMON_CFG 29 69*c66ec88fSEmmanuel Vadot #define SLAVE_NPU_PROC_BWMON_CFG 30 70*c66ec88fSEmmanuel Vadot #define SLAVE_PDM 31 71*c66ec88fSEmmanuel Vadot #define SLAVE_PIMEM_CFG 32 72*c66ec88fSEmmanuel Vadot #define SLAVE_PRNG 33 73*c66ec88fSEmmanuel Vadot #define SLAVE_QDSS_CFG 34 74*c66ec88fSEmmanuel Vadot #define SLAVE_QM_CFG 35 75*c66ec88fSEmmanuel Vadot #define SLAVE_QM_MPU_CFG 36 76*c66ec88fSEmmanuel Vadot #define SLAVE_QSPI_0 37 77*c66ec88fSEmmanuel Vadot #define SLAVE_QUP_0 38 78*c66ec88fSEmmanuel Vadot #define SLAVE_QUP_1 39 79*c66ec88fSEmmanuel Vadot #define SLAVE_SDCC_2 40 80*c66ec88fSEmmanuel Vadot #define SLAVE_SECURITY 41 81*c66ec88fSEmmanuel Vadot #define SLAVE_SNOC_CFG 42 82*c66ec88fSEmmanuel Vadot #define SLAVE_TCSR 43 83*c66ec88fSEmmanuel Vadot #define SLAVE_TLMM_WEST 44 84*c66ec88fSEmmanuel Vadot #define SLAVE_TLMM_NORTH 45 85*c66ec88fSEmmanuel Vadot #define SLAVE_TLMM_SOUTH 46 86*c66ec88fSEmmanuel Vadot #define SLAVE_UFS_MEM_CFG 47 87*c66ec88fSEmmanuel Vadot #define SLAVE_USB3 48 88*c66ec88fSEmmanuel Vadot #define SLAVE_VENUS_CFG 49 89*c66ec88fSEmmanuel Vadot #define SLAVE_VENUS_THROTTLE_CFG 50 90*c66ec88fSEmmanuel Vadot #define SLAVE_VSENSE_CTRL_CFG 51 91*c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_CNOC 52 92*c66ec88fSEmmanuel Vadot 93*c66ec88fSEmmanuel Vadot #define MASTER_CNOC_DC_NOC 0 94*c66ec88fSEmmanuel Vadot #define SLAVE_GEM_NOC_CFG 1 95*c66ec88fSEmmanuel Vadot #define SLAVE_LLCC_CFG 2 96*c66ec88fSEmmanuel Vadot 97*c66ec88fSEmmanuel Vadot #define MASTER_APPSS_PROC 0 98*c66ec88fSEmmanuel Vadot #define MASTER_SYS_TCU 1 99*c66ec88fSEmmanuel Vadot #define MASTER_GEM_NOC_CFG 2 100*c66ec88fSEmmanuel Vadot #define MASTER_COMPUTE_NOC 3 101*c66ec88fSEmmanuel Vadot #define MASTER_MNOC_HF_MEM_NOC 4 102*c66ec88fSEmmanuel Vadot #define MASTER_MNOC_SF_MEM_NOC 5 103*c66ec88fSEmmanuel Vadot #define MASTER_SNOC_GC_MEM_NOC 6 104*c66ec88fSEmmanuel Vadot #define MASTER_SNOC_SF_MEM_NOC 7 105*c66ec88fSEmmanuel Vadot #define MASTER_GFX3D 8 106*c66ec88fSEmmanuel Vadot #define SLAVE_MSS_PROC_MS_MPU_CFG 9 107*c66ec88fSEmmanuel Vadot #define SLAVE_GEM_NOC_SNOC 10 108*c66ec88fSEmmanuel Vadot #define SLAVE_LLCC 11 109*c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_GEM_NOC 12 110*c66ec88fSEmmanuel Vadot 111*c66ec88fSEmmanuel Vadot #define MASTER_LLCC 0 112*c66ec88fSEmmanuel Vadot #define SLAVE_EBI1 1 113*c66ec88fSEmmanuel Vadot 114*c66ec88fSEmmanuel Vadot #define MASTER_CNOC_MNOC_CFG 0 115*c66ec88fSEmmanuel Vadot #define MASTER_CAMNOC_HF0 1 116*c66ec88fSEmmanuel Vadot #define MASTER_CAMNOC_HF1 2 117*c66ec88fSEmmanuel Vadot #define MASTER_CAMNOC_SF 3 118*c66ec88fSEmmanuel Vadot #define MASTER_MDP0 4 119*c66ec88fSEmmanuel Vadot #define MASTER_ROTATOR 5 120*c66ec88fSEmmanuel Vadot #define MASTER_VIDEO_P0 6 121*c66ec88fSEmmanuel Vadot #define MASTER_VIDEO_PROC 7 122*c66ec88fSEmmanuel Vadot #define SLAVE_MNOC_HF_MEM_NOC 8 123*c66ec88fSEmmanuel Vadot #define SLAVE_MNOC_SF_MEM_NOC 9 124*c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_MNOC 10 125*c66ec88fSEmmanuel Vadot 126*c66ec88fSEmmanuel Vadot #define MASTER_NPU_SYS 0 127*c66ec88fSEmmanuel Vadot #define MASTER_NPU_NOC_CFG 1 128*c66ec88fSEmmanuel Vadot #define SLAVE_NPU_CAL_DP0 2 129*c66ec88fSEmmanuel Vadot #define SLAVE_NPU_CP 3 130*c66ec88fSEmmanuel Vadot #define SLAVE_NPU_INT_DMA_BWMON_CFG 4 131*c66ec88fSEmmanuel Vadot #define SLAVE_NPU_DPM 5 132*c66ec88fSEmmanuel Vadot #define SLAVE_ISENSE_CFG 6 133*c66ec88fSEmmanuel Vadot #define SLAVE_NPU_LLM_CFG 7 134*c66ec88fSEmmanuel Vadot #define SLAVE_NPU_TCM 8 135*c66ec88fSEmmanuel Vadot #define SLAVE_NPU_COMPUTE_NOC 9 136*c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_NPU_NOC 10 137*c66ec88fSEmmanuel Vadot 138*c66ec88fSEmmanuel Vadot #define MASTER_QUP_CORE_0 0 139*c66ec88fSEmmanuel Vadot #define MASTER_QUP_CORE_1 1 140*c66ec88fSEmmanuel Vadot #define SLAVE_QUP_CORE_0 2 141*c66ec88fSEmmanuel Vadot #define SLAVE_QUP_CORE_1 3 142*c66ec88fSEmmanuel Vadot 143*c66ec88fSEmmanuel Vadot #define MASTER_SNOC_CFG 0 144*c66ec88fSEmmanuel Vadot #define MASTER_A1NOC_SNOC 1 145*c66ec88fSEmmanuel Vadot #define MASTER_A2NOC_SNOC 2 146*c66ec88fSEmmanuel Vadot #define MASTER_GEM_NOC_SNOC 3 147*c66ec88fSEmmanuel Vadot #define MASTER_PIMEM 4 148*c66ec88fSEmmanuel Vadot #define SLAVE_APPSS 5 149*c66ec88fSEmmanuel Vadot #define SLAVE_SNOC_CNOC 6 150*c66ec88fSEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_GC 7 151*c66ec88fSEmmanuel Vadot #define SLAVE_SNOC_GEM_NOC_SF 8 152*c66ec88fSEmmanuel Vadot #define SLAVE_IMEM 9 153*c66ec88fSEmmanuel Vadot #define SLAVE_PIMEM 10 154*c66ec88fSEmmanuel Vadot #define SLAVE_SERVICE_SNOC 11 155*c66ec88fSEmmanuel Vadot #define SLAVE_QDSS_STM 12 156*c66ec88fSEmmanuel Vadot #define SLAVE_TCU 13 157*c66ec88fSEmmanuel Vadot 158*c66ec88fSEmmanuel Vadot #endif 159