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