xref: /linux/include/dt-bindings/clock/imx6qdl-clock.h (revision e654df7a1a4843429b5d1d6ee40cac9ecef75304)
1d2d2e54dSShawn Guo /*
2d2d2e54dSShawn Guo  * Copyright 2014 Freescale Semiconductor, Inc.
3d2d2e54dSShawn Guo  *
4d2d2e54dSShawn Guo  * This program is free software; you can redistribute it and/or modify
5d2d2e54dSShawn Guo  * it under the terms of the GNU General Public License version 2 as
6d2d2e54dSShawn Guo  * published by the Free Software Foundation.
7d2d2e54dSShawn Guo  */
8d2d2e54dSShawn Guo 
9d2d2e54dSShawn Guo #ifndef __DT_BINDINGS_CLOCK_IMX6QDL_H
10d2d2e54dSShawn Guo #define __DT_BINDINGS_CLOCK_IMX6QDL_H
11d2d2e54dSShawn Guo 
12d2d2e54dSShawn Guo #define IMX6QDL_CLK_DUMMY			0
13d2d2e54dSShawn Guo #define IMX6QDL_CLK_CKIL			1
14d2d2e54dSShawn Guo #define IMX6QDL_CLK_CKIH			2
15d2d2e54dSShawn Guo #define IMX6QDL_CLK_OSC				3
16d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL2_PFD0_352M		4
17d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL2_PFD1_594M		5
18d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL2_PFD2_396M		6
19d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL3_PFD0_720M		7
20d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL3_PFD1_540M		8
21d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL3_PFD2_508M		9
22d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL3_PFD3_454M		10
23d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL2_198M			11
24d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL3_120M			12
25d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL3_80M			13
26d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL3_60M			14
27d2d2e54dSShawn Guo #define IMX6QDL_CLK_TWD				15
28d2d2e54dSShawn Guo #define IMX6QDL_CLK_STEP			16
29d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL1_SW			17
30d2d2e54dSShawn Guo #define IMX6QDL_CLK_PERIPH_PRE			18
31d2d2e54dSShawn Guo #define IMX6QDL_CLK_PERIPH2_PRE			19
32d2d2e54dSShawn Guo #define IMX6QDL_CLK_PERIPH_CLK2_SEL		20
33d2d2e54dSShawn Guo #define IMX6QDL_CLK_PERIPH2_CLK2_SEL		21
34d2d2e54dSShawn Guo #define IMX6QDL_CLK_AXI_SEL			22
35d2d2e54dSShawn Guo #define IMX6QDL_CLK_ESAI_SEL			23
36d2d2e54dSShawn Guo #define IMX6QDL_CLK_ASRC_SEL			24
37d2d2e54dSShawn Guo #define IMX6QDL_CLK_SPDIF_SEL			25
38d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPU2D_AXI			26
39d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPU3D_AXI			27
40d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPU2D_CORE_SEL		28
41d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPU3D_CORE_SEL		29
42d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPU3D_SHADER_SEL		30
43d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU1_SEL			31
44d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU2_SEL			32
45d2d2e54dSShawn Guo #define IMX6QDL_CLK_LDB_DI0_SEL			33
46d2d2e54dSShawn Guo #define IMX6QDL_CLK_LDB_DI1_SEL			34
47d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU1_DI0_PRE_SEL		35
48d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU1_DI1_PRE_SEL		36
49d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU2_DI0_PRE_SEL		37
50d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU2_DI1_PRE_SEL		38
51d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU1_DI0_SEL		39
52d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU1_DI1_SEL		40
53d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU2_DI0_SEL		41
54d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU2_DI1_SEL		42
55d2d2e54dSShawn Guo #define IMX6QDL_CLK_HSI_TX_SEL			43
56d2d2e54dSShawn Guo #define IMX6QDL_CLK_PCIE_AXI_SEL		44
57d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI1_SEL			45
58d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI2_SEL			46
59d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI3_SEL			47
60d2d2e54dSShawn Guo #define IMX6QDL_CLK_USDHC1_SEL			48
61d2d2e54dSShawn Guo #define IMX6QDL_CLK_USDHC2_SEL			49
62d2d2e54dSShawn Guo #define IMX6QDL_CLK_USDHC3_SEL			50
63d2d2e54dSShawn Guo #define IMX6QDL_CLK_USDHC4_SEL			51
64d2d2e54dSShawn Guo #define IMX6QDL_CLK_ENFC_SEL			52
65a1fc1980SSteve Longerbeam #define IMX6QDL_CLK_EIM_SEL			53
66a1fc1980SSteve Longerbeam #define IMX6QDL_CLK_EIM_SLOW_SEL		54
67d2d2e54dSShawn Guo #define IMX6QDL_CLK_VDO_AXI_SEL			55
68d2d2e54dSShawn Guo #define IMX6QDL_CLK_VPU_AXI_SEL			56
69d2d2e54dSShawn Guo #define IMX6QDL_CLK_CKO1_SEL			57
70d2d2e54dSShawn Guo #define IMX6QDL_CLK_PERIPH			58
71d2d2e54dSShawn Guo #define IMX6QDL_CLK_PERIPH2			59
72d2d2e54dSShawn Guo #define IMX6QDL_CLK_PERIPH_CLK2			60
73d2d2e54dSShawn Guo #define IMX6QDL_CLK_PERIPH2_CLK2		61
74d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPG				62
75d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPG_PER			63
76d2d2e54dSShawn Guo #define IMX6QDL_CLK_ESAI_PRED			64
77d2d2e54dSShawn Guo #define IMX6QDL_CLK_ESAI_PODF			65
78d2d2e54dSShawn Guo #define IMX6QDL_CLK_ASRC_PRED			66
79d2d2e54dSShawn Guo #define IMX6QDL_CLK_ASRC_PODF			67
80d2d2e54dSShawn Guo #define IMX6QDL_CLK_SPDIF_PRED			68
81d2d2e54dSShawn Guo #define IMX6QDL_CLK_SPDIF_PODF			69
82d2d2e54dSShawn Guo #define IMX6QDL_CLK_CAN_ROOT			70
83d2d2e54dSShawn Guo #define IMX6QDL_CLK_ECSPI_ROOT			71
84d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPU2D_CORE_PODF		72
85d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPU3D_CORE_PODF		73
86d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPU3D_SHADER		74
87d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU1_PODF			75
88d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU2_PODF			76
89d2d2e54dSShawn Guo #define IMX6QDL_CLK_LDB_DI0_PODF		77
90d2d2e54dSShawn Guo #define IMX6QDL_CLK_LDB_DI1_PODF		78
91d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU1_DI0_PRE		79
92d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU1_DI1_PRE		80
93d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU2_DI0_PRE		81
94d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU2_DI1_PRE		82
95d2d2e54dSShawn Guo #define IMX6QDL_CLK_HSI_TX_PODF			83
96d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI1_PRED			84
97d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI1_PODF			85
98d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI2_PRED			86
99d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI2_PODF			87
100d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI3_PRED			88
101d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI3_PODF			89
102d2d2e54dSShawn Guo #define IMX6QDL_CLK_UART_SERIAL_PODF		90
103d2d2e54dSShawn Guo #define IMX6QDL_CLK_USDHC1_PODF			91
104d2d2e54dSShawn Guo #define IMX6QDL_CLK_USDHC2_PODF			92
105d2d2e54dSShawn Guo #define IMX6QDL_CLK_USDHC3_PODF			93
106d2d2e54dSShawn Guo #define IMX6QDL_CLK_USDHC4_PODF			94
107d2d2e54dSShawn Guo #define IMX6QDL_CLK_ENFC_PRED			95
108d2d2e54dSShawn Guo #define IMX6QDL_CLK_ENFC_PODF			96
109a1fc1980SSteve Longerbeam #define IMX6QDL_CLK_EIM_PODF			97
110a1fc1980SSteve Longerbeam #define IMX6QDL_CLK_EIM_SLOW_PODF		98
111d2d2e54dSShawn Guo #define IMX6QDL_CLK_VPU_AXI_PODF		99
112d2d2e54dSShawn Guo #define IMX6QDL_CLK_CKO1_PODF			100
113d2d2e54dSShawn Guo #define IMX6QDL_CLK_AXI				101
114d2d2e54dSShawn Guo #define IMX6QDL_CLK_MMDC_CH0_AXI_PODF		102
115d2d2e54dSShawn Guo #define IMX6QDL_CLK_MMDC_CH1_AXI_PODF		103
116d2d2e54dSShawn Guo #define IMX6QDL_CLK_ARM				104
117d2d2e54dSShawn Guo #define IMX6QDL_CLK_AHB				105
118d2d2e54dSShawn Guo #define IMX6QDL_CLK_APBH_DMA			106
119d2d2e54dSShawn Guo #define IMX6QDL_CLK_ASRC			107
120d2d2e54dSShawn Guo #define IMX6QDL_CLK_CAN1_IPG			108
121d2d2e54dSShawn Guo #define IMX6QDL_CLK_CAN1_SERIAL			109
122d2d2e54dSShawn Guo #define IMX6QDL_CLK_CAN2_IPG			110
123d2d2e54dSShawn Guo #define IMX6QDL_CLK_CAN2_SERIAL			111
124d2d2e54dSShawn Guo #define IMX6QDL_CLK_ECSPI1			112
125d2d2e54dSShawn Guo #define IMX6QDL_CLK_ECSPI2			113
126d2d2e54dSShawn Guo #define IMX6QDL_CLK_ECSPI3			114
127d2d2e54dSShawn Guo #define IMX6QDL_CLK_ECSPI4			115
128d2d2e54dSShawn Guo #define IMX6Q_CLK_ECSPI5			116
129d2d2e54dSShawn Guo #define IMX6DL_CLK_I2C4				116
130d2d2e54dSShawn Guo #define IMX6QDL_CLK_ENET			117
1317bce3d23SShengjiu Wang #define IMX6QDL_CLK_ESAI_EXTAL			118
132d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPT_IPG			119
133d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPT_IPG_PER			120
134d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPU2D_CORE			121
135d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPU3D_CORE			122
136d2d2e54dSShawn Guo #define IMX6QDL_CLK_HDMI_IAHB			123
137d2d2e54dSShawn Guo #define IMX6QDL_CLK_HDMI_ISFR			124
138d2d2e54dSShawn Guo #define IMX6QDL_CLK_I2C1			125
139d2d2e54dSShawn Guo #define IMX6QDL_CLK_I2C2			126
140d2d2e54dSShawn Guo #define IMX6QDL_CLK_I2C3			127
141d2d2e54dSShawn Guo #define IMX6QDL_CLK_IIM				128
142d2d2e54dSShawn Guo #define IMX6QDL_CLK_ENFC			129
143d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU1			130
144d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU1_DI0			131
145d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU1_DI1			132
146d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU2			133
147d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU2_DI0			134
148d2d2e54dSShawn Guo #define IMX6QDL_CLK_LDB_DI0			135
149d2d2e54dSShawn Guo #define IMX6QDL_CLK_LDB_DI1			136
150d2d2e54dSShawn Guo #define IMX6QDL_CLK_IPU2_DI1			137
151d2d2e54dSShawn Guo #define IMX6QDL_CLK_HSI_TX			138
152d2d2e54dSShawn Guo #define IMX6QDL_CLK_MLB				139
153d2d2e54dSShawn Guo #define IMX6QDL_CLK_MMDC_CH0_AXI		140
154d2d2e54dSShawn Guo #define IMX6QDL_CLK_MMDC_CH1_AXI		141
155d2d2e54dSShawn Guo #define IMX6QDL_CLK_OCRAM			142
156d2d2e54dSShawn Guo #define IMX6QDL_CLK_OPENVG_AXI			143
157d2d2e54dSShawn Guo #define IMX6QDL_CLK_PCIE_AXI			144
158d2d2e54dSShawn Guo #define IMX6QDL_CLK_PWM1			145
159d2d2e54dSShawn Guo #define IMX6QDL_CLK_PWM2			146
160d2d2e54dSShawn Guo #define IMX6QDL_CLK_PWM3			147
161d2d2e54dSShawn Guo #define IMX6QDL_CLK_PWM4			148
162d2d2e54dSShawn Guo #define IMX6QDL_CLK_PER1_BCH			149
163d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPMI_BCH_APB		150
164d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPMI_BCH			151
165d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPMI_IO			152
166d2d2e54dSShawn Guo #define IMX6QDL_CLK_GPMI_APB			153
167d2d2e54dSShawn Guo #define IMX6QDL_CLK_SATA			154
168d2d2e54dSShawn Guo #define IMX6QDL_CLK_SDMA			155
169d2d2e54dSShawn Guo #define IMX6QDL_CLK_SPBA			156
170d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI1			157
171d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI2			158
172d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI3			159
173d2d2e54dSShawn Guo #define IMX6QDL_CLK_UART_IPG			160
174d2d2e54dSShawn Guo #define IMX6QDL_CLK_UART_SERIAL			161
175d2d2e54dSShawn Guo #define IMX6QDL_CLK_USBOH3			162
176d2d2e54dSShawn Guo #define IMX6QDL_CLK_USDHC1			163
177d2d2e54dSShawn Guo #define IMX6QDL_CLK_USDHC2			164
178d2d2e54dSShawn Guo #define IMX6QDL_CLK_USDHC3			165
179d2d2e54dSShawn Guo #define IMX6QDL_CLK_USDHC4			166
180d2d2e54dSShawn Guo #define IMX6QDL_CLK_VDO_AXI			167
181d2d2e54dSShawn Guo #define IMX6QDL_CLK_VPU_AXI			168
182d2d2e54dSShawn Guo #define IMX6QDL_CLK_CKO1			169
183d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL1_SYS			170
184d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL2_BUS			171
185d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL3_USB_OTG		172
186d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL4_AUDIO			173
187d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL5_VIDEO			174
188d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL8_MLB			175
189d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL7_USB_HOST		176
190d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL6_ENET			177
191d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI1_IPG			178
192d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI2_IPG			179
193d2d2e54dSShawn Guo #define IMX6QDL_CLK_SSI3_IPG			180
194d2d2e54dSShawn Guo #define IMX6QDL_CLK_ROM				181
195d2d2e54dSShawn Guo #define IMX6QDL_CLK_USBPHY1			182
196d2d2e54dSShawn Guo #define IMX6QDL_CLK_USBPHY2			183
197d2d2e54dSShawn Guo #define IMX6QDL_CLK_LDB_DI0_DIV_3_5		184
198d2d2e54dSShawn Guo #define IMX6QDL_CLK_LDB_DI1_DIV_3_5		185
199d2d2e54dSShawn Guo #define IMX6QDL_CLK_SATA_REF			186
200d2d2e54dSShawn Guo #define IMX6QDL_CLK_SATA_REF_100M		187
201d2d2e54dSShawn Guo #define IMX6QDL_CLK_PCIE_REF			188
202d2d2e54dSShawn Guo #define IMX6QDL_CLK_PCIE_REF_125M		189
203d2d2e54dSShawn Guo #define IMX6QDL_CLK_ENET_REF			190
204d2d2e54dSShawn Guo #define IMX6QDL_CLK_USBPHY1_GATE		191
205d2d2e54dSShawn Guo #define IMX6QDL_CLK_USBPHY2_GATE		192
206d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL4_POST_DIV		193
207d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL5_POST_DIV		194
208d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL5_VIDEO_DIV		195
209d2d2e54dSShawn Guo #define IMX6QDL_CLK_EIM_SLOW			196
210d2d2e54dSShawn Guo #define IMX6QDL_CLK_SPDIF			197
211d2d2e54dSShawn Guo #define IMX6QDL_CLK_CKO2_SEL			198
212d2d2e54dSShawn Guo #define IMX6QDL_CLK_CKO2_PODF			199
213d2d2e54dSShawn Guo #define IMX6QDL_CLK_CKO2			200
214d2d2e54dSShawn Guo #define IMX6QDL_CLK_CKO				201
215d2d2e54dSShawn Guo #define IMX6QDL_CLK_VDOA			202
216d2d2e54dSShawn Guo #define IMX6QDL_CLK_PLL4_AUDIO_DIV		203
217d2d2e54dSShawn Guo #define IMX6QDL_CLK_LVDS1_SEL			204
218d2d2e54dSShawn Guo #define IMX6QDL_CLK_LVDS2_SEL			205
219d2d2e54dSShawn Guo #define IMX6QDL_CLK_LVDS1_GATE			206
220d2d2e54dSShawn Guo #define IMX6QDL_CLK_LVDS2_GATE			207
2217bce3d23SShengjiu Wang #define IMX6QDL_CLK_ESAI_IPG			208
2227bce3d23SShengjiu Wang #define IMX6QDL_CLK_ESAI_MEM			209
223aec247d4SShengjiu Wang #define IMX6QDL_CLK_ASRC_IPG			210
224aec247d4SShengjiu Wang #define IMX6QDL_CLK_ASRC_MEM			211
225b1f156dbSShawn Guo #define IMX6QDL_CLK_LVDS1_IN			212
226b1f156dbSShawn Guo #define IMX6QDL_CLK_LVDS2_IN			213
227b1f156dbSShawn Guo #define IMX6QDL_CLK_ANACLK1			214
228b1f156dbSShawn Guo #define IMX6QDL_CLK_ANACLK2			215
229b1f156dbSShawn Guo #define IMX6QDL_PLL1_BYPASS_SRC			216
230b1f156dbSShawn Guo #define IMX6QDL_PLL2_BYPASS_SRC			217
231b1f156dbSShawn Guo #define IMX6QDL_PLL3_BYPASS_SRC			218
232b1f156dbSShawn Guo #define IMX6QDL_PLL4_BYPASS_SRC			219
233b1f156dbSShawn Guo #define IMX6QDL_PLL5_BYPASS_SRC			220
234b1f156dbSShawn Guo #define IMX6QDL_PLL6_BYPASS_SRC			221
235b1f156dbSShawn Guo #define IMX6QDL_PLL7_BYPASS_SRC			222
236b1f156dbSShawn Guo #define IMX6QDL_CLK_PLL1			223
237b1f156dbSShawn Guo #define IMX6QDL_CLK_PLL2			224
238b1f156dbSShawn Guo #define IMX6QDL_CLK_PLL3			225
239b1f156dbSShawn Guo #define IMX6QDL_CLK_PLL4			226
240b1f156dbSShawn Guo #define IMX6QDL_CLK_PLL5			227
241b1f156dbSShawn Guo #define IMX6QDL_CLK_PLL6			228
242b1f156dbSShawn Guo #define IMX6QDL_CLK_PLL7			229
243b1f156dbSShawn Guo #define IMX6QDL_PLL1_BYPASS			230
244b1f156dbSShawn Guo #define IMX6QDL_PLL2_BYPASS			231
245b1f156dbSShawn Guo #define IMX6QDL_PLL3_BYPASS			232
246b1f156dbSShawn Guo #define IMX6QDL_PLL4_BYPASS			233
247b1f156dbSShawn Guo #define IMX6QDL_PLL5_BYPASS			234
248b1f156dbSShawn Guo #define IMX6QDL_PLL6_BYPASS			235
249b1f156dbSShawn Guo #define IMX6QDL_PLL7_BYPASS			236
2506f11c69dSAnson Huang #define IMX6QDL_CLK_GPT_3M			237
2518f21d8d4SLiu Ying #define IMX6QDL_CLK_VIDEO_27M			238
2525ccc248cSLiu Ying #define IMX6QDL_CLK_MIPI_CORE_CFG		239
253*e654df7aSLiu Ying #define IMX6QDL_CLK_MIPI_IPG			240
254*e654df7aSLiu Ying #define IMX6QDL_CLK_END				241
255d2d2e54dSShawn Guo 
256d2d2e54dSShawn Guo #endif /* __DT_BINDINGS_CLOCK_IMX6QDL_H */
257