Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
0002 /*
0003  * Qualcomm SM8350 interconnect IDs
0004  *
0005  * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
0006  * Copyright (c) 2021, Linaro Limited
0007  */
0008 
0009 #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM8350_H
0010 #define __DT_BINDINGS_INTERCONNECT_QCOM_SM8350_H
0011 
0012 #define MASTER_QSPI_0           0
0013 #define MASTER_QUP_1            1
0014 #define MASTER_A1NOC_CFG        2
0015 #define MASTER_SDCC_4           3
0016 #define MASTER_UFS_MEM          4
0017 #define MASTER_USB3_0           5
0018 #define MASTER_USB3_1           6
0019 #define SLAVE_A1NOC_SNOC        7
0020 #define SLAVE_SERVICE_A1NOC     8
0021 
0022 #define MASTER_QDSS_BAM         0
0023 #define MASTER_QUP_0            1
0024 #define MASTER_QUP_2            2
0025 #define MASTER_A2NOC_CFG        3
0026 #define MASTER_CRYPTO           4
0027 #define MASTER_IPA          5
0028 #define MASTER_PCIE_0           6
0029 #define MASTER_PCIE_1           7
0030 #define MASTER_QDSS_ETR         8
0031 #define MASTER_SDCC_2           9
0032 #define MASTER_UFS_CARD         10
0033 #define SLAVE_A2NOC_SNOC        11
0034 #define SLAVE_ANOC_PCIE_GEM_NOC     12
0035 #define SLAVE_SERVICE_A2NOC     13
0036 
0037 #define MASTER_GEM_NOC_CNOC     0
0038 #define MASTER_GEM_NOC_PCIE_SNOC    1
0039 #define MASTER_QDSS_DAP         2
0040 #define SLAVE_AHB2PHY_SOUTH     3
0041 #define SLAVE_AHB2PHY_NORTH     4
0042 #define SLAVE_AOSS          5
0043 #define SLAVE_APPSS         6
0044 #define SLAVE_CAMERA_CFG        7
0045 #define SLAVE_CLK_CTL           8
0046 #define SLAVE_CDSP_CFG          9
0047 #define SLAVE_RBCPR_CX_CFG      10
0048 #define SLAVE_RBCPR_MMCX_CFG        11
0049 #define SLAVE_RBCPR_MX_CFG      12
0050 #define SLAVE_CRYPTO_0_CFG      13
0051 #define SLAVE_CX_RDPM           14
0052 #define SLAVE_DCC_CFG           15
0053 #define SLAVE_DISPLAY_CFG       16
0054 #define SLAVE_GFX3D_CFG         17
0055 #define SLAVE_HWKM          18
0056 #define SLAVE_IMEM_CFG          19
0057 #define SLAVE_IPA_CFG           20
0058 #define SLAVE_IPC_ROUTER_CFG        21
0059 #define SLAVE_LPASS         22
0060 #define SLAVE_CNOC_MSS          23
0061 #define SLAVE_MX_RDPM           24
0062 #define SLAVE_PCIE_0_CFG        25
0063 #define SLAVE_PCIE_1_CFG        26
0064 #define SLAVE_PDM           27
0065 #define SLAVE_PIMEM_CFG         28
0066 #define SLAVE_PKA_WRAPPER_CFG       29
0067 #define SLAVE_PMU_WRAPPER_CFG       30
0068 #define SLAVE_QDSS_CFG          31
0069 #define SLAVE_QSPI_0            32
0070 #define SLAVE_QUP_0         33
0071 #define SLAVE_QUP_1         34
0072 #define SLAVE_QUP_2         35
0073 #define SLAVE_SDCC_2            36
0074 #define SLAVE_SDCC_4            37
0075 #define SLAVE_SECURITY          38
0076 #define SLAVE_SPSS_CFG          39
0077 #define SLAVE_TCSR          40
0078 #define SLAVE_TLMM          41
0079 #define SLAVE_UFS_CARD_CFG      42
0080 #define SLAVE_UFS_MEM_CFG       43
0081 #define SLAVE_USB3_0            44
0082 #define SLAVE_USB3_1            45
0083 #define SLAVE_VENUS_CFG         46
0084 #define SLAVE_VSENSE_CTRL_CFG       47
0085 #define SLAVE_A1NOC_CFG         48
0086 #define SLAVE_A2NOC_CFG         49
0087 #define SLAVE_DDRSS_CFG         50
0088 #define SLAVE_CNOC_MNOC_CFG     51
0089 #define SLAVE_SNOC_CFG          52
0090 #define SLAVE_BOOT_IMEM         53
0091 #define SLAVE_IMEM          54
0092 #define SLAVE_PIMEM         55
0093 #define SLAVE_SERVICE_CNOC      56
0094 #define SLAVE_PCIE_0            57
0095 #define SLAVE_PCIE_1            58
0096 #define SLAVE_QDSS_STM          59
0097 #define SLAVE_TCU           60
0098 
0099 #define MASTER_CNOC_DC_NOC      0
0100 #define SLAVE_LLCC_CFG          1
0101 #define SLAVE_GEM_NOC_CFG       2
0102 
0103 #define MASTER_GPU_TCU          0
0104 #define MASTER_SYS_TCU          1
0105 #define MASTER_APPSS_PROC       2
0106 #define MASTER_COMPUTE_NOC      3
0107 #define MASTER_GEM_NOC_CFG      4
0108 #define MASTER_GFX3D            5
0109 #define MASTER_MNOC_HF_MEM_NOC      6
0110 #define MASTER_MNOC_SF_MEM_NOC      7
0111 #define MASTER_ANOC_PCIE_GEM_NOC    8
0112 #define MASTER_SNOC_GC_MEM_NOC      9
0113 #define MASTER_SNOC_SF_MEM_NOC      10
0114 #define SLAVE_MSS_PROC_MS_MPU_CFG   11
0115 #define SLAVE_MCDMA_MS_MPU_CFG      12
0116 #define SLAVE_GEM_NOC_CNOC      13
0117 #define SLAVE_LLCC          14
0118 #define SLAVE_MEM_NOC_PCIE_SNOC     15
0119 #define SLAVE_SERVICE_GEM_NOC_1     16
0120 #define SLAVE_SERVICE_GEM_NOC_2     17
0121 #define SLAVE_SERVICE_GEM_NOC       18
0122 #define MASTER_MNOC_HF_MEM_NOC_DISP 19
0123 #define MASTER_MNOC_SF_MEM_NOC_DISP 20
0124 #define SLAVE_LLCC_DISP         21
0125 
0126 #define MASTER_CNOC_LPASS_AG_NOC    0
0127 #define SLAVE_LPASS_CORE_CFG        1
0128 #define SLAVE_LPASS_LPI_CFG     2
0129 #define SLAVE_LPASS_MPU_CFG     3
0130 #define SLAVE_LPASS_TOP_CFG     4
0131 #define SLAVE_SERVICES_LPASS_AML_NOC    5
0132 #define SLAVE_SERVICE_LPASS_AG_NOC  6
0133 
0134 #define MASTER_LLCC         0
0135 #define SLAVE_EBI1          1
0136 #define MASTER_LLCC_DISP        2
0137 #define SLAVE_EBI1_DISP         3
0138 
0139 #define MASTER_CAMNOC_HF        0
0140 #define MASTER_CAMNOC_ICP       1
0141 #define MASTER_CAMNOC_SF        2
0142 #define MASTER_CNOC_MNOC_CFG        3
0143 #define MASTER_VIDEO_P0         4
0144 #define MASTER_VIDEO_P1         5
0145 #define MASTER_VIDEO_PROC       6
0146 #define MASTER_MDP0         7
0147 #define MASTER_MDP1         8
0148 #define MASTER_ROTATOR          9
0149 #define SLAVE_MNOC_HF_MEM_NOC       10
0150 #define SLAVE_MNOC_SF_MEM_NOC       11
0151 #define SLAVE_SERVICE_MNOC      12
0152 #define MASTER_MDP0_DISP        13
0153 #define MASTER_MDP1_DISP        14
0154 #define MASTER_ROTATOR_DISP     15
0155 #define SLAVE_MNOC_HF_MEM_NOC_DISP  16
0156 #define SLAVE_MNOC_SF_MEM_NOC_DISP  17
0157 
0158 #define MASTER_CDSP_NOC_CFG     0
0159 #define MASTER_CDSP_PROC        1
0160 #define SLAVE_CDSP_MEM_NOC      2
0161 #define SLAVE_SERVICE_NSP_NOC       3
0162 
0163 #define MASTER_A1NOC_SNOC       0
0164 #define MASTER_A2NOC_SNOC       1
0165 #define MASTER_SNOC_CFG         2
0166 #define MASTER_PIMEM            3
0167 #define MASTER_GIC          4
0168 #define SLAVE_SNOC_GEM_NOC_GC       5
0169 #define SLAVE_SNOC_GEM_NOC_SF       6
0170 #define SLAVE_SERVICE_SNOC      7
0171 
0172 #endif