Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
0002 /*
0003  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
0004  * Copyright (c) 2022, Linaro Ltd.
0005  */
0006 
0007 #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SC8280XP_H
0008 #define __DT_BINDINGS_INTERCONNECT_QCOM_SC8280XP_H
0009 
0010 /* aggre1_noc */
0011 #define MASTER_QSPI_0           0
0012 #define MASTER_QUP_1            1
0013 #define MASTER_QUP_2            2
0014 #define MASTER_A1NOC_CFG        3
0015 #define MASTER_IPA          4
0016 #define MASTER_EMAC_1           5
0017 #define MASTER_SDCC_4           6
0018 #define MASTER_UFS_MEM          7
0019 #define MASTER_USB3_0           8
0020 #define MASTER_USB3_1           9
0021 #define MASTER_USB3_MP          10
0022 #define MASTER_USB4_0           11
0023 #define MASTER_USB4_1           12
0024 #define SLAVE_A1NOC_SNOC        13
0025 #define SLAVE_USB_NOC_SNOC      14
0026 #define SLAVE_SERVICE_A1NOC     15
0027 
0028 /* aggre2_noc */
0029 #define MASTER_QDSS_BAM         0
0030 #define MASTER_QUP_0            1
0031 #define MASTER_A2NOC_CFG        2
0032 #define MASTER_CRYPTO           3
0033 #define MASTER_SENSORS_PROC     4
0034 #define MASTER_SP           5
0035 #define MASTER_EMAC         6
0036 #define MASTER_PCIE_0           7
0037 #define MASTER_PCIE_1           8
0038 #define MASTER_PCIE_2A          9
0039 #define MASTER_PCIE_2B          10
0040 #define MASTER_PCIE_3A          11
0041 #define MASTER_PCIE_3B          12
0042 #define MASTER_PCIE_4           13
0043 #define MASTER_QDSS_ETR         14
0044 #define MASTER_SDCC_2           15
0045 #define MASTER_UFS_CARD         16
0046 #define SLAVE_A2NOC_SNOC        17
0047 #define SLAVE_ANOC_PCIE_GEM_NOC     18
0048 #define SLAVE_SERVICE_A2NOC     19
0049 
0050 /* clk_virt */
0051 #define MASTER_IPA_CORE         0
0052 #define MASTER_QUP_CORE_0       1
0053 #define MASTER_QUP_CORE_1       2
0054 #define MASTER_QUP_CORE_2       3
0055 #define SLAVE_IPA_CORE          4
0056 #define SLAVE_QUP_CORE_0        5
0057 #define SLAVE_QUP_CORE_1        6
0058 #define SLAVE_QUP_CORE_2        7
0059 
0060 /* config_noc */
0061 #define MASTER_GEM_NOC_CNOC     0
0062 #define MASTER_GEM_NOC_PCIE_SNOC    1
0063 #define SLAVE_AHB2PHY_0         2
0064 #define SLAVE_AHB2PHY_1         3
0065 #define SLAVE_AHB2PHY_2         4
0066 #define SLAVE_AOSS          5
0067 #define SLAVE_APPSS         6
0068 #define SLAVE_CAMERA_CFG        7
0069 #define SLAVE_CLK_CTL           8
0070 #define SLAVE_CDSP_CFG          9
0071 #define SLAVE_CDSP1_CFG         10
0072 #define SLAVE_RBCPR_CX_CFG      11
0073 #define SLAVE_RBCPR_MMCX_CFG        12
0074 #define SLAVE_RBCPR_MX_CFG      13
0075 #define SLAVE_CPR_NSPCX         14
0076 #define SLAVE_CRYPTO_0_CFG      15
0077 #define SLAVE_CX_RDPM           16
0078 #define SLAVE_DCC_CFG           17
0079 #define SLAVE_DISPLAY_CFG       18
0080 #define SLAVE_DISPLAY1_CFG      19
0081 #define SLAVE_EMAC_CFG          20
0082 #define SLAVE_EMAC1_CFG         21
0083 #define SLAVE_GFX3D_CFG         22
0084 #define SLAVE_HWKM          23
0085 #define SLAVE_IMEM_CFG          24
0086 #define SLAVE_IPA_CFG           25
0087 #define SLAVE_IPC_ROUTER_CFG        26
0088 #define SLAVE_LPASS         27
0089 #define SLAVE_MX_RDPM           28
0090 #define SLAVE_MXC_RDPM          29
0091 #define SLAVE_PCIE_0_CFG        30
0092 #define SLAVE_PCIE_1_CFG        31
0093 #define SLAVE_PCIE_2A_CFG       32
0094 #define SLAVE_PCIE_2B_CFG       33
0095 #define SLAVE_PCIE_3A_CFG       34
0096 #define SLAVE_PCIE_3B_CFG       35
0097 #define SLAVE_PCIE_4_CFG        36
0098 #define SLAVE_PCIE_RSC_CFG      37
0099 #define SLAVE_PDM           38
0100 #define SLAVE_PIMEM_CFG         39
0101 #define SLAVE_PKA_WRAPPER_CFG       40
0102 #define SLAVE_PMU_WRAPPER_CFG       41
0103 #define SLAVE_QDSS_CFG          42
0104 #define SLAVE_QSPI_0            43
0105 #define SLAVE_QUP_0         44
0106 #define SLAVE_QUP_1         45
0107 #define SLAVE_QUP_2         46
0108 #define SLAVE_SDCC_2            47
0109 #define SLAVE_SDCC_4            48
0110 #define SLAVE_SECURITY          49
0111 #define SLAVE_SMMUV3_CFG        50
0112 #define SLAVE_SMSS_CFG          51
0113 #define SLAVE_SPSS_CFG          52
0114 #define SLAVE_TCSR          53
0115 #define SLAVE_TLMM          54
0116 #define SLAVE_UFS_CARD_CFG      55
0117 #define SLAVE_UFS_MEM_CFG       56
0118 #define SLAVE_USB3_0            57
0119 #define SLAVE_USB3_1            58
0120 #define SLAVE_USB3_MP           59
0121 #define SLAVE_USB4_0            60
0122 #define SLAVE_USB4_1            61
0123 #define SLAVE_VENUS_CFG         62
0124 #define SLAVE_VSENSE_CTRL_CFG       63
0125 #define SLAVE_VSENSE_CTRL_R_CFG     64
0126 #define SLAVE_A1NOC_CFG         65
0127 #define SLAVE_A2NOC_CFG         66
0128 #define SLAVE_ANOC_PCIE_BRIDGE_CFG  67
0129 #define SLAVE_DDRSS_CFG         68
0130 #define SLAVE_CNOC_MNOC_CFG     69
0131 #define SLAVE_SNOC_CFG          70
0132 #define SLAVE_SNOC_SF_BRIDGE_CFG    71
0133 #define SLAVE_IMEM          72
0134 #define SLAVE_PIMEM         73
0135 #define SLAVE_SERVICE_CNOC      74
0136 #define SLAVE_PCIE_0            75
0137 #define SLAVE_PCIE_1            76
0138 #define SLAVE_PCIE_2A           77
0139 #define SLAVE_PCIE_2B           78
0140 #define SLAVE_PCIE_3A           79
0141 #define SLAVE_PCIE_3B           80
0142 #define SLAVE_PCIE_4            81
0143 #define SLAVE_QDSS_STM          82
0144 #define SLAVE_SMSS          83
0145 #define SLAVE_TCU           84
0146 
0147 /* dc_noc */
0148 #define MASTER_CNOC_DC_NOC      0
0149 #define SLAVE_LLCC_CFG          1
0150 #define SLAVE_GEM_NOC_CFG       2
0151 
0152 /* gem_noc */
0153 #define MASTER_GPU_TCU          0
0154 #define MASTER_PCIE_TCU         1
0155 #define MASTER_SYS_TCU          2
0156 #define MASTER_APPSS_PROC       3
0157 #define MASTER_COMPUTE_NOC      4
0158 #define MASTER_COMPUTE_NOC_1        5
0159 #define MASTER_GEM_NOC_CFG      6
0160 #define MASTER_GFX3D            7
0161 #define MASTER_MNOC_HF_MEM_NOC      8
0162 #define MASTER_MNOC_SF_MEM_NOC      9
0163 #define MASTER_ANOC_PCIE_GEM_NOC    10
0164 #define MASTER_SNOC_GC_MEM_NOC      11
0165 #define MASTER_SNOC_SF_MEM_NOC      12
0166 #define SLAVE_GEM_NOC_CNOC      13
0167 #define SLAVE_LLCC          14
0168 #define SLAVE_GEM_NOC_PCIE_CNOC     15
0169 #define SLAVE_SERVICE_GEM_NOC_1     16
0170 #define SLAVE_SERVICE_GEM_NOC_2     17
0171 #define SLAVE_SERVICE_GEM_NOC       18
0172 
0173 /* lpass_ag_noc */
0174 #define MASTER_CNOC_LPASS_AG_NOC    0
0175 #define MASTER_LPASS_PROC       1
0176 #define SLAVE_LPASS_CORE_CFG        2
0177 #define SLAVE_LPASS_LPI_CFG     3
0178 #define SLAVE_LPASS_MPU_CFG     4
0179 #define SLAVE_LPASS_TOP_CFG     5
0180 #define SLAVE_LPASS_SNOC        6
0181 #define SLAVE_SERVICES_LPASS_AML_NOC    7
0182 #define SLAVE_SERVICE_LPASS_AG_NOC  8
0183 
0184 /* mc_virt */
0185 #define MASTER_LLCC         0
0186 #define SLAVE_EBI1          1
0187 
0188 /*mmss_noc */
0189 #define MASTER_CAMNOC_HF        0
0190 #define MASTER_MDP0         1
0191 #define MASTER_MDP1         2
0192 #define MASTER_MDP_CORE1_0      3
0193 #define MASTER_MDP_CORE1_1      4
0194 #define MASTER_CNOC_MNOC_CFG        5
0195 #define MASTER_ROTATOR          6
0196 #define MASTER_ROTATOR_1        7
0197 #define MASTER_VIDEO_P0         8
0198 #define MASTER_VIDEO_P1         9
0199 #define MASTER_VIDEO_PROC       10
0200 #define MASTER_CAMNOC_ICP       11
0201 #define MASTER_CAMNOC_SF        12
0202 #define SLAVE_MNOC_HF_MEM_NOC       13
0203 #define SLAVE_MNOC_SF_MEM_NOC       14
0204 #define SLAVE_SERVICE_MNOC      15
0205 
0206 /* nspa_noc */
0207 #define MASTER_CDSP_NOC_CFG     0
0208 #define MASTER_CDSP_PROC        1
0209 #define SLAVE_CDSP_MEM_NOC      2
0210 #define SLAVE_NSP_XFR           3
0211 #define SLAVE_SERVICE_NSP_NOC       4
0212 
0213 /* nspb_noc */
0214 #define MASTER_CDSPB_NOC_CFG        0
0215 #define MASTER_CDSP_PROC_B      1
0216 #define SLAVE_CDSPB_MEM_NOC     2
0217 #define SLAVE_NSPB_XFR          3
0218 #define SLAVE_SERVICE_NSPB_NOC      4
0219 
0220 /* system_noc */
0221 #define MASTER_A1NOC_SNOC       0
0222 #define MASTER_A2NOC_SNOC       1
0223 #define MASTER_USB_NOC_SNOC     2
0224 #define MASTER_LPASS_ANOC       3
0225 #define MASTER_SNOC_CFG         4
0226 #define MASTER_PIMEM            5
0227 #define MASTER_GIC          6
0228 #define SLAVE_SNOC_GEM_NOC_GC       7
0229 #define SLAVE_SNOC_GEM_NOC_SF       8
0230 #define SLAVE_SERVICE_SNOC      9
0231 
0232 #endif