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

source code of linux/include/dt-bindings/interconnect/qcom,sdm670-rpmh.h