Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Qualcomm SM8250 interconnect IDs
0004  *
0005  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
0006  */
0007 
0008 #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM8250_H
0009 #define __DT_BINDINGS_INTERCONNECT_QCOM_SM8250_H
0010 
0011 #define MASTER_A1NOC_CFG        0
0012 #define MASTER_QSPI_0           1
0013 #define MASTER_QUP_1            2
0014 #define MASTER_QUP_2            3
0015 #define MASTER_TSIF         4
0016 #define MASTER_PCIE_2           5
0017 #define MASTER_SDCC_4           6
0018 #define MASTER_UFS_MEM          7
0019 #define MASTER_USB3         8
0020 #define MASTER_USB3_1           9
0021 #define A1NOC_SNOC_SLV          10
0022 #define SLAVE_ANOC_PCIE_GEM_NOC_1   11
0023 #define SLAVE_SERVICE_A1NOC     12
0024 
0025 #define MASTER_A2NOC_CFG        0
0026 #define MASTER_QDSS_BAM         1
0027 #define MASTER_QUP_0            2
0028 #define MASTER_CNOC_A2NOC       3
0029 #define MASTER_CRYPTO_CORE_0        4
0030 #define MASTER_IPA          5
0031 #define MASTER_PCIE         6
0032 #define MASTER_PCIE_1           7
0033 #define MASTER_QDSS_ETR         8
0034 #define MASTER_SDCC_2           9
0035 #define MASTER_UFS_CARD         10
0036 #define A2NOC_SNOC_SLV          11
0037 #define SLAVE_ANOC_PCIE_GEM_NOC     12
0038 #define SLAVE_SERVICE_A2NOC     13
0039 
0040 #define MASTER_NPU          0
0041 #define SLAVE_CDSP_MEM_NOC      1
0042 
0043 #define SNOC_CNOC_MAS           0
0044 #define MASTER_QDSS_DAP         1
0045 #define SLAVE_A1NOC_CFG         2
0046 #define SLAVE_A2NOC_CFG         3
0047 #define SLAVE_AHB2PHY_SOUTH     4
0048 #define SLAVE_AHB2PHY_NORTH     5
0049 #define SLAVE_AOSS          6
0050 #define SLAVE_CAMERA_CFG        7
0051 #define SLAVE_CLK_CTL           8
0052 #define SLAVE_CDSP_CFG          9
0053 #define SLAVE_RBCPR_CX_CFG      10
0054 #define SLAVE_RBCPR_MMCX_CFG        11
0055 #define SLAVE_RBCPR_MX_CFG      12
0056 #define SLAVE_CRYPTO_0_CFG      13
0057 #define SLAVE_CX_RDPM           14
0058 #define SLAVE_DCC_CFG           15
0059 #define SLAVE_CNOC_DDRSS        16
0060 #define SLAVE_DISPLAY_CFG       17
0061 #define SLAVE_GRAPHICS_3D_CFG       18
0062 #define SLAVE_IMEM_CFG          19
0063 #define SLAVE_IPA_CFG           20
0064 #define SLAVE_IPC_ROUTER_CFG        21
0065 #define SLAVE_LPASS         22
0066 #define SLAVE_CNOC_MNOC_CFG     23
0067 #define SLAVE_NPU_CFG           24
0068 #define SLAVE_PCIE_0_CFG        25
0069 #define SLAVE_PCIE_1_CFG        26
0070 #define SLAVE_PCIE_2_CFG        27
0071 #define SLAVE_PDM           28
0072 #define SLAVE_PIMEM_CFG         29
0073 #define SLAVE_PRNG          30
0074 #define SLAVE_QDSS_CFG          31
0075 #define SLAVE_QSPI_0            32
0076 #define SLAVE_QUP_0         33
0077 #define SLAVE_QUP_1         34
0078 #define SLAVE_QUP_2         35
0079 #define SLAVE_SDCC_2            36
0080 #define SLAVE_SDCC_4            37
0081 #define SLAVE_SNOC_CFG          38
0082 #define SLAVE_TCSR          39
0083 #define SLAVE_TLMM_NORTH        40
0084 #define SLAVE_TLMM_SOUTH        41
0085 #define SLAVE_TLMM_WEST         42
0086 #define SLAVE_TSIF          43
0087 #define SLAVE_UFS_CARD_CFG      44
0088 #define SLAVE_UFS_MEM_CFG       45
0089 #define SLAVE_USB3          46
0090 #define SLAVE_USB3_1            47
0091 #define SLAVE_VENUS_CFG         48
0092 #define SLAVE_VSENSE_CTRL_CFG       49
0093 #define SLAVE_CNOC_A2NOC        50
0094 #define SLAVE_SERVICE_CNOC      51
0095 
0096 #define MASTER_CNOC_DC_NOC      0
0097 #define SLAVE_LLCC_CFG          1
0098 #define SLAVE_GEM_NOC_CFG       2
0099 
0100 #define MASTER_GPU_TCU          0
0101 #define MASTER_SYS_TCU          1
0102 #define MASTER_AMPSS_M0         2
0103 #define MASTER_GEM_NOC_CFG      3
0104 #define MASTER_COMPUTE_NOC      4
0105 #define MASTER_GRAPHICS_3D      5
0106 #define MASTER_MNOC_HF_MEM_NOC      6
0107 #define MASTER_MNOC_SF_MEM_NOC      7
0108 #define MASTER_ANOC_PCIE_GEM_NOC    8
0109 #define MASTER_SNOC_GC_MEM_NOC      9
0110 #define MASTER_SNOC_SF_MEM_NOC      10
0111 #define SLAVE_GEM_NOC_SNOC      11
0112 #define SLAVE_LLCC          12
0113 #define SLAVE_MEM_NOC_PCIE_SNOC     13
0114 #define SLAVE_SERVICE_GEM_NOC_1     14
0115 #define SLAVE_SERVICE_GEM_NOC_2     15
0116 #define SLAVE_SERVICE_GEM_NOC       16
0117 
0118 #define MASTER_IPA_CORE         0
0119 #define SLAVE_IPA_CORE          1
0120 
0121 #define MASTER_LLCC         0
0122 #define SLAVE_EBI_CH0           1
0123 
0124 #define MASTER_CNOC_MNOC_CFG        0
0125 #define MASTER_CAMNOC_HF        1
0126 #define MASTER_CAMNOC_ICP       2
0127 #define MASTER_CAMNOC_SF        3
0128 #define MASTER_VIDEO_P0         4
0129 #define MASTER_VIDEO_P1         5
0130 #define MASTER_VIDEO_PROC       6
0131 #define MASTER_MDP_PORT0        7
0132 #define MASTER_MDP_PORT1        8
0133 #define MASTER_ROTATOR          9
0134 #define SLAVE_MNOC_HF_MEM_NOC       10
0135 #define SLAVE_MNOC_SF_MEM_NOC       11
0136 #define SLAVE_SERVICE_MNOC      12
0137 
0138 #define MASTER_NPU_SYS          0
0139 #define MASTER_NPU_CDP          1
0140 #define MASTER_NPU_NOC_CFG      2
0141 #define SLAVE_NPU_CAL_DP0       3
0142 #define SLAVE_NPU_CAL_DP1       4
0143 #define SLAVE_NPU_CP            5
0144 #define SLAVE_NPU_INT_DMA_BWMON_CFG 6
0145 #define SLAVE_NPU_DPM           7
0146 #define SLAVE_ISENSE_CFG        8
0147 #define SLAVE_NPU_LLM_CFG       9
0148 #define SLAVE_NPU_TCM           10
0149 #define SLAVE_NPU_COMPUTE_NOC       11
0150 #define SLAVE_SERVICE_NPU_NOC       12
0151 
0152 #define MASTER_SNOC_CFG         0
0153 #define A1NOC_SNOC_MAS          1
0154 #define A2NOC_SNOC_MAS          2
0155 #define MASTER_GEM_NOC_SNOC     3
0156 #define MASTER_GEM_NOC_PCIE_SNOC    4
0157 #define MASTER_PIMEM            5
0158 #define MASTER_GIC          6
0159 #define SLAVE_APPSS         7
0160 #define SNOC_CNOC_SLV           8
0161 #define SLAVE_SNOC_GEM_NOC_GC       9
0162 #define SLAVE_SNOC_GEM_NOC_SF       10
0163 #define SLAVE_OCIMEM            11
0164 #define SLAVE_PIMEM         12
0165 #define SLAVE_SERVICE_SNOC      13
0166 #define SLAVE_PCIE_0            14
0167 #define SLAVE_PCIE_1            15
0168 #define SLAVE_PCIE_2            16
0169 #define SLAVE_QDSS_STM          17
0170 #define SLAVE_TCU           18
0171 
0172 #endif