1*98d62e61SPatrick Bruenn /*
2*98d62e61SPatrick Bruenn  * Copyright 2013 Lucas Stach, Pengutronix <l.stach@pengutronix.de>
3*98d62e61SPatrick Bruenn  *
4*98d62e61SPatrick Bruenn  * This program is free software; you can redistribute it and/or modify
5*98d62e61SPatrick Bruenn  * it under the terms of the GNU General Public License version 2 as
6*98d62e61SPatrick Bruenn  * published by the Free Software Foundation.
7*98d62e61SPatrick Bruenn  *
8*98d62e61SPatrick Bruenn  */
9*98d62e61SPatrick Bruenn 
10*98d62e61SPatrick Bruenn #ifndef __DT_BINDINGS_CLOCK_IMX5_H
11*98d62e61SPatrick Bruenn #define __DT_BINDINGS_CLOCK_IMX5_H
12*98d62e61SPatrick Bruenn 
13*98d62e61SPatrick Bruenn #define IMX5_CLK_DUMMY			0
14*98d62e61SPatrick Bruenn #define IMX5_CLK_CKIL			1
15*98d62e61SPatrick Bruenn #define IMX5_CLK_OSC			2
16*98d62e61SPatrick Bruenn #define IMX5_CLK_CKIH1			3
17*98d62e61SPatrick Bruenn #define IMX5_CLK_CKIH2			4
18*98d62e61SPatrick Bruenn #define IMX5_CLK_AHB			5
19*98d62e61SPatrick Bruenn #define IMX5_CLK_IPG			6
20*98d62e61SPatrick Bruenn #define IMX5_CLK_AXI_A			7
21*98d62e61SPatrick Bruenn #define IMX5_CLK_AXI_B			8
22*98d62e61SPatrick Bruenn #define IMX5_CLK_UART_PRED		9
23*98d62e61SPatrick Bruenn #define IMX5_CLK_UART_ROOT		10
24*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC_A_PRED		11
25*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC_B_PRED		12
26*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC_C_SEL		13
27*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC_D_SEL		14
28*98d62e61SPatrick Bruenn #define IMX5_CLK_EMI_SEL		15
29*98d62e61SPatrick Bruenn #define IMX5_CLK_EMI_SLOW_PODF		16
30*98d62e61SPatrick Bruenn #define IMX5_CLK_NFC_PODF		17
31*98d62e61SPatrick Bruenn #define IMX5_CLK_ECSPI_PRED		18
32*98d62e61SPatrick Bruenn #define IMX5_CLK_ECSPI_PODF		19
33*98d62e61SPatrick Bruenn #define IMX5_CLK_USBOH3_PRED		20
34*98d62e61SPatrick Bruenn #define IMX5_CLK_USBOH3_PODF		21
35*98d62e61SPatrick Bruenn #define IMX5_CLK_USB_PHY_PRED		22
36*98d62e61SPatrick Bruenn #define IMX5_CLK_USB_PHY_PODF		23
37*98d62e61SPatrick Bruenn #define IMX5_CLK_CPU_PODF		24
38*98d62e61SPatrick Bruenn #define IMX5_CLK_DI_PRED		25
39*98d62e61SPatrick Bruenn #define IMX5_CLK_TVE_SEL		27
40*98d62e61SPatrick Bruenn #define IMX5_CLK_UART1_IPG_GATE		28
41*98d62e61SPatrick Bruenn #define IMX5_CLK_UART1_PER_GATE		29
42*98d62e61SPatrick Bruenn #define IMX5_CLK_UART2_IPG_GATE		30
43*98d62e61SPatrick Bruenn #define IMX5_CLK_UART2_PER_GATE		31
44*98d62e61SPatrick Bruenn #define IMX5_CLK_UART3_IPG_GATE		32
45*98d62e61SPatrick Bruenn #define IMX5_CLK_UART3_PER_GATE		33
46*98d62e61SPatrick Bruenn #define IMX5_CLK_I2C1_GATE		34
47*98d62e61SPatrick Bruenn #define IMX5_CLK_I2C2_GATE		35
48*98d62e61SPatrick Bruenn #define IMX5_CLK_GPT_IPG_GATE		36
49*98d62e61SPatrick Bruenn #define IMX5_CLK_PWM1_IPG_GATE		37
50*98d62e61SPatrick Bruenn #define IMX5_CLK_PWM1_HF_GATE		38
51*98d62e61SPatrick Bruenn #define IMX5_CLK_PWM2_IPG_GATE		39
52*98d62e61SPatrick Bruenn #define IMX5_CLK_PWM2_HF_GATE		40
53*98d62e61SPatrick Bruenn #define IMX5_CLK_GPT_HF_GATE		41
54*98d62e61SPatrick Bruenn #define IMX5_CLK_FEC_GATE		42
55*98d62e61SPatrick Bruenn #define IMX5_CLK_USBOH3_PER_GATE	43
56*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC1_IPG_GATE	44
57*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC2_IPG_GATE	45
58*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC3_IPG_GATE	46
59*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC4_IPG_GATE	47
60*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI1_IPG_GATE		48
61*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI2_IPG_GATE		49
62*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI3_IPG_GATE		50
63*98d62e61SPatrick Bruenn #define IMX5_CLK_ECSPI1_IPG_GATE	51
64*98d62e61SPatrick Bruenn #define IMX5_CLK_ECSPI1_PER_GATE	52
65*98d62e61SPatrick Bruenn #define IMX5_CLK_ECSPI2_IPG_GATE	53
66*98d62e61SPatrick Bruenn #define IMX5_CLK_ECSPI2_PER_GATE	54
67*98d62e61SPatrick Bruenn #define IMX5_CLK_CSPI_IPG_GATE		55
68*98d62e61SPatrick Bruenn #define IMX5_CLK_SDMA_GATE		56
69*98d62e61SPatrick Bruenn #define IMX5_CLK_EMI_SLOW_GATE		57
70*98d62e61SPatrick Bruenn #define IMX5_CLK_IPU_SEL		58
71*98d62e61SPatrick Bruenn #define IMX5_CLK_IPU_GATE		59
72*98d62e61SPatrick Bruenn #define IMX5_CLK_NFC_GATE		60
73*98d62e61SPatrick Bruenn #define IMX5_CLK_IPU_DI1_GATE		61
74*98d62e61SPatrick Bruenn #define IMX5_CLK_VPU_SEL		62
75*98d62e61SPatrick Bruenn #define IMX5_CLK_VPU_GATE		63
76*98d62e61SPatrick Bruenn #define IMX5_CLK_VPU_REFERENCE_GATE	64
77*98d62e61SPatrick Bruenn #define IMX5_CLK_UART4_IPG_GATE		65
78*98d62e61SPatrick Bruenn #define IMX5_CLK_UART4_PER_GATE		66
79*98d62e61SPatrick Bruenn #define IMX5_CLK_UART5_IPG_GATE		67
80*98d62e61SPatrick Bruenn #define IMX5_CLK_UART5_PER_GATE		68
81*98d62e61SPatrick Bruenn #define IMX5_CLK_TVE_GATE		69
82*98d62e61SPatrick Bruenn #define IMX5_CLK_TVE_PRED		70
83*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC1_PER_GATE	71
84*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC2_PER_GATE	72
85*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC3_PER_GATE	73
86*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC4_PER_GATE	74
87*98d62e61SPatrick Bruenn #define IMX5_CLK_USB_PHY_GATE		75
88*98d62e61SPatrick Bruenn #define IMX5_CLK_HSI2C_GATE		76
89*98d62e61SPatrick Bruenn #define IMX5_CLK_MIPI_HSC1_GATE		77
90*98d62e61SPatrick Bruenn #define IMX5_CLK_MIPI_HSC2_GATE		78
91*98d62e61SPatrick Bruenn #define IMX5_CLK_MIPI_ESC_GATE		79
92*98d62e61SPatrick Bruenn #define IMX5_CLK_MIPI_HSP_GATE		80
93*98d62e61SPatrick Bruenn #define IMX5_CLK_LDB_DI1_DIV_3_5	81
94*98d62e61SPatrick Bruenn #define IMX5_CLK_LDB_DI1_DIV		82
95*98d62e61SPatrick Bruenn #define IMX5_CLK_LDB_DI0_DIV_3_5	83
96*98d62e61SPatrick Bruenn #define IMX5_CLK_LDB_DI0_DIV		84
97*98d62e61SPatrick Bruenn #define IMX5_CLK_LDB_DI1_GATE		85
98*98d62e61SPatrick Bruenn #define IMX5_CLK_CAN2_SERIAL_GATE	86
99*98d62e61SPatrick Bruenn #define IMX5_CLK_CAN2_IPG_GATE		87
100*98d62e61SPatrick Bruenn #define IMX5_CLK_I2C3_GATE		88
101*98d62e61SPatrick Bruenn #define IMX5_CLK_LP_APM			89
102*98d62e61SPatrick Bruenn #define IMX5_CLK_PERIPH_APM		90
103*98d62e61SPatrick Bruenn #define IMX5_CLK_MAIN_BUS		91
104*98d62e61SPatrick Bruenn #define IMX5_CLK_AHB_MAX		92
105*98d62e61SPatrick Bruenn #define IMX5_CLK_AIPS_TZ1		93
106*98d62e61SPatrick Bruenn #define IMX5_CLK_AIPS_TZ2		94
107*98d62e61SPatrick Bruenn #define IMX5_CLK_TMAX1			95
108*98d62e61SPatrick Bruenn #define IMX5_CLK_TMAX2			96
109*98d62e61SPatrick Bruenn #define IMX5_CLK_TMAX3			97
110*98d62e61SPatrick Bruenn #define IMX5_CLK_SPBA			98
111*98d62e61SPatrick Bruenn #define IMX5_CLK_UART_SEL		99
112*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC_A_SEL		100
113*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC_B_SEL		101
114*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC_A_PODF		102
115*98d62e61SPatrick Bruenn #define IMX5_CLK_ESDHC_B_PODF		103
116*98d62e61SPatrick Bruenn #define IMX5_CLK_ECSPI_SEL		104
117*98d62e61SPatrick Bruenn #define IMX5_CLK_USBOH3_SEL		105
118*98d62e61SPatrick Bruenn #define IMX5_CLK_USB_PHY_SEL		106
119*98d62e61SPatrick Bruenn #define IMX5_CLK_IIM_GATE		107
120*98d62e61SPatrick Bruenn #define IMX5_CLK_USBOH3_GATE		108
121*98d62e61SPatrick Bruenn #define IMX5_CLK_EMI_FAST_GATE		109
122*98d62e61SPatrick Bruenn #define IMX5_CLK_IPU_DI0_GATE		110
123*98d62e61SPatrick Bruenn #define IMX5_CLK_GPC_DVFS		111
124*98d62e61SPatrick Bruenn #define IMX5_CLK_PLL1_SW		112
125*98d62e61SPatrick Bruenn #define IMX5_CLK_PLL2_SW		113
126*98d62e61SPatrick Bruenn #define IMX5_CLK_PLL3_SW		114
127*98d62e61SPatrick Bruenn #define IMX5_CLK_IPU_DI0_SEL		115
128*98d62e61SPatrick Bruenn #define IMX5_CLK_IPU_DI1_SEL		116
129*98d62e61SPatrick Bruenn #define IMX5_CLK_TVE_EXT_SEL		117
130*98d62e61SPatrick Bruenn #define IMX5_CLK_MX51_MIPI		118
131*98d62e61SPatrick Bruenn #define IMX5_CLK_PLL4_SW		119
132*98d62e61SPatrick Bruenn #define IMX5_CLK_LDB_DI1_SEL		120
133*98d62e61SPatrick Bruenn #define IMX5_CLK_DI_PLL4_PODF		121
134*98d62e61SPatrick Bruenn #define IMX5_CLK_LDB_DI0_SEL		122
135*98d62e61SPatrick Bruenn #define IMX5_CLK_LDB_DI0_GATE		123
136*98d62e61SPatrick Bruenn #define IMX5_CLK_USB_PHY1_GATE		124
137*98d62e61SPatrick Bruenn #define IMX5_CLK_USB_PHY2_GATE		125
138*98d62e61SPatrick Bruenn #define IMX5_CLK_PER_LP_APM		126
139*98d62e61SPatrick Bruenn #define IMX5_CLK_PER_PRED1		127
140*98d62e61SPatrick Bruenn #define IMX5_CLK_PER_PRED2		128
141*98d62e61SPatrick Bruenn #define IMX5_CLK_PER_PODF		129
142*98d62e61SPatrick Bruenn #define IMX5_CLK_PER_ROOT		130
143*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI_APM		131
144*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI1_ROOT_SEL		132
145*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI2_ROOT_SEL		133
146*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI3_ROOT_SEL		134
147*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI_EXT1_SEL		135
148*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI_EXT2_SEL		136
149*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI_EXT1_COM_SEL	137
150*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI_EXT2_COM_SEL	138
151*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI1_ROOT_PRED		139
152*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI1_ROOT_PODF		140
153*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI2_ROOT_PRED		141
154*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI2_ROOT_PODF		142
155*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI_EXT1_PRED		143
156*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI_EXT1_PODF		144
157*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI_EXT2_PRED		145
158*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI_EXT2_PODF		146
159*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI1_ROOT_GATE		147
160*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI2_ROOT_GATE		148
161*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI3_ROOT_GATE		149
162*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI_EXT1_GATE		150
163*98d62e61SPatrick Bruenn #define IMX5_CLK_SSI_EXT2_GATE		151
164*98d62e61SPatrick Bruenn #define IMX5_CLK_EPIT1_IPG_GATE		152
165*98d62e61SPatrick Bruenn #define IMX5_CLK_EPIT1_HF_GATE		153
166*98d62e61SPatrick Bruenn #define IMX5_CLK_EPIT2_IPG_GATE		154
167*98d62e61SPatrick Bruenn #define IMX5_CLK_EPIT2_HF_GATE		155
168*98d62e61SPatrick Bruenn #define IMX5_CLK_CAN_SEL		156
169*98d62e61SPatrick Bruenn #define IMX5_CLK_CAN1_SERIAL_GATE	157
170*98d62e61SPatrick Bruenn #define IMX5_CLK_CAN1_IPG_GATE		158
171*98d62e61SPatrick Bruenn #define IMX5_CLK_OWIRE_GATE		159
172*98d62e61SPatrick Bruenn #define IMX5_CLK_GPU3D_SEL		160
173*98d62e61SPatrick Bruenn #define IMX5_CLK_GPU2D_SEL		161
174*98d62e61SPatrick Bruenn #define IMX5_CLK_GPU3D_GATE		162
175*98d62e61SPatrick Bruenn #define IMX5_CLK_GPU2D_GATE		163
176*98d62e61SPatrick Bruenn #define IMX5_CLK_GARB_GATE		164
177*98d62e61SPatrick Bruenn #define IMX5_CLK_CKO1_SEL		165
178*98d62e61SPatrick Bruenn #define IMX5_CLK_CKO1_PODF		166
179*98d62e61SPatrick Bruenn #define IMX5_CLK_CKO1			167
180*98d62e61SPatrick Bruenn #define IMX5_CLK_CKO2_SEL		168
181*98d62e61SPatrick Bruenn #define IMX5_CLK_CKO2_PODF		169
182*98d62e61SPatrick Bruenn #define IMX5_CLK_CKO2			170
183*98d62e61SPatrick Bruenn #define IMX5_CLK_SRTC_GATE		171
184*98d62e61SPatrick Bruenn #define IMX5_CLK_PATA_GATE		172
185*98d62e61SPatrick Bruenn #define IMX5_CLK_SATA_GATE		173
186*98d62e61SPatrick Bruenn #define IMX5_CLK_SPDIF_XTAL_SEL		174
187*98d62e61SPatrick Bruenn #define IMX5_CLK_SPDIF0_SEL		175
188*98d62e61SPatrick Bruenn #define IMX5_CLK_SPDIF1_SEL		176
189*98d62e61SPatrick Bruenn #define IMX5_CLK_SPDIF0_PRED		177
190*98d62e61SPatrick Bruenn #define IMX5_CLK_SPDIF0_PODF		178
191*98d62e61SPatrick Bruenn #define IMX5_CLK_SPDIF1_PRED		179
192*98d62e61SPatrick Bruenn #define IMX5_CLK_SPDIF1_PODF		180
193*98d62e61SPatrick Bruenn #define IMX5_CLK_SPDIF0_COM_SEL		181
194*98d62e61SPatrick Bruenn #define IMX5_CLK_SPDIF1_COM_SEL		182
195*98d62e61SPatrick Bruenn #define IMX5_CLK_SPDIF0_GATE		183
196*98d62e61SPatrick Bruenn #define IMX5_CLK_SPDIF1_GATE		184
197*98d62e61SPatrick Bruenn #define IMX5_CLK_SPDIF_IPG_GATE		185
198*98d62e61SPatrick Bruenn #define IMX5_CLK_OCRAM			186
199*98d62e61SPatrick Bruenn #define IMX5_CLK_SAHARA_IPG_GATE	187
200*98d62e61SPatrick Bruenn #define IMX5_CLK_SATA_REF		188
201*98d62e61SPatrick Bruenn #define IMX5_CLK_STEP_SEL		189
202*98d62e61SPatrick Bruenn #define IMX5_CLK_CPU_PODF_SEL		190
203*98d62e61SPatrick Bruenn #define IMX5_CLK_ARM			191
204*98d62e61SPatrick Bruenn #define IMX5_CLK_FIRI_PRED		192
205*98d62e61SPatrick Bruenn #define IMX5_CLK_FIRI_SEL		193
206*98d62e61SPatrick Bruenn #define IMX5_CLK_FIRI_PODF		194
207*98d62e61SPatrick Bruenn #define IMX5_CLK_FIRI_SERIAL_GATE	195
208*98d62e61SPatrick Bruenn #define IMX5_CLK_FIRI_IPG_GATE		196
209*98d62e61SPatrick Bruenn #define IMX5_CLK_CSI0_MCLK1_PRED	197
210*98d62e61SPatrick Bruenn #define IMX5_CLK_CSI0_MCLK1_SEL		198
211*98d62e61SPatrick Bruenn #define IMX5_CLK_CSI0_MCLK1_PODF	199
212*98d62e61SPatrick Bruenn #define IMX5_CLK_CSI0_MCLK1_GATE	200
213*98d62e61SPatrick Bruenn #define IMX5_CLK_IEEE1588_PRED		201
214*98d62e61SPatrick Bruenn #define IMX5_CLK_IEEE1588_SEL		202
215*98d62e61SPatrick Bruenn #define IMX5_CLK_IEEE1588_PODF		203
216*98d62e61SPatrick Bruenn #define IMX5_CLK_IEEE1588_GATE		204
217*98d62e61SPatrick Bruenn #define IMX5_CLK_END			205
218*98d62e61SPatrick Bruenn 
219*98d62e61SPatrick Bruenn #endif /* __DT_BINDINGS_CLOCK_IMX5_H */
220