qcom,sm6115.h revision 1.1.1.1
1/*	$NetBSD: qcom,sm6115.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, The Linux Foundation. All rights reserved.
6 * Copyright (c) 2023, Linaro Limited
7 */
8
9#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM6115_H
10#define __DT_BINDINGS_INTERCONNECT_QCOM_SM6115_H
11
12/* BIMC */
13#define MASTER_AMPSS_M0				0
14#define MASTER_SNOC_BIMC_RT			1
15#define MASTER_SNOC_BIMC_NRT			2
16#define SNOC_BIMC_MAS				3
17#define MASTER_GRAPHICS_3D			4
18#define MASTER_TCU_0				5
19#define SLAVE_EBI_CH0				6
20#define BIMC_SNOC_SLV				7
21
22/* CNOC */
23#define SNOC_CNOC_MAS				0
24#define MASTER_QDSS_DAP				1
25#define SLAVE_AHB2PHY_USB			2
26#define SLAVE_APSS_THROTTLE_CFG			3
27#define SLAVE_BIMC_CFG				4
28#define SLAVE_BOOT_ROM				5
29#define SLAVE_CAMERA_NRT_THROTTLE_CFG		6
30#define SLAVE_CAMERA_RT_THROTTLE_CFG		7
31#define SLAVE_CAMERA_CFG			8
32#define SLAVE_CLK_CTL				9
33#define SLAVE_RBCPR_CX_CFG			10
34#define SLAVE_RBCPR_MX_CFG			11
35#define SLAVE_CRYPTO_0_CFG			12
36#define SLAVE_DCC_CFG				13
37#define SLAVE_DDR_PHY_CFG			14
38#define SLAVE_DDR_SS_CFG			15
39#define SLAVE_DISPLAY_CFG			16
40#define SLAVE_DISPLAY_THROTTLE_CFG		17
41#define SLAVE_GPU_CFG				18
42#define SLAVE_GPU_THROTTLE_CFG			19
43#define SLAVE_HWKM_CORE				20
44#define SLAVE_IMEM_CFG				21
45#define SLAVE_IPA_CFG				22
46#define SLAVE_LPASS				23
47#define SLAVE_MAPSS				24
48#define SLAVE_MDSP_MPU_CFG			25
49#define SLAVE_MESSAGE_RAM			26
50#define SLAVE_CNOC_MSS				27
51#define SLAVE_PDM				28
52#define SLAVE_PIMEM_CFG				29
53#define SLAVE_PKA_CORE				30
54#define SLAVE_PMIC_ARB				31
55#define SLAVE_QDSS_CFG				32
56#define SLAVE_QM_CFG				33
57#define SLAVE_QM_MPU_CFG			34
58#define SLAVE_QPIC				35
59#define SLAVE_QUP_0				36
60#define SLAVE_RPM				37
61#define SLAVE_SDCC_1				38
62#define SLAVE_SDCC_2				39
63#define SLAVE_SECURITY				40
64#define SLAVE_SNOC_CFG				41
65#define SLAVE_TCSR				42
66#define SLAVE_TLMM				43
67#define SLAVE_USB3				44
68#define SLAVE_VENUS_CFG				45
69#define SLAVE_VENUS_THROTTLE_CFG		46
70#define SLAVE_VSENSE_CTRL_CFG			47
71#define SLAVE_SERVICE_CNOC			48
72
73/* SNOC */
74#define MASTER_CRYPTO_CORE0			0
75#define MASTER_SNOC_CFG				1
76#define MASTER_TIC				2
77#define MASTER_ANOC_SNOC			3
78#define BIMC_SNOC_MAS				4
79#define MASTER_PIMEM				5
80#define MASTER_QDSS_BAM				6
81#define MASTER_QPIC				7
82#define MASTER_QUP_0				8
83#define MASTER_IPA				9
84#define MASTER_QDSS_ETR				10
85#define MASTER_SDCC_1				11
86#define MASTER_SDCC_2				12
87#define MASTER_USB3				13
88#define SLAVE_APPSS				14
89#define SNOC_CNOC_SLV				15
90#define SLAVE_OCIMEM				16
91#define SLAVE_PIMEM				17
92#define SNOC_BIMC_SLV				18
93#define SLAVE_SERVICE_SNOC			19
94#define SLAVE_QDSS_STM				20
95#define SLAVE_TCU				21
96#define SLAVE_ANOC_SNOC				22
97
98/* CLK Virtual */
99#define MASTER_QUP_CORE_0			0
100#define SLAVE_QUP_CORE_0			1
101
102/* MMRT Virtual */
103#define MASTER_CAMNOC_HF			0
104#define MASTER_MDP_PORT0			1
105#define SLAVE_SNOC_BIMC_RT			2
106
107/* MMNRT Virtual */
108#define MASTER_CAMNOC_SF			0
109#define MASTER_VIDEO_P0				1
110#define MASTER_VIDEO_PROC			2
111#define SLAVE_SNOC_BIMC_NRT			3
112
113#endif
114