Home | History | Annotate | Line # | Download | only in interconnect
      1 /*	$NetBSD: qcom,sm6350.h,v 1.1.1.1 2026/01/18 05:21:46 skrll Exp $	*/
      2 
      3 /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
      4 /*
      5  * Qualcomm SM6350 interconnect IDs
      6  *
      7  * Copyright (C) 2022 Luca Weiss <luca.weiss (at) fairphone.com>
      8  */
      9 
     10 #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM6350_H
     11 #define __DT_BINDINGS_INTERCONNECT_QCOM_SM6350_H
     12 
     13 #define MASTER_A1NOC_CFG		0
     14 #define MASTER_QUP_0			1
     15 #define MASTER_EMMC			2
     16 #define MASTER_UFS_MEM			3
     17 #define A1NOC_SNOC_SLV			4
     18 #define SLAVE_SERVICE_A1NOC		5
     19 
     20 #define MASTER_A2NOC_CFG		0
     21 #define MASTER_QDSS_BAM			1
     22 #define MASTER_QUP_1			2
     23 #define MASTER_CRYPTO_CORE_0		3
     24 #define MASTER_IPA			4
     25 #define MASTER_QDSS_ETR			5
     26 #define MASTER_SDCC_2			6
     27 #define MASTER_USB3			7
     28 #define A2NOC_SNOC_SLV			8
     29 #define SLAVE_SERVICE_A2NOC		9
     30 
     31 #define MASTER_CAMNOC_HF0_UNCOMP	0
     32 #define MASTER_CAMNOC_ICP_UNCOMP	1
     33 #define MASTER_CAMNOC_SF_UNCOMP		2
     34 #define MASTER_QUP_CORE_0		3
     35 #define MASTER_QUP_CORE_1		4
     36 #define MASTER_LLCC			5
     37 #define SLAVE_CAMNOC_UNCOMP		6
     38 #define SLAVE_QUP_CORE_0		7
     39 #define SLAVE_QUP_CORE_1		8
     40 #define SLAVE_EBI_CH0			9
     41 
     42 #define MASTER_NPU			0
     43 #define MASTER_NPU_PROC			1
     44 #define SLAVE_CDSP_GEM_NOC		2
     45 
     46 #define SNOC_CNOC_MAS			0
     47 #define MASTER_QDSS_DAP			1
     48 #define SLAVE_A1NOC_CFG			2
     49 #define SLAVE_A2NOC_CFG			3
     50 #define SLAVE_AHB2PHY			4
     51 #define SLAVE_AHB2PHY_2			5
     52 #define SLAVE_AOSS			6
     53 #define SLAVE_BOOT_ROM			7
     54 #define SLAVE_CAMERA_CFG		8
     55 #define SLAVE_CAMERA_NRT_THROTTLE_CFG	9
     56 #define SLAVE_CAMERA_RT_THROTTLE_CFG	10
     57 #define SLAVE_CLK_CTL			11
     58 #define SLAVE_RBCPR_CX_CFG		12
     59 #define SLAVE_RBCPR_MX_CFG		13
     60 #define SLAVE_CRYPTO_0_CFG		14
     61 #define SLAVE_DCC_CFG			15
     62 #define SLAVE_CNOC_DDRSS		16
     63 #define SLAVE_DISPLAY_CFG		17
     64 #define SLAVE_DISPLAY_THROTTLE_CFG	18
     65 #define SLAVE_EMMC_CFG			19
     66 #define SLAVE_GLM			20
     67 #define SLAVE_GRAPHICS_3D_CFG		21
     68 #define SLAVE_IMEM_CFG			22
     69 #define SLAVE_IPA_CFG			23
     70 #define SLAVE_CNOC_MNOC_CFG		24
     71 #define SLAVE_CNOC_MSS			25
     72 #define SLAVE_NPU_CFG			26
     73 #define SLAVE_PDM			27
     74 #define SLAVE_PIMEM_CFG			28
     75 #define SLAVE_PRNG			29
     76 #define SLAVE_QDSS_CFG			30
     77 #define SLAVE_QM_CFG			31
     78 #define SLAVE_QM_MPU_CFG		32
     79 #define SLAVE_QUP_0			33
     80 #define SLAVE_QUP_1			34
     81 #define SLAVE_SDCC_2			35
     82 #define SLAVE_SECURITY			36
     83 #define SLAVE_SNOC_CFG			37
     84 #define SLAVE_TCSR			38
     85 #define SLAVE_UFS_MEM_CFG		39
     86 #define SLAVE_USB3			40
     87 #define SLAVE_VENUS_CFG			41
     88 #define SLAVE_VENUS_THROTTLE_CFG	42
     89 #define SLAVE_VSENSE_CTRL_CFG		43
     90 #define SLAVE_SERVICE_CNOC		44
     91 
     92 #define MASTER_CNOC_DC_NOC		0
     93 #define SLAVE_GEM_NOC_CFG		1
     94 #define SLAVE_LLCC_CFG			2
     95 
     96 #define MASTER_AMPSS_M0			0
     97 #define MASTER_SYS_TCU			1
     98 #define MASTER_GEM_NOC_CFG		2
     99 #define MASTER_COMPUTE_NOC		3
    100 #define MASTER_MNOC_HF_MEM_NOC		4
    101 #define MASTER_MNOC_SF_MEM_NOC		5
    102 #define MASTER_SNOC_GC_MEM_NOC		6
    103 #define MASTER_SNOC_SF_MEM_NOC		7
    104 #define MASTER_GRAPHICS_3D		8
    105 #define SLAVE_MCDMA_MS_MPU_CFG		9
    106 #define SLAVE_MSS_PROC_MS_MPU_CFG	10
    107 #define SLAVE_GEM_NOC_SNOC		11
    108 #define SLAVE_LLCC			12
    109 #define SLAVE_SERVICE_GEM_NOC		13
    110 
    111 #define MASTER_CNOC_MNOC_CFG		0
    112 #define MASTER_VIDEO_P0			1
    113 #define MASTER_VIDEO_PROC		2
    114 #define MASTER_CAMNOC_HF		3
    115 #define MASTER_CAMNOC_ICP		4
    116 #define MASTER_CAMNOC_SF		5
    117 #define MASTER_MDP_PORT0		6
    118 #define SLAVE_MNOC_HF_MEM_NOC		7
    119 #define SLAVE_MNOC_SF_MEM_NOC		8
    120 #define SLAVE_SERVICE_MNOC		9
    121 
    122 #define MASTER_NPU_SYS			0
    123 #define MASTER_NPU_NOC_CFG		1
    124 #define SLAVE_NPU_CAL_DP0		2
    125 #define SLAVE_NPU_CP			3
    126 #define SLAVE_NPU_INT_DMA_BWMON_CFG	4
    127 #define SLAVE_NPU_DPM			5
    128 #define SLAVE_ISENSE_CFG		6
    129 #define SLAVE_NPU_LLM_CFG		7
    130 #define SLAVE_NPU_TCM			8
    131 #define SLAVE_NPU_COMPUTE_NOC		9
    132 #define SLAVE_SERVICE_NPU_NOC		10
    133 
    134 #define MASTER_SNOC_CFG			0
    135 #define A1NOC_SNOC_MAS			1
    136 #define A2NOC_SNOC_MAS			2
    137 #define MASTER_GEM_NOC_SNOC		3
    138 #define MASTER_PIMEM			4
    139 #define MASTER_GIC			5
    140 #define SLAVE_APPSS			6
    141 #define SNOC_CNOC_SLV			7
    142 #define SLAVE_SNOC_GEM_NOC_GC		8
    143 #define SLAVE_SNOC_GEM_NOC_SF		9
    144 #define SLAVE_OCIMEM			10
    145 #define SLAVE_PIMEM			11
    146 #define SLAVE_SERVICE_SNOC		12
    147 #define SLAVE_QDSS_STM			13
    148 #define SLAVE_TCU			14
    149 
    150 #endif
    151