1/*	$NetBSD: qcom,sdm670-rpmh.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 * Qualcomm SDM670 interconnect IDs
6 *
7 * Copyright (c) 2022, The Linux Foundation. All rights reserved.
8 */
9
10#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SDM670_H
11#define __DT_BINDINGS_INTERCONNECT_QCOM_SDM670_H
12
13#define MASTER_A1NOC_CFG		0
14#define MASTER_BLSP_1			1
15#define MASTER_TSIF			2
16#define MASTER_EMMC			3
17#define MASTER_SDCC_2			4
18#define MASTER_SDCC_4			5
19#define MASTER_UFS_MEM			6
20#define SLAVE_A1NOC_SNOC		7
21#define SLAVE_SERVICE_A1NOC		8
22
23#define MASTER_A2NOC_CFG		0
24#define MASTER_QDSS_BAM			1
25#define MASTER_BLSP_2			2
26#define MASTER_CNOC_A2NOC		3
27#define MASTER_CRYPTO_CORE_0		4
28#define MASTER_IPA			5
29#define MASTER_QDSS_ETR			6
30#define MASTER_USB3			7
31#define SLAVE_A2NOC_SNOC		8
32#define SLAVE_SERVICE_A2NOC		9
33
34
35#define MASTER_SPDM			0
36#define MASTER_SNOC_CNOC		1
37#define SLAVE_A1NOC_CFG			2
38#define SLAVE_A2NOC_CFG			3
39#define SLAVE_AOP			4
40#define SLAVE_AOSS			5
41#define SLAVE_CAMERA_CFG		6
42#define SLAVE_CLK_CTL			7
43#define SLAVE_CDSP_CFG			8
44#define SLAVE_RBCPR_CX_CFG		9
45#define SLAVE_CRYPTO_0_CFG		10
46#define SLAVE_DCC_CFG			11
47#define SLAVE_CNOC_DDRSS		12
48#define SLAVE_DISPLAY_CFG		13
49#define SLAVE_EMMC_CFG			14
50#define SLAVE_GLM			15
51#define SLAVE_GRAPHICS_3D_CFG		16
52#define SLAVE_IMEM_CFG			17
53#define SLAVE_IPA_CFG			18
54#define SLAVE_CNOC_MNOC_CFG		19
55#define SLAVE_PDM			20
56#define SLAVE_SOUTH_PHY_CFG		21
57#define SLAVE_PIMEM_CFG			22
58#define SLAVE_PRNG			23
59#define SLAVE_QDSS_CFG			24
60#define SLAVE_BLSP_2			25
61#define SLAVE_BLSP_1			26
62#define SLAVE_SDCC_2			27
63#define SLAVE_SDCC_4			28
64#define SLAVE_SNOC_CFG			29
65#define SLAVE_SPDM_WRAPPER		30
66#define SLAVE_TCSR			31
67#define SLAVE_TLMM_NORTH		32
68#define SLAVE_TLMM_SOUTH		33
69#define SLAVE_TSIF			34
70#define SLAVE_UFS_MEM_CFG		35
71#define SLAVE_USB3			36
72#define SLAVE_VENUS_CFG			37
73#define SLAVE_VSENSE_CTRL_CFG		38
74#define SLAVE_CNOC_A2NOC		39
75#define SLAVE_SERVICE_CNOC		40
76
77#define MASTER_CNOC_DC_NOC		0
78#define SLAVE_LLCC_CFG			1
79#define SLAVE_MEM_NOC_CFG		2
80
81#define MASTER_AMPSS_M0			0
82#define MASTER_GNOC_CFG			1
83#define SLAVE_GNOC_SNOC			2
84#define SLAVE_GNOC_MEM_NOC		3
85#define SLAVE_SERVICE_GNOC		4
86
87#define MASTER_TCU_0			0
88#define MASTER_MEM_NOC_CFG		1
89#define MASTER_GNOC_MEM_NOC		2
90#define MASTER_MNOC_HF_MEM_NOC		3
91#define MASTER_MNOC_SF_MEM_NOC		4
92#define MASTER_SNOC_GC_MEM_NOC		5
93#define MASTER_SNOC_SF_MEM_NOC		6
94#define MASTER_GRAPHICS_3D		7
95#define SLAVE_MSS_PROC_MS_MPU_CFG	8
96#define SLAVE_MEM_NOC_GNOC		9
97#define SLAVE_LLCC			10
98#define SLAVE_MEM_NOC_SNOC		11
99#define SLAVE_SERVICE_MEM_NOC		12
100#define MASTER_LLCC			13
101#define SLAVE_EBI_CH0			14
102
103#define MASTER_CNOC_MNOC_CFG		0
104#define MASTER_CAMNOC_HF0		1
105#define MASTER_CAMNOC_HF1		2
106#define MASTER_CAMNOC_SF		3
107#define MASTER_MDP_PORT0		4
108#define MASTER_MDP_PORT1		5
109#define MASTER_ROTATOR			6
110#define MASTER_VIDEO_P0			7
111#define MASTER_VIDEO_P1			8
112#define MASTER_VIDEO_PROC		9
113#define SLAVE_MNOC_SF_MEM_NOC		10
114#define SLAVE_MNOC_HF_MEM_NOC		11
115#define SLAVE_SERVICE_MNOC		12
116
117#define MASTER_SNOC_CFG			0
118#define MASTER_A1NOC_SNOC		1
119#define MASTER_A2NOC_SNOC		2
120#define MASTER_GNOC_SNOC		3
121#define MASTER_MEM_NOC_SNOC		4
122#define MASTER_PIMEM			5
123#define MASTER_GIC			6
124#define SLAVE_APPSS			7
125#define SLAVE_SNOC_CNOC			8
126#define SLAVE_SNOC_MEM_NOC_GC		9
127#define SLAVE_SNOC_MEM_NOC_SF		10
128#define SLAVE_OCIMEM			11
129#define SLAVE_PIMEM			12
130#define SLAVE_SERVICE_SNOC		13
131#define SLAVE_QDSS_STM			14
132#define SLAVE_TCU			15
133#define MASTER_CAMNOC_HF0_UNCOMP	16
134#define MASTER_CAMNOC_HF1_UNCOMP	17
135#define MASTER_CAMNOC_SF_UNCOMP		18
136#define SLAVE_CAMNOC_UNCOMP		19
137
138#endif
139