Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
0002 /*
0003  * Qualcomm SM6350 interconnect IDs
0004  *
0005  * Copyright (C) 2022 Luca Weiss <luca.weiss@fairphone.com>
0006  */
0007 
0008 #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM6350_H
0009 #define __DT_BINDINGS_INTERCONNECT_QCOM_SM6350_H
0010 
0011 #define MASTER_A1NOC_CFG        0
0012 #define MASTER_QUP_0            1
0013 #define MASTER_EMMC         2
0014 #define MASTER_UFS_MEM          3
0015 #define A1NOC_SNOC_SLV          4
0016 #define SLAVE_SERVICE_A1NOC     5
0017 
0018 #define MASTER_A2NOC_CFG        0
0019 #define MASTER_QDSS_BAM         1
0020 #define MASTER_QUP_1            2
0021 #define MASTER_CRYPTO_CORE_0        3
0022 #define MASTER_IPA          4
0023 #define MASTER_QDSS_ETR         5
0024 #define MASTER_SDCC_2           6
0025 #define MASTER_USB3         7
0026 #define A2NOC_SNOC_SLV          8
0027 #define SLAVE_SERVICE_A2NOC     9
0028 
0029 #define MASTER_CAMNOC_HF0_UNCOMP    0
0030 #define MASTER_CAMNOC_ICP_UNCOMP    1
0031 #define MASTER_CAMNOC_SF_UNCOMP     2
0032 #define MASTER_QUP_CORE_0       3
0033 #define MASTER_QUP_CORE_1       4
0034 #define MASTER_LLCC         5
0035 #define SLAVE_CAMNOC_UNCOMP     6
0036 #define SLAVE_QUP_CORE_0        7
0037 #define SLAVE_QUP_CORE_1        8
0038 #define SLAVE_EBI_CH0           9
0039 
0040 #define MASTER_NPU          0
0041 #define MASTER_NPU_PROC         1
0042 #define SLAVE_CDSP_GEM_NOC      2
0043 
0044 #define SNOC_CNOC_MAS           0
0045 #define MASTER_QDSS_DAP         1
0046 #define SLAVE_A1NOC_CFG         2
0047 #define SLAVE_A2NOC_CFG         3
0048 #define SLAVE_AHB2PHY           4
0049 #define SLAVE_AHB2PHY_2         5
0050 #define SLAVE_AOSS          6
0051 #define SLAVE_BOOT_ROM          7
0052 #define SLAVE_CAMERA_CFG        8
0053 #define SLAVE_CAMERA_NRT_THROTTLE_CFG   9
0054 #define SLAVE_CAMERA_RT_THROTTLE_CFG    10
0055 #define SLAVE_CLK_CTL           11
0056 #define SLAVE_RBCPR_CX_CFG      12
0057 #define SLAVE_RBCPR_MX_CFG      13
0058 #define SLAVE_CRYPTO_0_CFG      14
0059 #define SLAVE_DCC_CFG           15
0060 #define SLAVE_CNOC_DDRSS        16
0061 #define SLAVE_DISPLAY_CFG       17
0062 #define SLAVE_DISPLAY_THROTTLE_CFG  18
0063 #define SLAVE_EMMC_CFG          19
0064 #define SLAVE_GLM           20
0065 #define SLAVE_GRAPHICS_3D_CFG       21
0066 #define SLAVE_IMEM_CFG          22
0067 #define SLAVE_IPA_CFG           23
0068 #define SLAVE_CNOC_MNOC_CFG     24
0069 #define SLAVE_CNOC_MSS          25
0070 #define SLAVE_NPU_CFG           26
0071 #define SLAVE_PDM           27
0072 #define SLAVE_PIMEM_CFG         28
0073 #define SLAVE_PRNG          29
0074 #define SLAVE_QDSS_CFG          30
0075 #define SLAVE_QM_CFG            31
0076 #define SLAVE_QM_MPU_CFG        32
0077 #define SLAVE_QUP_0         33
0078 #define SLAVE_QUP_1         34
0079 #define SLAVE_SDCC_2            35
0080 #define SLAVE_SECURITY          36
0081 #define SLAVE_SNOC_CFG          37
0082 #define SLAVE_TCSR          38
0083 #define SLAVE_UFS_MEM_CFG       39
0084 #define SLAVE_USB3          40
0085 #define SLAVE_VENUS_CFG         41
0086 #define SLAVE_VENUS_THROTTLE_CFG    42
0087 #define SLAVE_VSENSE_CTRL_CFG       43
0088 #define SLAVE_SERVICE_CNOC      44
0089 
0090 #define MASTER_CNOC_DC_NOC      0
0091 #define SLAVE_GEM_NOC_CFG       1
0092 #define SLAVE_LLCC_CFG          2
0093 
0094 #define MASTER_AMPSS_M0         0
0095 #define MASTER_SYS_TCU          1
0096 #define MASTER_GEM_NOC_CFG      2
0097 #define MASTER_COMPUTE_NOC      3
0098 #define MASTER_MNOC_HF_MEM_NOC      4
0099 #define MASTER_MNOC_SF_MEM_NOC      5
0100 #define MASTER_SNOC_GC_MEM_NOC      6
0101 #define MASTER_SNOC_SF_MEM_NOC      7
0102 #define MASTER_GRAPHICS_3D      8
0103 #define SLAVE_MCDMA_MS_MPU_CFG      9
0104 #define SLAVE_MSS_PROC_MS_MPU_CFG   10
0105 #define SLAVE_GEM_NOC_SNOC      11
0106 #define SLAVE_LLCC          12
0107 #define SLAVE_SERVICE_GEM_NOC       13
0108 
0109 #define MASTER_CNOC_MNOC_CFG        0
0110 #define MASTER_VIDEO_P0         1
0111 #define MASTER_VIDEO_PROC       2
0112 #define MASTER_CAMNOC_HF        3
0113 #define MASTER_CAMNOC_ICP       4
0114 #define MASTER_CAMNOC_SF        5
0115 #define MASTER_MDP_PORT0        6
0116 #define SLAVE_MNOC_HF_MEM_NOC       7
0117 #define SLAVE_MNOC_SF_MEM_NOC       8
0118 #define SLAVE_SERVICE_MNOC      9
0119 
0120 #define MASTER_NPU_SYS          0
0121 #define MASTER_NPU_NOC_CFG      1
0122 #define SLAVE_NPU_CAL_DP0       2
0123 #define SLAVE_NPU_CP            3
0124 #define SLAVE_NPU_INT_DMA_BWMON_CFG 4
0125 #define SLAVE_NPU_DPM           5
0126 #define SLAVE_ISENSE_CFG        6
0127 #define SLAVE_NPU_LLM_CFG       7
0128 #define SLAVE_NPU_TCM           8
0129 #define SLAVE_NPU_COMPUTE_NOC       9
0130 #define SLAVE_SERVICE_NPU_NOC       10
0131 
0132 #define MASTER_SNOC_CFG         0
0133 #define A1NOC_SNOC_MAS          1
0134 #define A2NOC_SNOC_MAS          2
0135 #define MASTER_GEM_NOC_SNOC     3
0136 #define MASTER_PIMEM            4
0137 #define MASTER_GIC          5
0138 #define SLAVE_APPSS         6
0139 #define SNOC_CNOC_SLV           7
0140 #define SLAVE_SNOC_GEM_NOC_GC       8
0141 #define SLAVE_SNOC_GEM_NOC_SF       9
0142 #define SLAVE_OCIMEM            10
0143 #define SLAVE_PIMEM         11
0144 #define SLAVE_SERVICE_SNOC      12
0145 #define SLAVE_QDSS_STM          13
0146 #define SLAVE_TCU           14
0147 
0148 #endif