Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
0002 /*
0003  * Qualcomm MSM8996 interconnect IDs
0004  *
0005  * Copyright (c) 2021 Yassine Oudjana <y.oudjana@protonmail.com>
0006  */
0007 
0008 #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_MSM8996_H
0009 #define __DT_BINDINGS_INTERCONNECT_QCOM_MSM8996_H
0010 
0011 /* A0NOC */
0012 #define MASTER_PCIE_0           0
0013 #define MASTER_PCIE_1           1
0014 #define MASTER_PCIE_2           2
0015 
0016 /* A1NOC */
0017 #define MASTER_CNOC_A1NOC       0
0018 #define MASTER_CRYPTO_CORE0     1
0019 #define MASTER_PNOC_A1NOC       2
0020 
0021 /* A2NOC */
0022 #define MASTER_USB3         0
0023 #define MASTER_IPA          1
0024 #define MASTER_UFS          2
0025 
0026 /* BIMC */
0027 #define MASTER_AMPSS_M0         0
0028 #define MASTER_GRAPHICS_3D      1
0029 #define MASTER_MNOC_BIMC        2
0030 #define MASTER_SNOC_BIMC        3
0031 #define SLAVE_EBI_CH0           4
0032 #define SLAVE_HMSS_L3           5
0033 #define SLAVE_BIMC_SNOC_0       6
0034 #define SLAVE_BIMC_SNOC_1       7
0035 
0036 /* CNOC */
0037 #define MASTER_SNOC_CNOC        0
0038 #define MASTER_QDSS_DAP         1
0039 #define SLAVE_CNOC_A1NOC        2
0040 #define SLAVE_CLK_CTL           3
0041 #define SLAVE_TCSR          4
0042 #define SLAVE_TLMM          5
0043 #define SLAVE_CRYPTO_0_CFG      6
0044 #define SLAVE_MPM           7
0045 #define SLAVE_PIMEM_CFG         8
0046 #define SLAVE_IMEM_CFG          9
0047 #define SLAVE_MESSAGE_RAM       10
0048 #define SLAVE_BIMC_CFG          11
0049 #define SLAVE_PMIC_ARB          12
0050 #define SLAVE_PRNG          13
0051 #define SLAVE_DCC_CFG           14
0052 #define SLAVE_RBCPR_MX          15
0053 #define SLAVE_QDSS_CFG          16
0054 #define SLAVE_RBCPR_CX          17
0055 #define SLAVE_QDSS_RBCPR_APU        18
0056 #define SLAVE_CNOC_MNOC_CFG     19
0057 #define SLAVE_SNOC_CFG          20
0058 #define SLAVE_SNOC_MPU_CFG      21
0059 #define SLAVE_EBI1_PHY_CFG      22
0060 #define SLAVE_A0NOC_CFG         23
0061 #define SLAVE_PCIE_1_CFG        24
0062 #define SLAVE_PCIE_2_CFG        25
0063 #define SLAVE_PCIE_0_CFG        26
0064 #define SLAVE_PCIE20_AHB2PHY        27
0065 #define SLAVE_A0NOC_MPU_CFG     28
0066 #define SLAVE_UFS_CFG           29
0067 #define SLAVE_A1NOC_CFG         30
0068 #define SLAVE_A1NOC_MPU_CFG     31
0069 #define SLAVE_A2NOC_CFG         32
0070 #define SLAVE_A2NOC_MPU_CFG     33
0071 #define SLAVE_SSC_CFG           34
0072 #define SLAVE_A0NOC_SMMU_CFG        35
0073 #define SLAVE_A1NOC_SMMU_CFG        36
0074 #define SLAVE_A2NOC_SMMU_CFG        37
0075 #define SLAVE_LPASS_SMMU_CFG        38
0076 #define SLAVE_CNOC_MNOC_MMSS_CFG    39
0077 
0078 /* MNOC */
0079 #define MASTER_CNOC_MNOC_CFG        0
0080 #define MASTER_CPP          1
0081 #define MASTER_JPEG         2
0082 #define MASTER_MDP_PORT0        3
0083 #define MASTER_MDP_PORT1        4
0084 #define MASTER_ROTATOR          5
0085 #define MASTER_VIDEO_P0         6
0086 #define MASTER_VFE          7
0087 #define MASTER_SNOC_VMEM        8
0088 #define MASTER_VIDEO_P0_OCMEM       9
0089 #define MASTER_CNOC_MNOC_MMSS_CFG   10
0090 #define SLAVE_MNOC_BIMC         11
0091 #define SLAVE_VMEM          12
0092 #define SLAVE_SERVICE_MNOC      13
0093 #define SLAVE_MMAGIC_CFG        14
0094 #define SLAVE_CPR_CFG           15
0095 #define SLAVE_MISC_CFG          16
0096 #define SLAVE_VENUS_THROTTLE_CFG    17
0097 #define SLAVE_VENUS_CFG         18
0098 #define SLAVE_VMEM_CFG          19
0099 #define SLAVE_DSA_CFG           20
0100 #define SLAVE_MMSS_CLK_CFG      21
0101 #define SLAVE_DSA_MPU_CFG       22
0102 #define SLAVE_MNOC_MPU_CFG      23
0103 #define SLAVE_DISPLAY_CFG       24
0104 #define SLAVE_DISPLAY_THROTTLE_CFG  25
0105 #define SLAVE_CAMERA_CFG        26
0106 #define SLAVE_CAMERA_THROTTLE_CFG   27
0107 #define SLAVE_GRAPHICS_3D_CFG       28
0108 #define SLAVE_SMMU_MDP_CFG      29
0109 #define SLAVE_SMMU_ROT_CFG      30
0110 #define SLAVE_SMMU_VENUS_CFG        31
0111 #define SLAVE_SMMU_CPP_CFG      32
0112 #define SLAVE_SMMU_JPEG_CFG     33
0113 #define SLAVE_SMMU_VFE_CFG      34
0114 
0115 /* PNOC */
0116 #define MASTER_SNOC_PNOC        0
0117 #define MASTER_SDCC_1           1
0118 #define MASTER_SDCC_2           2
0119 #define MASTER_SDCC_4           3
0120 #define MASTER_USB_HS           4
0121 #define MASTER_BLSP_1           5
0122 #define MASTER_BLSP_2           6
0123 #define MASTER_TSIF         7
0124 #define SLAVE_PNOC_A1NOC        8
0125 #define SLAVE_USB_HS            9
0126 #define SLAVE_SDCC_2            10
0127 #define SLAVE_SDCC_4            11
0128 #define SLAVE_TSIF          12
0129 #define SLAVE_BLSP_2            13
0130 #define SLAVE_SDCC_1            14
0131 #define SLAVE_BLSP_1            15
0132 #define SLAVE_PDM           16
0133 #define SLAVE_AHB2PHY           17
0134 
0135 /* SNOC */
0136 #define MASTER_HMSS         0
0137 #define MASTER_QDSS_BAM         1
0138 #define MASTER_SNOC_CFG         2
0139 #define MASTER_BIMC_SNOC_0      3
0140 #define MASTER_BIMC_SNOC_1      4
0141 #define MASTER_A0NOC_SNOC       5
0142 #define MASTER_A1NOC_SNOC       6
0143 #define MASTER_A2NOC_SNOC       7
0144 #define MASTER_QDSS_ETR         8
0145 #define SLAVE_A0NOC_SNOC        9
0146 #define SLAVE_A1NOC_SNOC        10
0147 #define SLAVE_A2NOC_SNOC        11
0148 #define SLAVE_HMSS          12
0149 #define SLAVE_LPASS         13
0150 #define SLAVE_USB3          14
0151 #define SLAVE_SNOC_BIMC         15
0152 #define SLAVE_SNOC_CNOC         16
0153 #define SLAVE_IMEM          17
0154 #define SLAVE_PIMEM         18
0155 #define SLAVE_SNOC_VMEM         19
0156 #define SLAVE_SNOC_PNOC         20
0157 #define SLAVE_QDSS_STM          21
0158 #define SLAVE_PCIE_0            22
0159 #define SLAVE_PCIE_1            23
0160 #define SLAVE_PCIE_2            24
0161 #define SLAVE_SERVICE_SNOC      25
0162 
0163 #endif