xref: /linux/include/dt-bindings/clock/imx21-clock.h (revision 35bcaf00de20911dd58ed2ea9848aa7e1d969394)
1*35bcaf00SAlexander Shiyan /*
2*35bcaf00SAlexander Shiyan  * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
3*35bcaf00SAlexander Shiyan  *
4*35bcaf00SAlexander Shiyan  * This program is free software; you can redistribute it and/or modify
5*35bcaf00SAlexander Shiyan  * it under the terms of the GNU General Public License version 2 as
6*35bcaf00SAlexander Shiyan  * published by the Free Software Foundation.
7*35bcaf00SAlexander Shiyan  *
8*35bcaf00SAlexander Shiyan  */
9*35bcaf00SAlexander Shiyan 
10*35bcaf00SAlexander Shiyan #ifndef __DT_BINDINGS_CLOCK_IMX21_H
11*35bcaf00SAlexander Shiyan #define __DT_BINDINGS_CLOCK_IMX21_H
12*35bcaf00SAlexander Shiyan 
13*35bcaf00SAlexander Shiyan #define IMX21_CLK_DUMMY			0
14*35bcaf00SAlexander Shiyan #define IMX21_CLK_CKIL			1
15*35bcaf00SAlexander Shiyan #define IMX21_CLK_CKIH			2
16*35bcaf00SAlexander Shiyan #define IMX21_CLK_FPM			3
17*35bcaf00SAlexander Shiyan #define IMX21_CLK_CKIH_DIV1P5		4
18*35bcaf00SAlexander Shiyan #define IMX21_CLK_MPLL_GATE		5
19*35bcaf00SAlexander Shiyan #define IMX21_CLK_SPLL_GATE		6
20*35bcaf00SAlexander Shiyan #define IMX21_CLK_FPM_GATE		7
21*35bcaf00SAlexander Shiyan #define IMX21_CLK_CKIH_GATE		8
22*35bcaf00SAlexander Shiyan #define IMX21_CLK_MPLL_OSC_SEL		9
23*35bcaf00SAlexander Shiyan #define IMX21_CLK_IPG			10
24*35bcaf00SAlexander Shiyan #define IMX21_CLK_HCLK			11
25*35bcaf00SAlexander Shiyan #define IMX21_CLK_MPLL_SEL		12
26*35bcaf00SAlexander Shiyan #define IMX21_CLK_SPLL_SEL		13
27*35bcaf00SAlexander Shiyan #define IMX21_CLK_SSI1_SEL		14
28*35bcaf00SAlexander Shiyan #define IMX21_CLK_SSI2_SEL		15
29*35bcaf00SAlexander Shiyan #define IMX21_CLK_USB_DIV		16
30*35bcaf00SAlexander Shiyan #define IMX21_CLK_FCLK			17
31*35bcaf00SAlexander Shiyan #define IMX21_CLK_MPLL			18
32*35bcaf00SAlexander Shiyan #define IMX21_CLK_SPLL			19
33*35bcaf00SAlexander Shiyan #define IMX21_CLK_NFC_DIV		20
34*35bcaf00SAlexander Shiyan #define IMX21_CLK_SSI1_DIV		21
35*35bcaf00SAlexander Shiyan #define IMX21_CLK_SSI2_DIV		22
36*35bcaf00SAlexander Shiyan #define IMX21_CLK_PER1			23
37*35bcaf00SAlexander Shiyan #define IMX21_CLK_PER2			24
38*35bcaf00SAlexander Shiyan #define IMX21_CLK_PER3			25
39*35bcaf00SAlexander Shiyan #define IMX21_CLK_PER4			26
40*35bcaf00SAlexander Shiyan #define IMX21_CLK_UART1_IPG_GATE	27
41*35bcaf00SAlexander Shiyan #define IMX21_CLK_UART2_IPG_GATE	28
42*35bcaf00SAlexander Shiyan #define IMX21_CLK_UART3_IPG_GATE	29
43*35bcaf00SAlexander Shiyan #define IMX21_CLK_UART4_IPG_GATE	30
44*35bcaf00SAlexander Shiyan #define IMX21_CLK_CSPI1_IPG_GATE	31
45*35bcaf00SAlexander Shiyan #define IMX21_CLK_CSPI2_IPG_GATE	32
46*35bcaf00SAlexander Shiyan #define IMX21_CLK_SSI1_GATE		33
47*35bcaf00SAlexander Shiyan #define IMX21_CLK_SSI2_GATE		34
48*35bcaf00SAlexander Shiyan #define IMX21_CLK_SDHC1_IPG_GATE	35
49*35bcaf00SAlexander Shiyan #define IMX21_CLK_SDHC2_IPG_GATE	36
50*35bcaf00SAlexander Shiyan #define IMX21_CLK_GPIO_GATE		37
51*35bcaf00SAlexander Shiyan #define IMX21_CLK_I2C_GATE		38
52*35bcaf00SAlexander Shiyan #define IMX21_CLK_DMA_GATE		39
53*35bcaf00SAlexander Shiyan #define IMX21_CLK_USB_GATE		40
54*35bcaf00SAlexander Shiyan #define IMX21_CLK_EMMA_GATE		41
55*35bcaf00SAlexander Shiyan #define IMX21_CLK_SSI2_BAUD_GATE	42
56*35bcaf00SAlexander Shiyan #define IMX21_CLK_SSI1_BAUD_GATE	43
57*35bcaf00SAlexander Shiyan #define IMX21_CLK_LCDC_IPG_GATE		44
58*35bcaf00SAlexander Shiyan #define IMX21_CLK_NFC_GATE		45
59*35bcaf00SAlexander Shiyan #define IMX21_CLK_LCDC_HCLK_GATE	46
60*35bcaf00SAlexander Shiyan #define IMX21_CLK_PER4_GATE		47
61*35bcaf00SAlexander Shiyan #define IMX21_CLK_BMI_GATE		48
62*35bcaf00SAlexander Shiyan #define IMX21_CLK_USB_HCLK_GATE		49
63*35bcaf00SAlexander Shiyan #define IMX21_CLK_SLCDC_GATE		50
64*35bcaf00SAlexander Shiyan #define IMX21_CLK_SLCDC_HCLK_GATE	51
65*35bcaf00SAlexander Shiyan #define IMX21_CLK_EMMA_HCLK_GATE	52
66*35bcaf00SAlexander Shiyan #define IMX21_CLK_BROM_GATE		53
67*35bcaf00SAlexander Shiyan #define IMX21_CLK_DMA_HCLK_GATE		54
68*35bcaf00SAlexander Shiyan #define IMX21_CLK_CSI_HCLK_GATE		55
69*35bcaf00SAlexander Shiyan #define IMX21_CLK_CSPI3_IPG_GATE	56
70*35bcaf00SAlexander Shiyan #define IMX21_CLK_WDOG_GATE		57
71*35bcaf00SAlexander Shiyan #define IMX21_CLK_GPT1_IPG_GATE		58
72*35bcaf00SAlexander Shiyan #define IMX21_CLK_GPT2_IPG_GATE		59
73*35bcaf00SAlexander Shiyan #define IMX21_CLK_GPT3_IPG_GATE		60
74*35bcaf00SAlexander Shiyan #define IMX21_CLK_PWM_IPG_GATE		61
75*35bcaf00SAlexander Shiyan #define IMX21_CLK_RTC_GATE		62
76*35bcaf00SAlexander Shiyan #define IMX21_CLK_KPP_GATE		63
77*35bcaf00SAlexander Shiyan #define IMX21_CLK_OWIRE_GATE		64
78*35bcaf00SAlexander Shiyan #define IMX21_CLK_MAX			65
79*35bcaf00SAlexander Shiyan 
80*35bcaf00SAlexander Shiyan #endif
81