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