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