xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,gcc-ipq6018.h (revision dd41de95a84d979615a2ef11df6850622bf6184e)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2018, The Linux Foundation. All rights reserved.
4  */
5 
6 #ifndef _DT_BINDINGS_CLOCK_IPQ_GCC_6018_H
7 #define _DT_BINDINGS_CLOCK_IPQ_GCC_6018_H
8 
9 #define GPLL0					0
10 #define UBI32_PLL				1
11 #define GPLL6					2
12 #define GPLL4					3
13 #define PCNOC_BFDCD_CLK_SRC			4
14 #define GPLL2					5
15 #define NSS_CRYPTO_PLL				6
16 #define NSS_PPE_CLK_SRC				7
17 #define GCC_XO_CLK_SRC				8
18 #define NSS_CE_CLK_SRC				9
19 #define GCC_SLEEP_CLK_SRC			10
20 #define APSS_AHB_CLK_SRC			11
21 #define NSS_PORT5_RX_CLK_SRC			12
22 #define NSS_PORT5_TX_CLK_SRC			13
23 #define PCIE0_AXI_CLK_SRC			14
24 #define USB0_MASTER_CLK_SRC			15
25 #define APSS_AHB_POSTDIV_CLK_SRC		16
26 #define NSS_PORT1_RX_CLK_SRC			17
27 #define NSS_PORT1_TX_CLK_SRC			18
28 #define NSS_PORT2_RX_CLK_SRC			19
29 #define NSS_PORT2_TX_CLK_SRC			20
30 #define NSS_PORT3_RX_CLK_SRC			21
31 #define NSS_PORT3_TX_CLK_SRC			22
32 #define NSS_PORT4_RX_CLK_SRC			23
33 #define NSS_PORT4_TX_CLK_SRC			24
34 #define NSS_PORT5_RX_DIV_CLK_SRC		25
35 #define NSS_PORT5_TX_DIV_CLK_SRC		26
36 #define APSS_AXI_CLK_SRC			27
37 #define NSS_CRYPTO_CLK_SRC			28
38 #define NSS_PORT1_RX_DIV_CLK_SRC		29
39 #define NSS_PORT1_TX_DIV_CLK_SRC		30
40 #define NSS_PORT2_RX_DIV_CLK_SRC		31
41 #define NSS_PORT2_TX_DIV_CLK_SRC		32
42 #define NSS_PORT3_RX_DIV_CLK_SRC		33
43 #define NSS_PORT3_TX_DIV_CLK_SRC		34
44 #define NSS_PORT4_RX_DIV_CLK_SRC		35
45 #define NSS_PORT4_TX_DIV_CLK_SRC		36
46 #define NSS_UBI0_CLK_SRC			37
47 #define BLSP1_QUP1_I2C_APPS_CLK_SRC		38
48 #define BLSP1_QUP1_SPI_APPS_CLK_SRC		39
49 #define BLSP1_QUP2_I2C_APPS_CLK_SRC		40
50 #define BLSP1_QUP2_SPI_APPS_CLK_SRC		41
51 #define BLSP1_QUP3_I2C_APPS_CLK_SRC		42
52 #define BLSP1_QUP3_SPI_APPS_CLK_SRC		43
53 #define BLSP1_QUP4_I2C_APPS_CLK_SRC		44
54 #define BLSP1_QUP4_SPI_APPS_CLK_SRC		45
55 #define BLSP1_QUP5_I2C_APPS_CLK_SRC		46
56 #define BLSP1_QUP5_SPI_APPS_CLK_SRC		47
57 #define BLSP1_QUP6_I2C_APPS_CLK_SRC		48
58 #define BLSP1_QUP6_SPI_APPS_CLK_SRC		49
59 #define BLSP1_UART1_APPS_CLK_SRC		50
60 #define BLSP1_UART2_APPS_CLK_SRC		51
61 #define BLSP1_UART3_APPS_CLK_SRC		52
62 #define BLSP1_UART4_APPS_CLK_SRC		53
63 #define BLSP1_UART5_APPS_CLK_SRC		54
64 #define BLSP1_UART6_APPS_CLK_SRC		55
65 #define CRYPTO_CLK_SRC				56
66 #define NSS_UBI0_DIV_CLK_SRC			57
67 #define PCIE0_AUX_CLK_SRC			58
68 #define PCIE0_PIPE_CLK_SRC			59
69 #define SDCC1_APPS_CLK_SRC			60
70 #define USB0_AUX_CLK_SRC			61
71 #define USB0_MOCK_UTMI_CLK_SRC			62
72 #define USB0_PIPE_CLK_SRC			63
73 #define USB1_MOCK_UTMI_CLK_SRC			64
74 #define GCC_APSS_AHB_CLK			65
75 #define GCC_APSS_AXI_CLK			66
76 #define GCC_BLSP1_AHB_CLK			67
77 #define GCC_BLSP1_QUP1_I2C_APPS_CLK		68
78 #define GCC_BLSP1_QUP1_SPI_APPS_CLK		69
79 #define GCC_BLSP1_QUP2_I2C_APPS_CLK		70
80 #define GCC_BLSP1_QUP2_SPI_APPS_CLK		71
81 #define GCC_BLSP1_QUP3_I2C_APPS_CLK		72
82 #define GCC_BLSP1_QUP3_SPI_APPS_CLK		73
83 #define GCC_BLSP1_QUP4_I2C_APPS_CLK		74
84 #define GCC_BLSP1_QUP4_SPI_APPS_CLK		75
85 #define GCC_BLSP1_QUP5_I2C_APPS_CLK		76
86 #define GCC_BLSP1_QUP5_SPI_APPS_CLK		77
87 #define GCC_BLSP1_QUP6_I2C_APPS_CLK		78
88 #define GCC_BLSP1_QUP6_SPI_APPS_CLK		79
89 #define GCC_BLSP1_UART1_APPS_CLK		80
90 #define GCC_BLSP1_UART2_APPS_CLK		81
91 #define GCC_BLSP1_UART3_APPS_CLK		82
92 #define GCC_BLSP1_UART4_APPS_CLK		83
93 #define GCC_BLSP1_UART5_APPS_CLK		84
94 #define GCC_BLSP1_UART6_APPS_CLK		85
95 #define GCC_CRYPTO_AHB_CLK			86
96 #define GCC_CRYPTO_AXI_CLK			87
97 #define GCC_CRYPTO_CLK				88
98 #define GCC_XO_CLK				89
99 #define GCC_XO_DIV4_CLK				90
100 #define GCC_MDIO_AHB_CLK			91
101 #define GCC_CRYPTO_PPE_CLK			92
102 #define GCC_NSS_CE_APB_CLK			93
103 #define GCC_NSS_CE_AXI_CLK			94
104 #define GCC_NSS_CFG_CLK				95
105 #define GCC_NSS_CRYPTO_CLK			96
106 #define GCC_NSS_CSR_CLK				97
107 #define GCC_NSS_EDMA_CFG_CLK			98
108 #define GCC_NSS_EDMA_CLK			99
109 #define GCC_NSS_NOC_CLK				100
110 #define GCC_NSS_PORT1_RX_CLK			101
111 #define GCC_NSS_PORT1_TX_CLK			102
112 #define GCC_NSS_PORT2_RX_CLK			103
113 #define GCC_NSS_PORT2_TX_CLK			104
114 #define GCC_NSS_PORT3_RX_CLK			105
115 #define GCC_NSS_PORT3_TX_CLK			106
116 #define GCC_NSS_PORT4_RX_CLK			107
117 #define GCC_NSS_PORT4_TX_CLK			108
118 #define GCC_NSS_PORT5_RX_CLK			109
119 #define GCC_NSS_PORT5_TX_CLK			110
120 #define GCC_NSS_PPE_CFG_CLK			111
121 #define GCC_NSS_PPE_CLK				112
122 #define GCC_NSS_PPE_IPE_CLK			113
123 #define GCC_NSS_PTP_REF_CLK			114
124 #define GCC_NSSNOC_CE_APB_CLK			115
125 #define GCC_NSSNOC_CE_AXI_CLK			116
126 #define GCC_NSSNOC_CRYPTO_CLK			117
127 #define GCC_NSSNOC_PPE_CFG_CLK			118
128 #define GCC_NSSNOC_PPE_CLK			119
129 #define GCC_NSSNOC_QOSGEN_REF_CLK		120
130 #define GCC_NSSNOC_TIMEOUT_REF_CLK		121
131 #define GCC_NSSNOC_UBI0_AHB_CLK			122
132 #define GCC_PORT1_MAC_CLK			123
133 #define GCC_PORT2_MAC_CLK			124
134 #define GCC_PORT3_MAC_CLK			125
135 #define GCC_PORT4_MAC_CLK			126
136 #define GCC_PORT5_MAC_CLK			127
137 #define GCC_UBI0_AHB_CLK			128
138 #define GCC_UBI0_AXI_CLK			129
139 #define GCC_UBI0_CORE_CLK			130
140 #define GCC_PCIE0_AHB_CLK			131
141 #define GCC_PCIE0_AUX_CLK			132
142 #define GCC_PCIE0_AXI_M_CLK			133
143 #define GCC_PCIE0_AXI_S_CLK			134
144 #define GCC_PCIE0_PIPE_CLK			135
145 #define GCC_PRNG_AHB_CLK			136
146 #define GCC_QPIC_AHB_CLK			137
147 #define GCC_QPIC_CLK				138
148 #define GCC_SDCC1_AHB_CLK			139
149 #define GCC_SDCC1_APPS_CLK			140
150 #define GCC_UNIPHY0_AHB_CLK			141
151 #define GCC_UNIPHY0_PORT1_RX_CLK		142
152 #define GCC_UNIPHY0_PORT1_TX_CLK		143
153 #define GCC_UNIPHY0_PORT2_RX_CLK		144
154 #define GCC_UNIPHY0_PORT2_TX_CLK		145
155 #define GCC_UNIPHY0_PORT3_RX_CLK		146
156 #define GCC_UNIPHY0_PORT3_TX_CLK		147
157 #define GCC_UNIPHY0_PORT4_RX_CLK		148
158 #define GCC_UNIPHY0_PORT4_TX_CLK		149
159 #define GCC_UNIPHY0_PORT5_RX_CLK		150
160 #define GCC_UNIPHY0_PORT5_TX_CLK		151
161 #define GCC_UNIPHY0_SYS_CLK			152
162 #define GCC_UNIPHY1_AHB_CLK			153
163 #define GCC_UNIPHY1_PORT5_RX_CLK		154
164 #define GCC_UNIPHY1_PORT5_TX_CLK		155
165 #define GCC_UNIPHY1_SYS_CLK			156
166 #define GCC_USB0_AUX_CLK			157
167 #define GCC_USB0_MASTER_CLK			158
168 #define GCC_USB0_MOCK_UTMI_CLK			159
169 #define GCC_USB0_PHY_CFG_AHB_CLK		160
170 #define GCC_USB0_PIPE_CLK			161
171 #define GCC_USB0_SLEEP_CLK			162
172 #define GCC_USB1_MASTER_CLK			163
173 #define GCC_USB1_MOCK_UTMI_CLK			164
174 #define GCC_USB1_PHY_CFG_AHB_CLK		165
175 #define GCC_USB1_SLEEP_CLK			166
176 #define GP1_CLK_SRC				167
177 #define GP2_CLK_SRC				168
178 #define GP3_CLK_SRC				169
179 #define GCC_GP1_CLK				170
180 #define GCC_GP2_CLK				171
181 #define GCC_GP3_CLK				172
182 #define SYSTEM_NOC_BFDCD_CLK_SRC		173
183 #define GCC_NSSNOC_SNOC_CLK			174
184 #define GCC_UBI0_NC_AXI_CLK			175
185 #define GCC_UBI1_NC_AXI_CLK			176
186 #define GPLL0_MAIN				177
187 #define UBI32_PLL_MAIN				178
188 #define GPLL6_MAIN				179
189 #define GPLL4_MAIN				180
190 #define GPLL2_MAIN				181
191 #define NSS_CRYPTO_PLL_MAIN			182
192 #define GCC_CMN_12GPLL_AHB_CLK			183
193 #define GCC_CMN_12GPLL_SYS_CLK			184
194 #define GCC_SNOC_BUS_TIMEOUT2_AHB_CLK		185
195 #define GCC_SYS_NOC_USB0_AXI_CLK		186
196 #define GCC_SYS_NOC_PCIE0_AXI_CLK		187
197 #define QDSS_TSCTR_CLK_SRC			188
198 #define QDSS_AT_CLK_SRC				189
199 #define GCC_QDSS_AT_CLK				190
200 #define GCC_QDSS_DAP_CLK			191
201 #define ADSS_PWM_CLK_SRC			192
202 #define GCC_ADSS_PWM_CLK			193
203 #define SDCC1_ICE_CORE_CLK_SRC			194
204 #define GCC_SDCC1_ICE_CORE_CLK			195
205 #define GCC_DCC_CLK				196
206 #define PCIE0_RCHNG_CLK_SRC			197
207 #define GCC_PCIE0_AXI_S_BRIDGE_CLK		198
208 #define PCIE0_RCHNG_CLK				199
209 #define UBI32_MEM_NOC_BFDCD_CLK_SRC		200
210 #define WCSS_AHB_CLK_SRC			201
211 #define Q6_AXI_CLK_SRC				202
212 #define GCC_Q6SS_PCLKDBG_CLK			203
213 #define GCC_Q6_TSCTR_1TO2_CLK			204
214 #define GCC_WCSS_CORE_TBU_CLK			205
215 #define GCC_WCSS_AXI_M_CLK			206
216 #define GCC_SYS_NOC_WCSS_AHB_CLK		207
217 #define GCC_Q6_AXIM_CLK				208
218 #define GCC_Q6SS_ATBM_CLK			209
219 #define GCC_WCSS_Q6_TBU_CLK			210
220 #define GCC_Q6_AXIM2_CLK			211
221 #define GCC_Q6_AHB_CLK				212
222 #define GCC_Q6_AHB_S_CLK			213
223 #define GCC_WCSS_DBG_IFC_APB_CLK		214
224 #define GCC_WCSS_DBG_IFC_ATB_CLK		215
225 #define GCC_WCSS_DBG_IFC_NTS_CLK		216
226 #define GCC_WCSS_DBG_IFC_DAPBUS_CLK		217
227 #define GCC_WCSS_DBG_IFC_APB_BDG_CLK		218
228 #define GCC_WCSS_DBG_IFC_ATB_BDG_CLK		219
229 #define GCC_WCSS_DBG_IFC_NTS_BDG_CLK		220
230 #define GCC_WCSS_DBG_IFC_DAPBUS_BDG_CLK		221
231 #define GCC_WCSS_ECAHB_CLK			222
232 #define GCC_WCSS_ACMT_CLK			223
233 #define GCC_WCSS_AHB_S_CLK			224
234 #define GCC_RBCPR_WCSS_CLK			225
235 #define RBCPR_WCSS_CLK_SRC			226
236 #define GCC_RBCPR_WCSS_AHB_CLK			227
237 #define GCC_LPASS_CORE_AXIM_CLK			228
238 #define GCC_LPASS_SNOC_CFG_CLK			229
239 #define GCC_LPASS_Q6_AXIM_CLK			230
240 #define GCC_LPASS_Q6_ATBM_AT_CLK		231
241 #define GCC_LPASS_Q6_PCLKDBG_CLK		232
242 #define GCC_LPASS_Q6SS_TSCTR_1TO2_CLK		233
243 #define GCC_LPASS_Q6SS_TRIG_CLK			234
244 #define GCC_LPASS_TBU_CLK			235
245 #define LPASS_CORE_AXIM_CLK_SRC			236
246 #define LPASS_SNOC_CFG_CLK_SRC			237
247 #define LPASS_Q6_AXIM_CLK_SRC			238
248 #define GCC_PCNOC_LPASS_CLK			239
249 #define GCC_UBI0_UTCM_CLK			240
250 #define SNOC_NSSNOC_BFDCD_CLK_SRC		241
251 #define GCC_SNOC_NSSNOC_CLK			242
252 #define GCC_MEM_NOC_Q6_AXI_CLK			243
253 #define GCC_MEM_NOC_UBI32_CLK			244
254 #define GCC_MEM_NOC_LPASS_CLK			245
255 #define GCC_SNOC_LPASS_CFG_CLK			246
256 #define GCC_SYS_NOC_QDSS_STM_AXI_CLK		247
257 #define GCC_QDSS_STM_CLK			248
258 #define GCC_QDSS_TRACECLKIN_CLK			249
259 #define QDSS_STM_CLK_SRC			250
260 #define QDSS_TRACECLKIN_CLK_SRC			251
261 #define GCC_NSSNOC_ATB_CLK			252
262 #endif
263