xref: /linux/include/dt-bindings/clock/imx27-clock.h (revision e8e3faa0391a81a40a9add37d90bcdfbd9a5b942)
1*e8e3faa0SAlexander Shiyan /*
2*e8e3faa0SAlexander Shiyan  * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
3*e8e3faa0SAlexander Shiyan  *
4*e8e3faa0SAlexander Shiyan  * This program is free software; you can redistribute it and/or modify
5*e8e3faa0SAlexander Shiyan  * it under the terms of the GNU General Public License version 2 as
6*e8e3faa0SAlexander Shiyan  * published by the Free Software Foundation.
7*e8e3faa0SAlexander Shiyan  *
8*e8e3faa0SAlexander Shiyan  */
9*e8e3faa0SAlexander Shiyan 
10*e8e3faa0SAlexander Shiyan #ifndef __DT_BINDINGS_CLOCK_IMX27_H
11*e8e3faa0SAlexander Shiyan #define __DT_BINDINGS_CLOCK_IMX27_H
12*e8e3faa0SAlexander Shiyan 
13*e8e3faa0SAlexander Shiyan #define IMX27_CLK_DUMMY			0
14*e8e3faa0SAlexander Shiyan #define IMX27_CLK_CKIH			1
15*e8e3faa0SAlexander Shiyan #define IMX27_CLK_CKIL			2
16*e8e3faa0SAlexander Shiyan #define IMX27_CLK_MPLL			3
17*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SPLL			4
18*e8e3faa0SAlexander Shiyan #define IMX27_CLK_MPLL_MAIN2		5
19*e8e3faa0SAlexander Shiyan #define IMX27_CLK_AHB			6
20*e8e3faa0SAlexander Shiyan #define IMX27_CLK_IPG			7
21*e8e3faa0SAlexander Shiyan #define IMX27_CLK_NFC_DIV		8
22*e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER1_DIV		9
23*e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER2_DIV		10
24*e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER3_DIV		11
25*e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER4_DIV		12
26*e8e3faa0SAlexander Shiyan #define IMX27_CLK_VPU_SEL		13
27*e8e3faa0SAlexander Shiyan #define IMX27_CLK_VPU_DIV		14
28*e8e3faa0SAlexander Shiyan #define IMX27_CLK_USB_DIV		15
29*e8e3faa0SAlexander Shiyan #define IMX27_CLK_CPU_SEL		16
30*e8e3faa0SAlexander Shiyan #define IMX27_CLK_CLKO_SEL		17
31*e8e3faa0SAlexander Shiyan #define IMX27_CLK_CPU_DIV		18
32*e8e3faa0SAlexander Shiyan #define IMX27_CLK_CLKO_DIV		19
33*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI1_SEL		20
34*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI2_SEL		21
35*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI1_DIV		22
36*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI2_DIV		23
37*e8e3faa0SAlexander Shiyan #define IMX27_CLK_CLKO_EN		24
38*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI2_IPG_GATE		25
39*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI1_IPG_GATE		26
40*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SLCDC_IPG_GATE	27
41*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SDHC3_IPG_GATE	28
42*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SDHC2_IPG_GATE	29
43*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SDHC1_IPG_GATE	30
44*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SCC_IPG_GATE		31
45*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SAHARA_IPG_GATE	32
46*e8e3faa0SAlexander Shiyan #define IMX27_CLK_RTC_IPG_GATE		33
47*e8e3faa0SAlexander Shiyan #define IMX27_CLK_PWM_IPG_GATE		34
48*e8e3faa0SAlexander Shiyan #define IMX27_CLK_OWIRE_IPG_GATE	35
49*e8e3faa0SAlexander Shiyan #define IMX27_CLK_LCDC_IPG_GATE		36
50*e8e3faa0SAlexander Shiyan #define IMX27_CLK_KPP_IPG_GATE		37
51*e8e3faa0SAlexander Shiyan #define IMX27_CLK_IIM_IPG_GATE		38
52*e8e3faa0SAlexander Shiyan #define IMX27_CLK_I2C2_IPG_GATE		39
53*e8e3faa0SAlexander Shiyan #define IMX27_CLK_I2C1_IPG_GATE		40
54*e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPT6_IPG_GATE		41
55*e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPT5_IPG_GATE		42
56*e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPT4_IPG_GATE		43
57*e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPT3_IPG_GATE		44
58*e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPT2_IPG_GATE		45
59*e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPT1_IPG_GATE		46
60*e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPIO_IPG_GATE		47
61*e8e3faa0SAlexander Shiyan #define IMX27_CLK_FEC_IPG_GATE		48
62*e8e3faa0SAlexander Shiyan #define IMX27_CLK_EMMA_IPG_GATE		49
63*e8e3faa0SAlexander Shiyan #define IMX27_CLK_DMA_IPG_GATE		50
64*e8e3faa0SAlexander Shiyan #define IMX27_CLK_CSPI3_IPG_GATE	51
65*e8e3faa0SAlexander Shiyan #define IMX27_CLK_CSPI2_IPG_GATE	52
66*e8e3faa0SAlexander Shiyan #define IMX27_CLK_CSPI1_IPG_GATE	53
67*e8e3faa0SAlexander Shiyan #define IMX27_CLK_NFC_BAUD_GATE		54
68*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI2_BAUD_GATE	55
69*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI1_BAUD_GATE	56
70*e8e3faa0SAlexander Shiyan #define IMX27_CLK_VPU_BAUD_GATE		57
71*e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER4_GATE		58
72*e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER3_GATE		59
73*e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER2_GATE		60
74*e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER1_GATE		61
75*e8e3faa0SAlexander Shiyan #define IMX27_CLK_USB_AHB_GATE		62
76*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SLCDC_AHB_GATE	63
77*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SAHARA_AHB_GATE	64
78*e8e3faa0SAlexander Shiyan #define IMX27_CLK_LCDC_AHB_GATE		65
79*e8e3faa0SAlexander Shiyan #define IMX27_CLK_VPU_AHB_GATE		66
80*e8e3faa0SAlexander Shiyan #define IMX27_CLK_FEC_AHB_GATE		67
81*e8e3faa0SAlexander Shiyan #define IMX27_CLK_EMMA_AHB_GATE		68
82*e8e3faa0SAlexander Shiyan #define IMX27_CLK_EMI_AHB_GATE		69
83*e8e3faa0SAlexander Shiyan #define IMX27_CLK_DMA_AHB_GATE		70
84*e8e3faa0SAlexander Shiyan #define IMX27_CLK_CSI_AHB_GATE		71
85*e8e3faa0SAlexander Shiyan #define IMX27_CLK_BROM_AHB_GATE		72
86*e8e3faa0SAlexander Shiyan #define IMX27_CLK_ATA_AHB_GATE		73
87*e8e3faa0SAlexander Shiyan #define IMX27_CLK_WDOG_IPG_GATE		74
88*e8e3faa0SAlexander Shiyan #define IMX27_CLK_USB_IPG_GATE		75
89*e8e3faa0SAlexander Shiyan #define IMX27_CLK_UART6_IPG_GATE	76
90*e8e3faa0SAlexander Shiyan #define IMX27_CLK_UART5_IPG_GATE	77
91*e8e3faa0SAlexander Shiyan #define IMX27_CLK_UART4_IPG_GATE	78
92*e8e3faa0SAlexander Shiyan #define IMX27_CLK_UART3_IPG_GATE	79
93*e8e3faa0SAlexander Shiyan #define IMX27_CLK_UART2_IPG_GATE	80
94*e8e3faa0SAlexander Shiyan #define IMX27_CLK_UART1_IPG_GATE	81
95*e8e3faa0SAlexander Shiyan #define IMX27_CLK_CKIH_DIV1P5		82
96*e8e3faa0SAlexander Shiyan #define IMX27_CLK_FPM			83
97*e8e3faa0SAlexander Shiyan #define IMX27_CLK_MPLL_OSC_SEL		84
98*e8e3faa0SAlexander Shiyan #define IMX27_CLK_MPLL_SEL		85
99*e8e3faa0SAlexander Shiyan #define IMX27_CLK_SPLL_GATE		86
100*e8e3faa0SAlexander Shiyan #define IMX27_CLK_MSHC_DIV		87
101*e8e3faa0SAlexander Shiyan #define IMX27_CLK_RTIC_IPG_GATE		88
102*e8e3faa0SAlexander Shiyan #define IMX27_CLK_MSHC_IPG_GATE		89
103*e8e3faa0SAlexander Shiyan #define IMX27_CLK_RTIC_AHB_GATE		90
104*e8e3faa0SAlexander Shiyan #define IMX27_CLK_MSHC_BAUD_GATE	91
105*e8e3faa0SAlexander Shiyan #define IMX27_CLK_MAX			92
106*e8e3faa0SAlexander Shiyan 
107*e8e3faa0SAlexander Shiyan #endif
108