Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
0002 /*
0003  * Qualcomm SC8180x interconnect IDs
0004  *
0005  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
0006  */
0007 
0008 #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SC8180X_H
0009 #define __DT_BINDINGS_INTERCONNECT_QCOM_SC8180X_H
0010 
0011 #define MASTER_A1NOC_CFG            0
0012 #define MASTER_UFS_CARD             1
0013 #define MASTER_UFS_GEN4             2
0014 #define MASTER_UFS_MEM              3
0015 #define MASTER_USB3             4
0016 #define MASTER_USB3_1               5
0017 #define MASTER_USB3_2               6
0018 #define A1NOC_SNOC_SLV              7
0019 #define SLAVE_SERVICE_A1NOC         8
0020 
0021 #define MASTER_A2NOC_CFG            0
0022 #define MASTER_QDSS_BAM             1
0023 #define MASTER_QSPI_0               2
0024 #define MASTER_QSPI_1               3
0025 #define MASTER_QUP_0                4
0026 #define MASTER_QUP_1                5
0027 #define MASTER_QUP_2                6
0028 #define MASTER_SENSORS_AHB          7
0029 #define MASTER_CRYPTO_CORE_0            8
0030 #define MASTER_IPA              9
0031 #define MASTER_EMAC             10
0032 #define MASTER_PCIE             11
0033 #define MASTER_PCIE_1               12
0034 #define MASTER_PCIE_2               13
0035 #define MASTER_PCIE_3               14
0036 #define MASTER_QDSS_ETR             15
0037 #define MASTER_SDCC_2               16
0038 #define MASTER_SDCC_4               17
0039 #define A2NOC_SNOC_SLV              18
0040 #define SLAVE_ANOC_PCIE_GEM_NOC         19
0041 #define SLAVE_SERVICE_A2NOC         20
0042 
0043 #define MASTER_CAMNOC_HF0_UNCOMP        0
0044 #define MASTER_CAMNOC_HF1_UNCOMP        1
0045 #define MASTER_CAMNOC_SF_UNCOMP         2
0046 #define SLAVE_CAMNOC_UNCOMP         3
0047 
0048 #define MASTER_NPU              0
0049 #define SLAVE_CDSP_MEM_NOC          1
0050 
0051 #define SNOC_CNOC_MAS               0
0052 #define SLAVE_A1NOC_CFG             1
0053 #define SLAVE_A2NOC_CFG             2
0054 #define SLAVE_AHB2PHY_CENTER            3
0055 #define SLAVE_AHB2PHY_EAST          4
0056 #define SLAVE_AHB2PHY_WEST          5
0057 #define SLAVE_AHB2PHY_SOUTH         6
0058 #define SLAVE_AOP               7
0059 #define SLAVE_AOSS              8
0060 #define SLAVE_CAMERA_CFG            9
0061 #define SLAVE_CLK_CTL               10
0062 #define SLAVE_CDSP_CFG              11
0063 #define SLAVE_RBCPR_CX_CFG          12
0064 #define SLAVE_RBCPR_MMCX_CFG            13
0065 #define SLAVE_RBCPR_MX_CFG          14
0066 #define SLAVE_CRYPTO_0_CFG          15
0067 #define SLAVE_CNOC_DDRSS            16
0068 #define SLAVE_DISPLAY_CFG           17
0069 #define SLAVE_EMAC_CFG              18
0070 #define SLAVE_GLM               19
0071 #define SLAVE_GRAPHICS_3D_CFG           20
0072 #define SLAVE_IMEM_CFG              21
0073 #define SLAVE_IPA_CFG               22
0074 #define SLAVE_CNOC_MNOC_CFG         23
0075 #define SLAVE_NPU_CFG               24
0076 #define SLAVE_PCIE_0_CFG            25
0077 #define SLAVE_PCIE_1_CFG            26
0078 #define SLAVE_PCIE_2_CFG            27
0079 #define SLAVE_PCIE_3_CFG            28
0080 #define SLAVE_PDM               29
0081 #define SLAVE_PIMEM_CFG             30
0082 #define SLAVE_PRNG              31
0083 #define SLAVE_QDSS_CFG              32
0084 #define SLAVE_QSPI_0                33
0085 #define SLAVE_QSPI_1                34
0086 #define SLAVE_QUP_1             35
0087 #define SLAVE_QUP_2             36
0088 #define SLAVE_QUP_0             37
0089 #define SLAVE_SDCC_2                38
0090 #define SLAVE_SDCC_4                39
0091 #define SLAVE_SECURITY              40
0092 #define SLAVE_SNOC_CFG              41
0093 #define SLAVE_SPSS_CFG              42
0094 #define SLAVE_TCSR              43
0095 #define SLAVE_TLMM_EAST             44
0096 #define SLAVE_TLMM_SOUTH            45
0097 #define SLAVE_TLMM_WEST             46
0098 #define SLAVE_TSIF              47
0099 #define SLAVE_UFS_CARD_CFG          48
0100 #define SLAVE_UFS_MEM_0_CFG         49
0101 #define SLAVE_UFS_MEM_1_CFG         50
0102 #define SLAVE_USB3              51
0103 #define SLAVE_USB3_1                52
0104 #define SLAVE_USB3_2                53
0105 #define SLAVE_VENUS_CFG             54
0106 #define SLAVE_VSENSE_CTRL_CFG           55
0107 #define SLAVE_SERVICE_CNOC          56
0108 
0109 #define MASTER_CNOC_DC_NOC          0
0110 #define SLAVE_GEM_NOC_CFG           1
0111 #define SLAVE_LLCC_CFG              2
0112 
0113 #define MASTER_AMPSS_M0             0
0114 #define MASTER_GPU_TCU              1
0115 #define MASTER_SYS_TCU              2
0116 #define MASTER_GEM_NOC_CFG          3
0117 #define MASTER_COMPUTE_NOC          4
0118 #define MASTER_GRAPHICS_3D          5
0119 #define MASTER_MNOC_HF_MEM_NOC          6
0120 #define MASTER_MNOC_SF_MEM_NOC          7
0121 #define MASTER_GEM_NOC_PCIE_SNOC        8
0122 #define MASTER_SNOC_GC_MEM_NOC          9
0123 #define MASTER_SNOC_SF_MEM_NOC          10
0124 #define MASTER_ECC              11
0125 #define SLAVE_MSS_PROC_MS_MPU_CFG       12
0126 #define SLAVE_ECC               13
0127 #define SLAVE_GEM_NOC_SNOC          14
0128 #define SLAVE_LLCC              15
0129 #define SLAVE_SERVICE_GEM_NOC           16
0130 #define SLAVE_SERVICE_GEM_NOC_1         17
0131 
0132 #define MASTER_IPA_CORE             0
0133 #define SLAVE_IPA_CORE              1
0134 
0135 #define MASTER_LLCC             0
0136 #define SLAVE_EBI_CH0               1
0137 
0138 #define MASTER_CNOC_MNOC_CFG            0
0139 #define MASTER_CAMNOC_HF0           1
0140 #define MASTER_CAMNOC_HF1           2
0141 #define MASTER_CAMNOC_SF            3
0142 #define MASTER_MDP_PORT0            4
0143 #define MASTER_MDP_PORT1            5
0144 #define MASTER_ROTATOR              6
0145 #define MASTER_VIDEO_P0             7
0146 #define MASTER_VIDEO_P1             8
0147 #define MASTER_VIDEO_PROC           9
0148 #define SLAVE_MNOC_SF_MEM_NOC           10
0149 #define SLAVE_MNOC_HF_MEM_NOC           11
0150 #define SLAVE_SERVICE_MNOC          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_PIMEM                4
0157 #define MASTER_GIC              5
0158 #define SLAVE_APPSS             6
0159 #define SNOC_CNOC_SLV               7
0160 #define SLAVE_SNOC_GEM_NOC_GC           8
0161 #define SLAVE_SNOC_GEM_NOC_SF           9
0162 #define SLAVE_OCIMEM                10
0163 #define SLAVE_PIMEM             11
0164 #define SLAVE_SERVICE_SNOC          12
0165 #define SLAVE_PCIE_0                13
0166 #define SLAVE_PCIE_1                14
0167 #define SLAVE_PCIE_2                15
0168 #define SLAVE_PCIE_3                16
0169 #define SLAVE_QDSS_STM              17
0170 #define SLAVE_TCU               18
0171 
0172 #define MASTER_MNOC_HF_MEM_NOC_DISPLAY      0
0173 #define MASTER_MNOC_SF_MEM_NOC_DISPLAY      1
0174 #define SLAVE_LLCC_DISPLAY          2
0175 
0176 #define MASTER_LLCC_DISPLAY         0
0177 #define SLAVE_EBI_CH0_DISPLAY           1
0178 
0179 #define MASTER_MDP_PORT0_DISPLAY        0
0180 #define MASTER_MDP_PORT1_DISPLAY        1
0181 #define MASTER_ROTATOR_DISPLAY          2
0182 #define SLAVE_MNOC_SF_MEM_NOC_DISPLAY       3
0183 #define SLAVE_MNOC_HF_MEM_NOC_DISPLAY       4
0184 
0185 #define MASTER_QUP_CORE_0           0
0186 #define MASTER_QUP_CORE_1           1
0187 #define MASTER_QUP_CORE_2           2
0188 #define SLAVE_QUP_CORE_0            3
0189 #define SLAVE_QUP_CORE_1            4
0190 #define SLAVE_QUP_CORE_2            5
0191 
0192 #endif