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