1*fa720911SPeng Fan /*
2*fa720911SPeng Fan  * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
3*fa720911SPeng Fan  *
4*fa720911SPeng Fan  * This program is free software; you can redistribute it and/or modify
5*fa720911SPeng Fan  * it under the terms of the GNU General Public License version 2 as
6*fa720911SPeng Fan  * published by the Free Software Foundation.
7*fa720911SPeng Fan  *
8*fa720911SPeng Fan  */
9*fa720911SPeng Fan 
10*fa720911SPeng Fan #ifndef __DT_BINDINGS_CLOCK_IMX6UL_H
11*fa720911SPeng Fan #define __DT_BINDINGS_CLOCK_IMX6UL_H
12*fa720911SPeng Fan 
13*fa720911SPeng Fan #define IMX6UL_CLK_DUMMY		0
14*fa720911SPeng Fan #define IMX6UL_CLK_CKIL			1
15*fa720911SPeng Fan #define IMX6UL_CLK_CKIH			2
16*fa720911SPeng Fan #define IMX6UL_CLK_OSC			3
17*fa720911SPeng Fan #define IMX6UL_PLL1_BYPASS_SRC		4
18*fa720911SPeng Fan #define IMX6UL_PLL2_BYPASS_SRC		5
19*fa720911SPeng Fan #define IMX6UL_PLL3_BYPASS_SRC		6
20*fa720911SPeng Fan #define IMX6UL_PLL4_BYPASS_SRC		7
21*fa720911SPeng Fan #define IMX6UL_PLL5_BYPASS_SRC		8
22*fa720911SPeng Fan #define IMX6UL_PLL6_BYPASS_SRC		9
23*fa720911SPeng Fan #define IMX6UL_PLL7_BYPASS_SRC		10
24*fa720911SPeng Fan #define IMX6UL_CLK_PLL1			11
25*fa720911SPeng Fan #define IMX6UL_CLK_PLL2			12
26*fa720911SPeng Fan #define IMX6UL_CLK_PLL3			13
27*fa720911SPeng Fan #define IMX6UL_CLK_PLL4			14
28*fa720911SPeng Fan #define IMX6UL_CLK_PLL5			15
29*fa720911SPeng Fan #define IMX6UL_CLK_PLL6			16
30*fa720911SPeng Fan #define IMX6UL_CLK_PLL7			17
31*fa720911SPeng Fan #define IMX6UL_PLL1_BYPASS		18
32*fa720911SPeng Fan #define IMX6UL_PLL2_BYPASS		19
33*fa720911SPeng Fan #define IMX6UL_PLL3_BYPASS		20
34*fa720911SPeng Fan #define IMX6UL_PLL4_BYPASS		21
35*fa720911SPeng Fan #define IMX6UL_PLL5_BYPASS		22
36*fa720911SPeng Fan #define IMX6UL_PLL6_BYPASS		23
37*fa720911SPeng Fan #define IMX6UL_PLL7_BYPASS		24
38*fa720911SPeng Fan #define IMX6UL_CLK_PLL1_SYS		25
39*fa720911SPeng Fan #define IMX6UL_CLK_PLL2_BUS		26
40*fa720911SPeng Fan #define IMX6UL_CLK_PLL3_USB_OTG		27
41*fa720911SPeng Fan #define IMX6UL_CLK_PLL4_AUDIO		28
42*fa720911SPeng Fan #define IMX6UL_CLK_PLL5_VIDEO		29
43*fa720911SPeng Fan #define IMX6UL_CLK_PLL6_ENET		30
44*fa720911SPeng Fan #define IMX6UL_CLK_PLL7_USB_HOST	31
45*fa720911SPeng Fan #define IMX6UL_CLK_USBPHY1		32
46*fa720911SPeng Fan #define IMX6UL_CLK_USBPHY2		33
47*fa720911SPeng Fan #define IMX6UL_CLK_USBPHY1_GATE		34
48*fa720911SPeng Fan #define IMX6UL_CLK_USBPHY2_GATE		35
49*fa720911SPeng Fan #define IMX6UL_CLK_PLL2_PFD0		36
50*fa720911SPeng Fan #define IMX6UL_CLK_PLL2_PFD1		37
51*fa720911SPeng Fan #define IMX6UL_CLK_PLL2_PFD2		38
52*fa720911SPeng Fan #define IMX6UL_CLK_PLL2_PFD3		39
53*fa720911SPeng Fan #define IMX6UL_CLK_PLL3_PFD0		40
54*fa720911SPeng Fan #define IMX6UL_CLK_PLL3_PFD1		41
55*fa720911SPeng Fan #define IMX6UL_CLK_PLL3_PFD2		42
56*fa720911SPeng Fan #define IMX6UL_CLK_PLL3_PFD3		43
57*fa720911SPeng Fan #define IMX6UL_CLK_ENET_REF		44
58*fa720911SPeng Fan #define IMX6UL_CLK_ENET2_REF		45
59*fa720911SPeng Fan #define IMX6UL_CLK_ENET2_REF_125M	46
60*fa720911SPeng Fan #define IMX6UL_CLK_ENET_PTP_REF		47
61*fa720911SPeng Fan #define IMX6UL_CLK_ENET_PTP		48
62*fa720911SPeng Fan #define IMX6UL_CLK_PLL4_POST_DIV	49
63*fa720911SPeng Fan #define IMX6UL_CLK_PLL4_AUDIO_DIV	50
64*fa720911SPeng Fan #define IMX6UL_CLK_PLL5_POST_DIV	51
65*fa720911SPeng Fan #define IMX6UL_CLK_PLL5_VIDEO_DIV	52
66*fa720911SPeng Fan #define IMX6UL_CLK_PLL2_198M		53
67*fa720911SPeng Fan #define IMX6UL_CLK_PLL3_80M		54
68*fa720911SPeng Fan #define IMX6UL_CLK_PLL3_60M		55
69*fa720911SPeng Fan #define IMX6UL_CLK_STEP			56
70*fa720911SPeng Fan #define IMX6UL_CLK_PLL1_SW		57
71*fa720911SPeng Fan #define IMX6UL_CLK_AXI_ALT_SEL		58
72*fa720911SPeng Fan #define IMX6UL_CLK_AXI_SEL		59
73*fa720911SPeng Fan #define IMX6UL_CLK_PERIPH_PRE		60
74*fa720911SPeng Fan #define IMX6UL_CLK_PERIPH2_PRE		61
75*fa720911SPeng Fan #define IMX6UL_CLK_PERIPH_CLK2_SEL	62
76*fa720911SPeng Fan #define IMX6UL_CLK_PERIPH2_CLK2_SEL	63
77*fa720911SPeng Fan #define IMX6UL_CLK_USDHC1_SEL		64
78*fa720911SPeng Fan #define IMX6UL_CLK_USDHC2_SEL		65
79*fa720911SPeng Fan #define IMX6UL_CLK_BCH_SEL		66
80*fa720911SPeng Fan #define IMX6UL_CLK_GPMI_SEL		67
81*fa720911SPeng Fan #define IMX6UL_CLK_EIM_SLOW_SEL		68
82*fa720911SPeng Fan #define IMX6UL_CLK_SPDIF_SEL		69
83*fa720911SPeng Fan #define IMX6UL_CLK_SAI1_SEL		70
84*fa720911SPeng Fan #define IMX6UL_CLK_SAI2_SEL		71
85*fa720911SPeng Fan #define IMX6UL_CLK_SAI3_SEL		72
86*fa720911SPeng Fan #define IMX6UL_CLK_LCDIF_PRE_SEL	73
87*fa720911SPeng Fan #define IMX6UL_CLK_SIM_PRE_SEL		74
88*fa720911SPeng Fan #define IMX6UL_CLK_LDB_DI0_SEL		75
89*fa720911SPeng Fan #define IMX6UL_CLK_LDB_DI1_SEL		76
90*fa720911SPeng Fan #define IMX6UL_CLK_ENFC_SEL		77
91*fa720911SPeng Fan #define IMX6UL_CLK_CAN_SEL		78
92*fa720911SPeng Fan #define IMX6UL_CLK_ECSPI_SEL		79
93*fa720911SPeng Fan #define IMX6UL_CLK_UART_SEL		80
94*fa720911SPeng Fan #define IMX6UL_CLK_QSPI1_SEL		81
95*fa720911SPeng Fan #define IMX6UL_CLK_PERCLK_SEL		82
96*fa720911SPeng Fan #define IMX6UL_CLK_LCDIF_SEL		83
97*fa720911SPeng Fan #define IMX6UL_CLK_SIM_SEL		84
98*fa720911SPeng Fan #define IMX6UL_CLK_PERIPH		85
99*fa720911SPeng Fan #define IMX6UL_CLK_PERIPH2		86
100*fa720911SPeng Fan #define IMX6UL_CLK_LDB_DI0_DIV_3_5	87
101*fa720911SPeng Fan #define IMX6UL_CLK_LDB_DI0_DIV_7	88
102*fa720911SPeng Fan #define IMX6UL_CLK_LDB_DI1_DIV_3_5	89
103*fa720911SPeng Fan #define IMX6UL_CLK_LDB_DI1_DIV_7	90
104*fa720911SPeng Fan #define IMX6UL_CLK_LDB_DI0_DIV_SEL	91
105*fa720911SPeng Fan #define IMX6UL_CLK_LDB_DI1_DIV_SEL	92
106*fa720911SPeng Fan #define IMX6UL_CLK_ARM			93
107*fa720911SPeng Fan #define IMX6UL_CLK_PERIPH_CLK2		94
108*fa720911SPeng Fan #define IMX6UL_CLK_PERIPH2_CLK2 	95
109*fa720911SPeng Fan #define IMX6UL_CLK_AHB			96
110*fa720911SPeng Fan #define IMX6UL_CLK_MMDC_PODF		97
111*fa720911SPeng Fan #define IMX6UL_CLK_AXI_PODF		98
112*fa720911SPeng Fan #define IMX6UL_CLK_PERCLK		99
113*fa720911SPeng Fan #define IMX6UL_CLK_IPG			100
114*fa720911SPeng Fan #define IMX6UL_CLK_USDHC1_PODF		101
115*fa720911SPeng Fan #define IMX6UL_CLK_USDHC2_PODF		102
116*fa720911SPeng Fan #define IMX6UL_CLK_BCH_PODF		103
117*fa720911SPeng Fan #define IMX6UL_CLK_GPMI_PODF		104
118*fa720911SPeng Fan #define IMX6UL_CLK_EIM_SLOW_PODF	105
119*fa720911SPeng Fan #define IMX6UL_CLK_SPDIF_PRED		106
120*fa720911SPeng Fan #define IMX6UL_CLK_SPDIF_PODF		107
121*fa720911SPeng Fan #define IMX6UL_CLK_SAI1_PRED		108
122*fa720911SPeng Fan #define IMX6UL_CLK_SAI1_PODF		109
123*fa720911SPeng Fan #define IMX6UL_CLK_SAI2_PRED		110
124*fa720911SPeng Fan #define IMX6UL_CLK_SAI2_PODF		111
125*fa720911SPeng Fan #define IMX6UL_CLK_SAI3_PRED		112
126*fa720911SPeng Fan #define IMX6UL_CLK_SAI3_PODF		113
127*fa720911SPeng Fan #define IMX6UL_CLK_LCDIF_PRED		114
128*fa720911SPeng Fan #define IMX6UL_CLK_LCDIF_PODF		115
129*fa720911SPeng Fan #define IMX6UL_CLK_SIM_PODF		116
130*fa720911SPeng Fan #define IMX6UL_CLK_QSPI1_PDOF		117
131*fa720911SPeng Fan #define IMX6UL_CLK_ENFC_PRED		118
132*fa720911SPeng Fan #define IMX6UL_CLK_ENFC_PODF		119
133*fa720911SPeng Fan #define IMX6UL_CLK_CAN_PODF		120
134*fa720911SPeng Fan #define IMX6UL_CLK_ECSPI_PODF		121
135*fa720911SPeng Fan #define IMX6UL_CLK_UART_PODF		122
136*fa720911SPeng Fan #define IMX6UL_CLK_ADC1			123
137*fa720911SPeng Fan #define IMX6UL_CLK_ADC2			124
138*fa720911SPeng Fan #define IMX6UL_CLK_AIPSTZ1		125
139*fa720911SPeng Fan #define IMX6UL_CLK_AIPSTZ2		126
140*fa720911SPeng Fan #define IMX6UL_CLK_AIPSTZ3		127
141*fa720911SPeng Fan #define IMX6UL_CLK_APBHDMA		128
142*fa720911SPeng Fan #define IMX6UL_CLK_ASRC_IPG		129
143*fa720911SPeng Fan #define IMX6UL_CLK_ASRC_MEM		130
144*fa720911SPeng Fan #define IMX6UL_CLK_GPMI_BCH_APB		131
145*fa720911SPeng Fan #define IMX6UL_CLK_GPMI_BCH		132
146*fa720911SPeng Fan #define IMX6UL_CLK_GPMI_IO		133
147*fa720911SPeng Fan #define IMX6UL_CLK_GPMI_APB		134
148*fa720911SPeng Fan #define IMX6UL_CLK_CAAM_MEM		135
149*fa720911SPeng Fan #define IMX6UL_CLK_CAAM_ACLK		136
150*fa720911SPeng Fan #define IMX6UL_CLK_CAAM_IPG		137
151*fa720911SPeng Fan #define IMX6UL_CLK_CSI			138
152*fa720911SPeng Fan #define IMX6UL_CLK_ECSPI1		139
153*fa720911SPeng Fan #define IMX6UL_CLK_ECSPI2		140
154*fa720911SPeng Fan #define IMX6UL_CLK_ECSPI3		141
155*fa720911SPeng Fan #define IMX6UL_CLK_ECSPI4		142
156*fa720911SPeng Fan #define IMX6UL_CLK_EIM			143
157*fa720911SPeng Fan #define IMX6UL_CLK_ENET			144
158*fa720911SPeng Fan #define IMX6UL_CLK_ENET_AHB		145
159*fa720911SPeng Fan #define IMX6UL_CLK_EPIT1		146
160*fa720911SPeng Fan #define IMX6UL_CLK_EPIT2		147
161*fa720911SPeng Fan #define IMX6UL_CLK_CAN1_IPG		148
162*fa720911SPeng Fan #define IMX6UL_CLK_CAN1_SERIAL		149
163*fa720911SPeng Fan #define IMX6UL_CLK_CAN2_IPG		150
164*fa720911SPeng Fan #define IMX6UL_CLK_CAN2_SERIAL		151
165*fa720911SPeng Fan #define IMX6UL_CLK_GPT1_BUS		152
166*fa720911SPeng Fan #define IMX6UL_CLK_GPT1_SERIAL		153
167*fa720911SPeng Fan #define IMX6UL_CLK_GPT2_BUS		154
168*fa720911SPeng Fan #define IMX6UL_CLK_GPT2_SERIAL		155
169*fa720911SPeng Fan #define IMX6UL_CLK_I2C1			156
170*fa720911SPeng Fan #define IMX6UL_CLK_I2C2			157
171*fa720911SPeng Fan #define IMX6UL_CLK_I2C3			158
172*fa720911SPeng Fan #define IMX6UL_CLK_I2C4			159
173*fa720911SPeng Fan #define IMX6UL_CLK_IOMUXC		160
174*fa720911SPeng Fan #define IMX6UL_CLK_LCDIF_APB		161
175*fa720911SPeng Fan #define IMX6UL_CLK_LCDIF_PIX		162
176*fa720911SPeng Fan #define IMX6UL_CLK_MMDC_P0_FAST		163
177*fa720911SPeng Fan #define IMX6UL_CLK_MMDC_P0_IPG		164
178*fa720911SPeng Fan #define IMX6UL_CLK_OCOTP		165
179*fa720911SPeng Fan #define IMX6UL_CLK_OCRAM		166
180*fa720911SPeng Fan #define IMX6UL_CLK_PWM1			167
181*fa720911SPeng Fan #define IMX6UL_CLK_PWM2			168
182*fa720911SPeng Fan #define IMX6UL_CLK_PWM3			169
183*fa720911SPeng Fan #define IMX6UL_CLK_PWM4			170
184*fa720911SPeng Fan #define IMX6UL_CLK_PWM5			171
185*fa720911SPeng Fan #define IMX6UL_CLK_PWM6			172
186*fa720911SPeng Fan #define IMX6UL_CLK_PWM7			173
187*fa720911SPeng Fan #define IMX6UL_CLK_PWM8			174
188*fa720911SPeng Fan #define IMX6UL_CLK_PXP			175
189*fa720911SPeng Fan #define IMX6UL_CLK_QSPI			176
190*fa720911SPeng Fan #define IMX6UL_CLK_ROM			177
191*fa720911SPeng Fan #define IMX6UL_CLK_SAI1			178
192*fa720911SPeng Fan #define IMX6UL_CLK_SAI1_IPG		179
193*fa720911SPeng Fan #define IMX6UL_CLK_SAI2			180
194*fa720911SPeng Fan #define IMX6UL_CLK_SAI2_IPG		181
195*fa720911SPeng Fan #define IMX6UL_CLK_SAI3			182
196*fa720911SPeng Fan #define IMX6UL_CLK_SAI3_IPG		183
197*fa720911SPeng Fan #define IMX6UL_CLK_SDMA			184
198*fa720911SPeng Fan #define IMX6UL_CLK_SIM			185
199*fa720911SPeng Fan #define IMX6UL_CLK_SIM_S		186
200*fa720911SPeng Fan #define IMX6UL_CLK_SPBA			187
201*fa720911SPeng Fan #define IMX6UL_CLK_SPDIF		188
202*fa720911SPeng Fan #define IMX6UL_CLK_UART1_IPG		189
203*fa720911SPeng Fan #define IMX6UL_CLK_UART1_SERIAL		190
204*fa720911SPeng Fan #define IMX6UL_CLK_UART2_IPG		191
205*fa720911SPeng Fan #define IMX6UL_CLK_UART2_SERIAL		192
206*fa720911SPeng Fan #define IMX6UL_CLK_UART3_IPG		193
207*fa720911SPeng Fan #define IMX6UL_CLK_UART3_SERIAL		194
208*fa720911SPeng Fan #define IMX6UL_CLK_UART4_IPG		195
209*fa720911SPeng Fan #define IMX6UL_CLK_UART4_SERIAL		196
210*fa720911SPeng Fan #define IMX6UL_CLK_UART5_IPG		197
211*fa720911SPeng Fan #define IMX6UL_CLK_UART5_SERIAL		198
212*fa720911SPeng Fan #define IMX6UL_CLK_UART6_IPG		199
213*fa720911SPeng Fan #define IMX6UL_CLK_UART6_SERIAL		200
214*fa720911SPeng Fan #define IMX6UL_CLK_UART7_IPG		201
215*fa720911SPeng Fan #define IMX6UL_CLK_UART7_SERIAL		202
216*fa720911SPeng Fan #define IMX6UL_CLK_UART8_IPG		203
217*fa720911SPeng Fan #define IMX6UL_CLK_UART8_SERIAL		204
218*fa720911SPeng Fan #define IMX6UL_CLK_USBOH3		205
219*fa720911SPeng Fan #define IMX6UL_CLK_USDHC1		206
220*fa720911SPeng Fan #define IMX6UL_CLK_USDHC2		207
221*fa720911SPeng Fan #define IMX6UL_CLK_WDOG1		208
222*fa720911SPeng Fan #define IMX6UL_CLK_WDOG2		209
223*fa720911SPeng Fan #define IMX6UL_CLK_WDOG3		210
224*fa720911SPeng Fan #define IMX6UL_CLK_LDB_DI0		211
225*fa720911SPeng Fan #define IMX6UL_CLK_AXI			212
226*fa720911SPeng Fan #define IMX6UL_CLK_SPDIF_GCLK		213
227*fa720911SPeng Fan #define IMX6UL_CLK_GPT_3M		214
228*fa720911SPeng Fan #define IMX6UL_CLK_SIM2			215
229*fa720911SPeng Fan #define IMX6UL_CLK_SIM1			216
230*fa720911SPeng Fan #define IMX6UL_CLK_IPP_DI0		217
231*fa720911SPeng Fan #define IMX6UL_CLK_IPP_DI1		218
232*fa720911SPeng Fan #define IMX6UL_CA7_SECONDARY_SEL	219
233*fa720911SPeng Fan #define IMX6UL_CLK_PER_BCH		220
234*fa720911SPeng Fan #define IMX6UL_CLK_CSI_SEL		221
235*fa720911SPeng Fan #define IMX6UL_CLK_CSI_PODF		222
236*fa720911SPeng Fan #define IMX6UL_CLK_PLL3_120M		223
237*fa720911SPeng Fan /* For i.MX6ULL */
238*fa720911SPeng Fan #define IMX6UL_CLK_ESAI_SEL		224
239*fa720911SPeng Fan #define IMX6UL_CLK_ESAI_PRED		225
240*fa720911SPeng Fan #define IMX6UL_CLK_ESAI_PODF		226
241*fa720911SPeng Fan #define IMX6UL_CLK_ESAI_EXTAL		227
242*fa720911SPeng Fan #define IMX6UL_CLK_ESAI_MEM		228
243*fa720911SPeng Fan #define IMX6UL_CLK_ESAI_IPG		229
244*fa720911SPeng Fan #define IMX6UL_CLK_DCP_CLK		230
245*fa720911SPeng Fan #define IMX6UL_CLK_EPDC_PRE_SEL		231
246*fa720911SPeng Fan #define IMX6UL_CLK_EPDC_SEL		232
247*fa720911SPeng Fan #define IMX6UL_CLK_EPDC_PODF		233
248*fa720911SPeng Fan #define IMX6UL_CLK_EPDC_ACLK		234
249*fa720911SPeng Fan #define IMX6UL_CLK_EPDC_PIX		235
250*fa720911SPeng Fan 
251*fa720911SPeng Fan #define IMX6UL_CLK_END			236
252*fa720911SPeng Fan 
253*fa720911SPeng Fan #endif /* __DT_BINDINGS_CLOCK_IMX6UL_H */
254