Home | History | Annotate | Line # | Download | only in interconnect
      1 /*	$NetBSD: qcom,sm8450.h,v 1.1.1.1 2026/01/18 05:21:46 skrll Exp $	*/
      2 
      3 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
      4 /*
      5  * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
      6  * Copyright (c) 2021, Linaro Limited
      7  */
      8 
      9 #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM8450_H
     10 #define __DT_BINDINGS_INTERCONNECT_QCOM_SM8450_H
     11 
     12 #define MASTER_QSPI_0				0
     13 #define MASTER_QUP_1				1
     14 #define MASTER_A1NOC_CFG			2
     15 #define MASTER_SDCC_4				3
     16 #define MASTER_UFS_MEM				4
     17 #define MASTER_USB3_0				5
     18 #define SLAVE_A1NOC_SNOC			6
     19 #define SLAVE_SERVICE_A1NOC			7
     20 
     21 #define	MASTER_QDSS_BAM				0
     22 #define	MASTER_QUP_0				1
     23 #define	MASTER_QUP_2				2
     24 #define	MASTER_A2NOC_CFG			3
     25 #define	MASTER_CRYPTO				4
     26 #define	MASTER_IPA				5
     27 #define	MASTER_SENSORS_PROC			6
     28 #define	MASTER_SP				7
     29 #define	MASTER_QDSS_ETR				8
     30 #define	MASTER_QDSS_ETR_1			9
     31 #define	MASTER_SDCC_2				10
     32 #define	SLAVE_A2NOC_SNOC			11
     33 #define	SLAVE_SERVICE_A2NOC			12
     34 
     35 #define MASTER_QUP_CORE_0			0
     36 #define MASTER_QUP_CORE_1			1
     37 #define MASTER_QUP_CORE_2			2
     38 #define SLAVE_QUP_CORE_0			3
     39 #define SLAVE_QUP_CORE_1			4
     40 #define SLAVE_QUP_CORE_2			5
     41 
     42 #define	MASTER_GEM_NOC_CNOC			0
     43 #define	MASTER_GEM_NOC_PCIE_SNOC		1
     44 #define	SLAVE_AHB2PHY_SOUTH			2
     45 #define	SLAVE_AHB2PHY_NORTH			3
     46 #define	SLAVE_AOSS			        4
     47 #define	SLAVE_CAMERA_CFG			5
     48 #define	SLAVE_CLK_CTL			        6
     49 #define	SLAVE_CDSP_CFG			        7
     50 #define	SLAVE_RBCPR_CX_CFG			8
     51 #define	SLAVE_RBCPR_MMCX_CFG			9
     52 #define	SLAVE_RBCPR_MXA_CFG			10
     53 #define	SLAVE_RBCPR_MXC_CFG			11
     54 #define	SLAVE_CRYPTO_0_CFG			12
     55 #define	SLAVE_CX_RDPM				13
     56 #define	SLAVE_DISPLAY_CFG			14
     57 #define	SLAVE_GFX3D_CFG			        15
     58 #define	SLAVE_IMEM_CFG			        16
     59 #define	SLAVE_IPA_CFG			        17
     60 #define	SLAVE_IPC_ROUTER_CFG			18
     61 #define	SLAVE_LPASS			        19
     62 #define	SLAVE_CNOC_MSS			        20
     63 #define	SLAVE_MX_RDPM				21
     64 #define	SLAVE_PCIE_0_CFG			22
     65 #define	SLAVE_PCIE_1_CFG			23
     66 #define	SLAVE_PDM				24
     67 #define	SLAVE_PIMEM_CFG				25
     68 #define	SLAVE_PRNG				26
     69 #define	SLAVE_QDSS_CFG				27
     70 #define	SLAVE_QSPI_0				28
     71 #define	SLAVE_QUP_0				29
     72 #define	SLAVE_QUP_1				30
     73 #define	SLAVE_QUP_2				31
     74 #define	SLAVE_SDCC_2				32
     75 #define	SLAVE_SDCC_4				33
     76 #define	SLAVE_SPSS_CFG				34
     77 #define	SLAVE_TCSR				35
     78 #define	SLAVE_TLMM				36
     79 #define	SLAVE_TME_CFG				37
     80 #define	SLAVE_UFS_MEM_CFG			38
     81 #define	SLAVE_USB3_0				39
     82 #define	SLAVE_VENUS_CFG				40
     83 #define	SLAVE_VSENSE_CTRL_CFG			41
     84 #define	SLAVE_A1NOC_CFG				42
     85 #define	SLAVE_A2NOC_CFG				43
     86 #define	SLAVE_DDRSS_CFG				44
     87 #define	SLAVE_CNOC_MNOC_CFG			45
     88 #define	SLAVE_PCIE_ANOC_CFG			46
     89 #define	SLAVE_SNOC_CFG				47
     90 #define	SLAVE_IMEM				48
     91 #define	SLAVE_PIMEM				49
     92 #define	SLAVE_SERVICE_CNOC			50
     93 #define	SLAVE_PCIE_0				51
     94 #define	SLAVE_PCIE_1				52
     95 #define	SLAVE_QDSS_STM				53
     96 #define	SLAVE_TCU				54
     97 
     98 #define MASTER_GPU_TCU				0
     99 #define MASTER_SYS_TCU				1
    100 #define MASTER_APPSS_PROC			2
    101 #define MASTER_GFX3D				3
    102 #define MASTER_MSS_PROC				4
    103 #define MASTER_MNOC_HF_MEM_NOC			5
    104 #define MASTER_MNOC_SF_MEM_NOC			6
    105 #define MASTER_COMPUTE_NOC			7
    106 #define MASTER_ANOC_PCIE_GEM_NOC		8
    107 #define MASTER_SNOC_GC_MEM_NOC			9
    108 #define MASTER_SNOC_SF_MEM_NOC			10
    109 #define SLAVE_GEM_NOC_CNOC			11
    110 #define SLAVE_LLCC				12
    111 #define SLAVE_MEM_NOC_PCIE_SNOC			13
    112 #define MASTER_MNOC_HF_MEM_NOC_DISP		14
    113 #define MASTER_MNOC_SF_MEM_NOC_DISP		15
    114 #define MASTER_ANOC_PCIE_GEM_NOC_DISP		16
    115 #define SLAVE_LLCC_DISP				17
    116 
    117 #define MASTER_CNOC_LPASS_AG_NOC		0
    118 #define MASTER_LPASS_PROC			1
    119 #define SLAVE_LPASS_CORE_CFG			2
    120 #define SLAVE_LPASS_LPI_CFG			3
    121 #define SLAVE_LPASS_MPU_CFG			4
    122 #define SLAVE_LPASS_TOP_CFG			5
    123 #define SLAVE_LPASS_SNOC			6
    124 #define SLAVE_SERVICES_LPASS_AML_NOC		7
    125 #define SLAVE_SERVICE_LPASS_AG_NOC		8
    126 
    127 #define MASTER_LLCC				0
    128 #define SLAVE_EBI1				1
    129 #define MASTER_LLCC_DISP			2
    130 #define SLAVE_EBI1_DISP				3
    131 
    132 #define MASTER_CAMNOC_HF			0
    133 #define MASTER_CAMNOC_ICP			1
    134 #define MASTER_CAMNOC_SF			2
    135 #define MASTER_MDP				3
    136 #define MASTER_CNOC_MNOC_CFG			4
    137 #define MASTER_ROTATOR				5
    138 #define MASTER_CDSP_HCP				6
    139 #define MASTER_VIDEO				7
    140 #define MASTER_VIDEO_CV_PROC			8
    141 #define MASTER_VIDEO_PROC			9
    142 #define MASTER_VIDEO_V_PROC			10
    143 #define SLAVE_MNOC_HF_MEM_NOC			11
    144 #define SLAVE_MNOC_SF_MEM_NOC			12
    145 #define SLAVE_SERVICE_MNOC			13
    146 #define MASTER_MDP_DISP				14
    147 #define MASTER_ROTATOR_DISP			15
    148 #define SLAVE_MNOC_HF_MEM_NOC_DISP		16
    149 #define SLAVE_MNOC_SF_MEM_NOC_DISP		17
    150 
    151 #define MASTER_CDSP_NOC_CFG			0
    152 #define MASTER_CDSP_PROC			1
    153 #define SLAVE_CDSP_MEM_NOC			2
    154 #define SLAVE_SERVICE_NSP_NOC			3
    155 
    156 #define MASTER_PCIE_ANOC_CFG			0
    157 #define MASTER_PCIE_0				1
    158 #define MASTER_PCIE_1				2
    159 #define SLAVE_ANOC_PCIE_GEM_NOC			3
    160 #define SLAVE_SERVICE_PCIE_ANOC			4
    161 
    162 #define MASTER_GIC_AHB				0
    163 #define MASTER_A1NOC_SNOC			1
    164 #define MASTER_A2NOC_SNOC			2
    165 #define MASTER_LPASS_ANOC			3
    166 #define MASTER_SNOC_CFG				4
    167 #define MASTER_PIMEM				5
    168 #define MASTER_GIC				6
    169 #define SLAVE_SNOC_GEM_NOC_GC			7
    170 #define SLAVE_SNOC_GEM_NOC_SF			8
    171 #define SLAVE_SERVICE_SNOC			9
    172 
    173 #endif
    174