xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,gcc-msm8660.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * Copyright (c) 2013, The Linux Foundation. All rights reserved.
4*c66ec88fSEmmanuel Vadot  */
5*c66ec88fSEmmanuel Vadot 
6*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_MSM_GCC_8660_H
7*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_CLK_MSM_GCC_8660_H
8*c66ec88fSEmmanuel Vadot 
9*c66ec88fSEmmanuel Vadot #define AFAB_CLK_SRC				0
10*c66ec88fSEmmanuel Vadot #define AFAB_CORE_CLK				1
11*c66ec88fSEmmanuel Vadot #define SCSS_A_CLK				2
12*c66ec88fSEmmanuel Vadot #define SCSS_H_CLK				3
13*c66ec88fSEmmanuel Vadot #define SCSS_XO_SRC_CLK				4
14*c66ec88fSEmmanuel Vadot #define AFAB_EBI1_CH0_A_CLK			5
15*c66ec88fSEmmanuel Vadot #define AFAB_EBI1_CH1_A_CLK			6
16*c66ec88fSEmmanuel Vadot #define AFAB_AXI_S0_FCLK			7
17*c66ec88fSEmmanuel Vadot #define AFAB_AXI_S1_FCLK			8
18*c66ec88fSEmmanuel Vadot #define AFAB_AXI_S2_FCLK			9
19*c66ec88fSEmmanuel Vadot #define AFAB_AXI_S3_FCLK			10
20*c66ec88fSEmmanuel Vadot #define AFAB_AXI_S4_FCLK			11
21*c66ec88fSEmmanuel Vadot #define SFAB_CORE_CLK				12
22*c66ec88fSEmmanuel Vadot #define SFAB_AXI_S0_FCLK			13
23*c66ec88fSEmmanuel Vadot #define SFAB_AXI_S1_FCLK			14
24*c66ec88fSEmmanuel Vadot #define SFAB_AXI_S2_FCLK			15
25*c66ec88fSEmmanuel Vadot #define SFAB_AXI_S3_FCLK			16
26*c66ec88fSEmmanuel Vadot #define SFAB_AXI_S4_FCLK			17
27*c66ec88fSEmmanuel Vadot #define SFAB_AHB_S0_FCLK			18
28*c66ec88fSEmmanuel Vadot #define SFAB_AHB_S1_FCLK			19
29*c66ec88fSEmmanuel Vadot #define SFAB_AHB_S2_FCLK			20
30*c66ec88fSEmmanuel Vadot #define SFAB_AHB_S3_FCLK			21
31*c66ec88fSEmmanuel Vadot #define SFAB_AHB_S4_FCLK			22
32*c66ec88fSEmmanuel Vadot #define SFAB_AHB_S5_FCLK			23
33*c66ec88fSEmmanuel Vadot #define SFAB_AHB_S6_FCLK			24
34*c66ec88fSEmmanuel Vadot #define SFAB_ADM0_M0_A_CLK			25
35*c66ec88fSEmmanuel Vadot #define SFAB_ADM0_M1_A_CLK			26
36*c66ec88fSEmmanuel Vadot #define SFAB_ADM0_M2_A_CLK			27
37*c66ec88fSEmmanuel Vadot #define ADM0_CLK				28
38*c66ec88fSEmmanuel Vadot #define ADM0_PBUS_CLK				29
39*c66ec88fSEmmanuel Vadot #define SFAB_ADM1_M0_A_CLK			30
40*c66ec88fSEmmanuel Vadot #define SFAB_ADM1_M1_A_CLK			31
41*c66ec88fSEmmanuel Vadot #define SFAB_ADM1_M2_A_CLK			32
42*c66ec88fSEmmanuel Vadot #define MMFAB_ADM1_M3_A_CLK			33
43*c66ec88fSEmmanuel Vadot #define ADM1_CLK				34
44*c66ec88fSEmmanuel Vadot #define ADM1_PBUS_CLK				35
45*c66ec88fSEmmanuel Vadot #define IMEM0_A_CLK				36
46*c66ec88fSEmmanuel Vadot #define MAHB0_CLK				37
47*c66ec88fSEmmanuel Vadot #define SFAB_LPASS_Q6_A_CLK			38
48*c66ec88fSEmmanuel Vadot #define SFAB_AFAB_M_A_CLK			39
49*c66ec88fSEmmanuel Vadot #define AFAB_SFAB_M0_A_CLK			40
50*c66ec88fSEmmanuel Vadot #define AFAB_SFAB_M1_A_CLK			41
51*c66ec88fSEmmanuel Vadot #define DFAB_CLK_SRC				42
52*c66ec88fSEmmanuel Vadot #define DFAB_CLK				43
53*c66ec88fSEmmanuel Vadot #define DFAB_CORE_CLK				44
54*c66ec88fSEmmanuel Vadot #define SFAB_DFAB_M_A_CLK			45
55*c66ec88fSEmmanuel Vadot #define DFAB_SFAB_M_A_CLK			46
56*c66ec88fSEmmanuel Vadot #define DFAB_SWAY0_H_CLK			47
57*c66ec88fSEmmanuel Vadot #define DFAB_SWAY1_H_CLK			48
58*c66ec88fSEmmanuel Vadot #define DFAB_ARB0_H_CLK				49
59*c66ec88fSEmmanuel Vadot #define DFAB_ARB1_H_CLK				50
60*c66ec88fSEmmanuel Vadot #define PPSS_H_CLK				51
61*c66ec88fSEmmanuel Vadot #define PPSS_PROC_CLK				52
62*c66ec88fSEmmanuel Vadot #define PPSS_TIMER0_CLK				53
63*c66ec88fSEmmanuel Vadot #define PPSS_TIMER1_CLK				54
64*c66ec88fSEmmanuel Vadot #define PMEM_A_CLK				55
65*c66ec88fSEmmanuel Vadot #define DMA_BAM_H_CLK				56
66*c66ec88fSEmmanuel Vadot #define SIC_H_CLK				57
67*c66ec88fSEmmanuel Vadot #define SPS_TIC_H_CLK				58
68*c66ec88fSEmmanuel Vadot #define SLIMBUS_H_CLK				59
69*c66ec88fSEmmanuel Vadot #define SLIMBUS_XO_SRC_CLK			60
70*c66ec88fSEmmanuel Vadot #define CFPB_2X_CLK_SRC				61
71*c66ec88fSEmmanuel Vadot #define CFPB_CLK				62
72*c66ec88fSEmmanuel Vadot #define CFPB0_H_CLK				63
73*c66ec88fSEmmanuel Vadot #define CFPB1_H_CLK				64
74*c66ec88fSEmmanuel Vadot #define CFPB2_H_CLK				65
75*c66ec88fSEmmanuel Vadot #define EBI2_2X_CLK				66
76*c66ec88fSEmmanuel Vadot #define EBI2_CLK				67
77*c66ec88fSEmmanuel Vadot #define SFAB_CFPB_M_H_CLK			68
78*c66ec88fSEmmanuel Vadot #define CFPB_MASTER_H_CLK			69
79*c66ec88fSEmmanuel Vadot #define SFAB_CFPB_S_HCLK			70
80*c66ec88fSEmmanuel Vadot #define CFPB_SPLITTER_H_CLK			71
81*c66ec88fSEmmanuel Vadot #define TSIF_H_CLK				72
82*c66ec88fSEmmanuel Vadot #define TSIF_INACTIVITY_TIMERS_CLK		73
83*c66ec88fSEmmanuel Vadot #define TSIF_REF_SRC				74
84*c66ec88fSEmmanuel Vadot #define TSIF_REF_CLK				75
85*c66ec88fSEmmanuel Vadot #define CE1_H_CLK				76
86*c66ec88fSEmmanuel Vadot #define CE2_H_CLK				77
87*c66ec88fSEmmanuel Vadot #define SFPB_H_CLK_SRC				78
88*c66ec88fSEmmanuel Vadot #define SFPB_H_CLK				79
89*c66ec88fSEmmanuel Vadot #define SFAB_SFPB_M_H_CLK			80
90*c66ec88fSEmmanuel Vadot #define SFAB_SFPB_S_H_CLK			81
91*c66ec88fSEmmanuel Vadot #define RPM_PROC_CLK				82
92*c66ec88fSEmmanuel Vadot #define RPM_BUS_H_CLK				83
93*c66ec88fSEmmanuel Vadot #define RPM_SLEEP_CLK				84
94*c66ec88fSEmmanuel Vadot #define RPM_TIMER_CLK				85
95*c66ec88fSEmmanuel Vadot #define MODEM_AHB1_H_CLK			86
96*c66ec88fSEmmanuel Vadot #define MODEM_AHB2_H_CLK			87
97*c66ec88fSEmmanuel Vadot #define RPM_MSG_RAM_H_CLK			88
98*c66ec88fSEmmanuel Vadot #define SC_H_CLK				89
99*c66ec88fSEmmanuel Vadot #define SC_A_CLK				90
100*c66ec88fSEmmanuel Vadot #define PMIC_ARB0_H_CLK				91
101*c66ec88fSEmmanuel Vadot #define PMIC_ARB1_H_CLK				92
102*c66ec88fSEmmanuel Vadot #define PMIC_SSBI2_SRC				93
103*c66ec88fSEmmanuel Vadot #define PMIC_SSBI2_CLK				94
104*c66ec88fSEmmanuel Vadot #define SDC1_H_CLK				95
105*c66ec88fSEmmanuel Vadot #define SDC2_H_CLK				96
106*c66ec88fSEmmanuel Vadot #define SDC3_H_CLK				97
107*c66ec88fSEmmanuel Vadot #define SDC4_H_CLK				98
108*c66ec88fSEmmanuel Vadot #define SDC5_H_CLK				99
109*c66ec88fSEmmanuel Vadot #define SDC1_SRC				100
110*c66ec88fSEmmanuel Vadot #define SDC2_SRC				101
111*c66ec88fSEmmanuel Vadot #define SDC3_SRC				102
112*c66ec88fSEmmanuel Vadot #define SDC4_SRC				103
113*c66ec88fSEmmanuel Vadot #define SDC5_SRC				104
114*c66ec88fSEmmanuel Vadot #define SDC1_CLK				105
115*c66ec88fSEmmanuel Vadot #define SDC2_CLK				106
116*c66ec88fSEmmanuel Vadot #define SDC3_CLK				107
117*c66ec88fSEmmanuel Vadot #define SDC4_CLK				108
118*c66ec88fSEmmanuel Vadot #define SDC5_CLK				109
119*c66ec88fSEmmanuel Vadot #define USB_HS1_H_CLK				110
120*c66ec88fSEmmanuel Vadot #define USB_HS1_XCVR_SRC			111
121*c66ec88fSEmmanuel Vadot #define USB_HS1_XCVR_CLK			112
122*c66ec88fSEmmanuel Vadot #define USB_HS2_H_CLK				113
123*c66ec88fSEmmanuel Vadot #define USB_HS2_XCVR_SRC			114
124*c66ec88fSEmmanuel Vadot #define USB_HS2_XCVR_CLK			115
125*c66ec88fSEmmanuel Vadot #define USB_FS1_H_CLK				116
126*c66ec88fSEmmanuel Vadot #define USB_FS1_XCVR_FS_SRC			117
127*c66ec88fSEmmanuel Vadot #define USB_FS1_XCVR_FS_CLK			118
128*c66ec88fSEmmanuel Vadot #define USB_FS1_SYSTEM_CLK			119
129*c66ec88fSEmmanuel Vadot #define USB_FS2_H_CLK				120
130*c66ec88fSEmmanuel Vadot #define USB_FS2_XCVR_FS_SRC			121
131*c66ec88fSEmmanuel Vadot #define USB_FS2_XCVR_FS_CLK			122
132*c66ec88fSEmmanuel Vadot #define USB_FS2_SYSTEM_CLK			123
133*c66ec88fSEmmanuel Vadot #define GSBI_COMMON_SIM_SRC			124
134*c66ec88fSEmmanuel Vadot #define GSBI1_H_CLK				125
135*c66ec88fSEmmanuel Vadot #define GSBI2_H_CLK				126
136*c66ec88fSEmmanuel Vadot #define GSBI3_H_CLK				127
137*c66ec88fSEmmanuel Vadot #define GSBI4_H_CLK				128
138*c66ec88fSEmmanuel Vadot #define GSBI5_H_CLK				129
139*c66ec88fSEmmanuel Vadot #define GSBI6_H_CLK				130
140*c66ec88fSEmmanuel Vadot #define GSBI7_H_CLK				131
141*c66ec88fSEmmanuel Vadot #define GSBI8_H_CLK				132
142*c66ec88fSEmmanuel Vadot #define GSBI9_H_CLK				133
143*c66ec88fSEmmanuel Vadot #define GSBI10_H_CLK				134
144*c66ec88fSEmmanuel Vadot #define GSBI11_H_CLK				135
145*c66ec88fSEmmanuel Vadot #define GSBI12_H_CLK				136
146*c66ec88fSEmmanuel Vadot #define GSBI1_UART_SRC				137
147*c66ec88fSEmmanuel Vadot #define GSBI1_UART_CLK				138
148*c66ec88fSEmmanuel Vadot #define GSBI2_UART_SRC				139
149*c66ec88fSEmmanuel Vadot #define GSBI2_UART_CLK				140
150*c66ec88fSEmmanuel Vadot #define GSBI3_UART_SRC				141
151*c66ec88fSEmmanuel Vadot #define GSBI3_UART_CLK				142
152*c66ec88fSEmmanuel Vadot #define GSBI4_UART_SRC				143
153*c66ec88fSEmmanuel Vadot #define GSBI4_UART_CLK				144
154*c66ec88fSEmmanuel Vadot #define GSBI5_UART_SRC				145
155*c66ec88fSEmmanuel Vadot #define GSBI5_UART_CLK				146
156*c66ec88fSEmmanuel Vadot #define GSBI6_UART_SRC				147
157*c66ec88fSEmmanuel Vadot #define GSBI6_UART_CLK				148
158*c66ec88fSEmmanuel Vadot #define GSBI7_UART_SRC				149
159*c66ec88fSEmmanuel Vadot #define GSBI7_UART_CLK				150
160*c66ec88fSEmmanuel Vadot #define GSBI8_UART_SRC				151
161*c66ec88fSEmmanuel Vadot #define GSBI8_UART_CLK				152
162*c66ec88fSEmmanuel Vadot #define GSBI9_UART_SRC				153
163*c66ec88fSEmmanuel Vadot #define GSBI9_UART_CLK				154
164*c66ec88fSEmmanuel Vadot #define GSBI10_UART_SRC				155
165*c66ec88fSEmmanuel Vadot #define GSBI10_UART_CLK				156
166*c66ec88fSEmmanuel Vadot #define GSBI11_UART_SRC				157
167*c66ec88fSEmmanuel Vadot #define GSBI11_UART_CLK				158
168*c66ec88fSEmmanuel Vadot #define GSBI12_UART_SRC				159
169*c66ec88fSEmmanuel Vadot #define GSBI12_UART_CLK				160
170*c66ec88fSEmmanuel Vadot #define GSBI1_QUP_SRC				161
171*c66ec88fSEmmanuel Vadot #define GSBI1_QUP_CLK				162
172*c66ec88fSEmmanuel Vadot #define GSBI2_QUP_SRC				163
173*c66ec88fSEmmanuel Vadot #define GSBI2_QUP_CLK				164
174*c66ec88fSEmmanuel Vadot #define GSBI3_QUP_SRC				165
175*c66ec88fSEmmanuel Vadot #define GSBI3_QUP_CLK				166
176*c66ec88fSEmmanuel Vadot #define GSBI4_QUP_SRC				167
177*c66ec88fSEmmanuel Vadot #define GSBI4_QUP_CLK				168
178*c66ec88fSEmmanuel Vadot #define GSBI5_QUP_SRC				169
179*c66ec88fSEmmanuel Vadot #define GSBI5_QUP_CLK				170
180*c66ec88fSEmmanuel Vadot #define GSBI6_QUP_SRC				171
181*c66ec88fSEmmanuel Vadot #define GSBI6_QUP_CLK				172
182*c66ec88fSEmmanuel Vadot #define GSBI7_QUP_SRC				173
183*c66ec88fSEmmanuel Vadot #define GSBI7_QUP_CLK				174
184*c66ec88fSEmmanuel Vadot #define GSBI8_QUP_SRC				175
185*c66ec88fSEmmanuel Vadot #define GSBI8_QUP_CLK				176
186*c66ec88fSEmmanuel Vadot #define GSBI9_QUP_SRC				177
187*c66ec88fSEmmanuel Vadot #define GSBI9_QUP_CLK				178
188*c66ec88fSEmmanuel Vadot #define GSBI10_QUP_SRC				179
189*c66ec88fSEmmanuel Vadot #define GSBI10_QUP_CLK				180
190*c66ec88fSEmmanuel Vadot #define GSBI11_QUP_SRC				181
191*c66ec88fSEmmanuel Vadot #define GSBI11_QUP_CLK				182
192*c66ec88fSEmmanuel Vadot #define GSBI12_QUP_SRC				183
193*c66ec88fSEmmanuel Vadot #define GSBI12_QUP_CLK				184
194*c66ec88fSEmmanuel Vadot #define GSBI1_SIM_CLK				185
195*c66ec88fSEmmanuel Vadot #define GSBI2_SIM_CLK				186
196*c66ec88fSEmmanuel Vadot #define GSBI3_SIM_CLK				187
197*c66ec88fSEmmanuel Vadot #define GSBI4_SIM_CLK				188
198*c66ec88fSEmmanuel Vadot #define GSBI5_SIM_CLK				189
199*c66ec88fSEmmanuel Vadot #define GSBI6_SIM_CLK				190
200*c66ec88fSEmmanuel Vadot #define GSBI7_SIM_CLK				191
201*c66ec88fSEmmanuel Vadot #define GSBI8_SIM_CLK				192
202*c66ec88fSEmmanuel Vadot #define GSBI9_SIM_CLK				193
203*c66ec88fSEmmanuel Vadot #define GSBI10_SIM_CLK				194
204*c66ec88fSEmmanuel Vadot #define GSBI11_SIM_CLK				195
205*c66ec88fSEmmanuel Vadot #define GSBI12_SIM_CLK				196
206*c66ec88fSEmmanuel Vadot #define SPDM_CFG_H_CLK				197
207*c66ec88fSEmmanuel Vadot #define SPDM_MSTR_H_CLK				198
208*c66ec88fSEmmanuel Vadot #define SPDM_FF_CLK_SRC				199
209*c66ec88fSEmmanuel Vadot #define SPDM_FF_CLK				200
210*c66ec88fSEmmanuel Vadot #define SEC_CTRL_CLK				201
211*c66ec88fSEmmanuel Vadot #define SEC_CTRL_ACC_CLK_SRC			202
212*c66ec88fSEmmanuel Vadot #define SEC_CTRL_ACC_CLK			203
213*c66ec88fSEmmanuel Vadot #define TLMM_H_CLK				204
214*c66ec88fSEmmanuel Vadot #define TLMM_CLK				205
215*c66ec88fSEmmanuel Vadot #define MARM_CLK_SRC				206
216*c66ec88fSEmmanuel Vadot #define MARM_CLK				207
217*c66ec88fSEmmanuel Vadot #define MAHB1_SRC				208
218*c66ec88fSEmmanuel Vadot #define MAHB1_CLK				209
219*c66ec88fSEmmanuel Vadot #define SFAB_MSS_S_H_CLK			210
220*c66ec88fSEmmanuel Vadot #define MAHB2_SRC				211
221*c66ec88fSEmmanuel Vadot #define MAHB2_CLK				212
222*c66ec88fSEmmanuel Vadot #define MSS_MODEM_CLK_SRC			213
223*c66ec88fSEmmanuel Vadot #define MSS_MODEM_CXO_CLK			214
224*c66ec88fSEmmanuel Vadot #define MSS_SLP_CLK				215
225*c66ec88fSEmmanuel Vadot #define MSS_SYS_REF_CLK				216
226*c66ec88fSEmmanuel Vadot #define TSSC_CLK_SRC				217
227*c66ec88fSEmmanuel Vadot #define TSSC_CLK				218
228*c66ec88fSEmmanuel Vadot #define PDM_SRC					219
229*c66ec88fSEmmanuel Vadot #define PDM_CLK					220
230*c66ec88fSEmmanuel Vadot #define GP0_SRC					221
231*c66ec88fSEmmanuel Vadot #define GP0_CLK					222
232*c66ec88fSEmmanuel Vadot #define GP1_SRC					223
233*c66ec88fSEmmanuel Vadot #define GP1_CLK					224
234*c66ec88fSEmmanuel Vadot #define GP2_SRC					225
235*c66ec88fSEmmanuel Vadot #define GP2_CLK					226
236*c66ec88fSEmmanuel Vadot #define PMEM_CLK				227
237*c66ec88fSEmmanuel Vadot #define MPM_CLK					228
238*c66ec88fSEmmanuel Vadot #define EBI1_ASFAB_SRC				229
239*c66ec88fSEmmanuel Vadot #define EBI1_CLK_SRC				230
240*c66ec88fSEmmanuel Vadot #define EBI1_CH0_CLK				231
241*c66ec88fSEmmanuel Vadot #define EBI1_CH1_CLK				232
242*c66ec88fSEmmanuel Vadot #define SFAB_SMPSS_S_H_CLK			233
243*c66ec88fSEmmanuel Vadot #define PRNG_SRC				234
244*c66ec88fSEmmanuel Vadot #define PRNG_CLK				235
245*c66ec88fSEmmanuel Vadot #define PXO_SRC					236
246*c66ec88fSEmmanuel Vadot #define LPASS_CXO_CLK				237
247*c66ec88fSEmmanuel Vadot #define LPASS_PXO_CLK				238
248*c66ec88fSEmmanuel Vadot #define SPDM_CY_PORT0_CLK			239
249*c66ec88fSEmmanuel Vadot #define SPDM_CY_PORT1_CLK			240
250*c66ec88fSEmmanuel Vadot #define SPDM_CY_PORT2_CLK			241
251*c66ec88fSEmmanuel Vadot #define SPDM_CY_PORT3_CLK			242
252*c66ec88fSEmmanuel Vadot #define SPDM_CY_PORT4_CLK			243
253*c66ec88fSEmmanuel Vadot #define SPDM_CY_PORT5_CLK			244
254*c66ec88fSEmmanuel Vadot #define SPDM_CY_PORT6_CLK			245
255*c66ec88fSEmmanuel Vadot #define SPDM_CY_PORT7_CLK			246
256*c66ec88fSEmmanuel Vadot #define PLL0					247
257*c66ec88fSEmmanuel Vadot #define PLL0_VOTE				248
258*c66ec88fSEmmanuel Vadot #define PLL5					249
259*c66ec88fSEmmanuel Vadot #define PLL6					250
260*c66ec88fSEmmanuel Vadot #define PLL6_VOTE				251
261*c66ec88fSEmmanuel Vadot #define PLL8					252
262*c66ec88fSEmmanuel Vadot #define PLL8_VOTE				253
263*c66ec88fSEmmanuel Vadot #define PLL9					254
264*c66ec88fSEmmanuel Vadot #define PLL10					255
265*c66ec88fSEmmanuel Vadot #define PLL11					256
266*c66ec88fSEmmanuel Vadot #define PLL12					257
267*c66ec88fSEmmanuel Vadot 
268*c66ec88fSEmmanuel Vadot #endif
269