xref: /linux/include/dt-bindings/clock/exynos5260-clk.h (revision 5a989cf6a05a93a360f38f8a6900ce4dd1e4b6c4)
1*5a989cf6SRahul Sharma /*
2*5a989cf6SRahul Sharma  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
3*5a989cf6SRahul Sharma  * Author: Rahul Sharma <rahul.sharma@samsung.com>
4*5a989cf6SRahul Sharma  *
5*5a989cf6SRahul Sharma  * This program is free software; you can redistribute it and/or modify
6*5a989cf6SRahul Sharma  * it under the terms of the GNU General Public License version 2 as
7*5a989cf6SRahul Sharma  * published by the Free Software Foundation.
8*5a989cf6SRahul Sharma  *
9*5a989cf6SRahul Sharma  * Provides Constants for Exynos5260 clocks.
10*5a989cf6SRahul Sharma */
11*5a989cf6SRahul Sharma 
12*5a989cf6SRahul Sharma #ifndef _DT_BINDINGS_CLK_EXYNOS5260_H
13*5a989cf6SRahul Sharma #define _DT_BINDINGS_CLK_EXYNOS5260_H
14*5a989cf6SRahul Sharma 
15*5a989cf6SRahul Sharma /* Clock names: <cmu><type><IP> */
16*5a989cf6SRahul Sharma 
17*5a989cf6SRahul Sharma /* List Of Clocks For CMU_TOP */
18*5a989cf6SRahul Sharma 
19*5a989cf6SRahul Sharma #define TOP_FOUT_DISP_PLL				1
20*5a989cf6SRahul Sharma #define TOP_FOUT_AUD_PLL				2
21*5a989cf6SRahul Sharma #define TOP_MOUT_AUDTOP_PLL_USER			3
22*5a989cf6SRahul Sharma #define TOP_MOUT_AUD_PLL				4
23*5a989cf6SRahul Sharma #define TOP_MOUT_DISP_PLL				5
24*5a989cf6SRahul Sharma #define TOP_MOUT_BUSTOP_PLL_USER			6
25*5a989cf6SRahul Sharma #define TOP_MOUT_MEMTOP_PLL_USER			7
26*5a989cf6SRahul Sharma #define TOP_MOUT_MEDIATOP_PLL_USER			8
27*5a989cf6SRahul Sharma #define TOP_MOUT_DISP_DISP_333				9
28*5a989cf6SRahul Sharma #define TOP_MOUT_ACLK_DISP_333				10
29*5a989cf6SRahul Sharma #define TOP_MOUT_DISP_DISP_222				11
30*5a989cf6SRahul Sharma #define TOP_MOUT_ACLK_DISP_222				12
31*5a989cf6SRahul Sharma #define TOP_MOUT_DISP_MEDIA_PIXEL			13
32*5a989cf6SRahul Sharma #define TOP_MOUT_FIMD1					14
33*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_PERI_SPI0_CLK			15
34*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_PERI_SPI1_CLK			16
35*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_PERI_SPI2_CLK			17
36*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_PERI_UART0_UCLK			18
37*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_PERI_UART2_UCLK			19
38*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_PERI_UART1_UCLK			20
39*5a989cf6SRahul Sharma #define TOP_MOUT_BUS4_BUSTOP_100			21
40*5a989cf6SRahul Sharma #define TOP_MOUT_BUS4_BUSTOP_400			22
41*5a989cf6SRahul Sharma #define TOP_MOUT_BUS3_BUSTOP_100			23
42*5a989cf6SRahul Sharma #define TOP_MOUT_BUS3_BUSTOP_400			24
43*5a989cf6SRahul Sharma #define TOP_MOUT_BUS2_BUSTOP_400			25
44*5a989cf6SRahul Sharma #define TOP_MOUT_BUS2_BUSTOP_100			26
45*5a989cf6SRahul Sharma #define TOP_MOUT_BUS1_BUSTOP_100			27
46*5a989cf6SRahul Sharma #define TOP_MOUT_BUS1_BUSTOP_400			28
47*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_FSYS_USB				29
48*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_FSYS_MMC0_SDCLKIN_A		30
49*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_FSYS_MMC1_SDCLKIN_A		31
50*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_FSYS_MMC2_SDCLKIN_A		32
51*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_FSYS_MMC0_SDCLKIN_B		33
52*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_FSYS_MMC1_SDCLKIN_B		34
53*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_FSYS_MMC2_SDCLKIN_B		35
54*5a989cf6SRahul Sharma #define TOP_MOUT_ACLK_ISP1_266				36
55*5a989cf6SRahul Sharma #define TOP_MOUT_ISP1_MEDIA_266				37
56*5a989cf6SRahul Sharma #define TOP_MOUT_ACLK_ISP1_400				38
57*5a989cf6SRahul Sharma #define TOP_MOUT_ISP1_MEDIA_400				39
58*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_ISP1_SPI0				40
59*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_ISP1_SPI1				41
60*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_ISP1_UART				42
61*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_ISP1_SENSOR2			43
62*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_ISP1_SENSOR1			44
63*5a989cf6SRahul Sharma #define TOP_MOUT_SCLK_ISP1_SENSOR0			45
64*5a989cf6SRahul Sharma #define TOP_MOUT_ACLK_MFC_333				46
65*5a989cf6SRahul Sharma #define TOP_MOUT_MFC_BUSTOP_333				47
66*5a989cf6SRahul Sharma #define TOP_MOUT_ACLK_G2D_333				48
67*5a989cf6SRahul Sharma #define TOP_MOUT_G2D_BUSTOP_333				49
68*5a989cf6SRahul Sharma #define TOP_MOUT_ACLK_GSCL_FIMC				50
69*5a989cf6SRahul Sharma #define TOP_MOUT_GSCL_BUSTOP_FIMC			51
70*5a989cf6SRahul Sharma #define TOP_MOUT_ACLK_GSCL_333				52
71*5a989cf6SRahul Sharma #define TOP_MOUT_GSCL_BUSTOP_333			53
72*5a989cf6SRahul Sharma #define TOP_MOUT_ACLK_GSCL_400				54
73*5a989cf6SRahul Sharma #define TOP_MOUT_M2M_MEDIATOP_400			55
74*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_MFC_333				56
75*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_G2D_333				57
76*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_ISP1_SENSOR2_A			58
77*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_ISP1_SENSOR1_A			59
78*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_ISP1_SENSOR0_A			60
79*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_GSCL_FIMC				61
80*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_GSCL_400				62
81*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_GSCL_333				63
82*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_ISP1_SPI0_B			64
83*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_ISP1_SPI0_A			65
84*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_ISP1_400				66
85*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_ISP1_266				67
86*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_ISP1_UART				68
87*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_ISP1_SPI1_B			69
88*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_ISP1_SPI1_A			70
89*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_ISP1_SENSOR2_B			71
90*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_ISP1_SENSOR1_B			72
91*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_ISP1_SENSOR0_B			73
92*5a989cf6SRahul Sharma #define TOP_DOUTTOP__SCLK_HPM_TARGETCLK			74
93*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_DISP_PIXEL			75
94*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_DISP_222				76
95*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_DISP_333				77
96*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_BUS4_100				78
97*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_BUS4_400				79
98*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_BUS3_100				80
99*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_BUS3_400				81
100*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_BUS2_100				82
101*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_BUS2_400				83
102*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_BUS1_100				84
103*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_BUS1_400				85
104*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_PERI_SPI1_B			86
105*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_PERI_SPI1_A			87
106*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_PERI_SPI0_B			88
107*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_PERI_SPI0_A			89
108*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_PERI_UART0			90
109*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_PERI_UART2			91
110*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_PERI_UART1			92
111*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_PERI_SPI2_B			93
112*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_PERI_SPI2_A			94
113*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_PERI_AUD				95
114*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_PERI_66				96
115*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_FSYS_MMC0_SDCLKIN_B		97
116*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_FSYS_MMC0_SDCLKIN_A		98
117*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_FSYS_USBDRD30_SUSPEND_CLK		99
118*5a989cf6SRahul Sharma #define TOP_DOUT_ACLK_FSYS_200				100
119*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_FSYS_MMC2_SDCLKIN_B		101
120*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_FSYS_MMC2_SDCLKIN_A		102
121*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_FSYS_MMC1_SDCLKIN_B		103
122*5a989cf6SRahul Sharma #define TOP_DOUT_SCLK_FSYS_MMC1_SDCLKIN_A		104
123*5a989cf6SRahul Sharma #define TOP_SCLK_FIMD1					105
124*5a989cf6SRahul Sharma #define TOP_SCLK_MMC2					106
125*5a989cf6SRahul Sharma #define TOP_SCLK_MMC1					107
126*5a989cf6SRahul Sharma #define TOP_SCLK_MMC0					108
127*5a989cf6SRahul Sharma #define PHYCLK_DPTX_PHY_CH3_TXD_CLK			109
128*5a989cf6SRahul Sharma #define PHYCLK_DPTX_PHY_CH2_TXD_CLK			110
129*5a989cf6SRahul Sharma #define PHYCLK_DPTX_PHY_CH1_TXD_CLK			111
130*5a989cf6SRahul Sharma #define PHYCLK_DPTX_PHY_CH0_TXD_CLK			112
131*5a989cf6SRahul Sharma #define phyclk_hdmi_phy_tmds_clko			113
132*5a989cf6SRahul Sharma #define PHYCLK_HDMI_PHY_PIXEL_CLKO			114
133*5a989cf6SRahul Sharma #define PHYCLK_HDMI_LINK_O_TMDS_CLKHI			115
134*5a989cf6SRahul Sharma #define PHYCLK_MIPI_DPHY_4L_M_TXBYTECLKHS		116
135*5a989cf6SRahul Sharma #define PHYCLK_DPTX_PHY_O_REF_CLK_24M			117
136*5a989cf6SRahul Sharma #define PHYCLK_DPTX_PHY_CLK_DIV2			118
137*5a989cf6SRahul Sharma #define PHYCLK_MIPI_DPHY_4L_M_RXCLKESC0			119
138*5a989cf6SRahul Sharma #define PHYCLK_USBHOST20_PHY_PHYCLOCK			120
139*5a989cf6SRahul Sharma #define PHYCLK_USBHOST20_PHY_FREECLK			121
140*5a989cf6SRahul Sharma #define PHYCLK_USBHOST20_PHY_CLK48MOHCI			122
141*5a989cf6SRahul Sharma #define PHYCLK_USBDRD30_UDRD30_PIPE_PCLK		123
142*5a989cf6SRahul Sharma #define PHYCLK_USBDRD30_UDRD30_PHYCLOCK			124
143*5a989cf6SRahul Sharma #define TOP_NR_CLK					125
144*5a989cf6SRahul Sharma 
145*5a989cf6SRahul Sharma 
146*5a989cf6SRahul Sharma /* List Of Clocks For CMU_EGL */
147*5a989cf6SRahul Sharma 
148*5a989cf6SRahul Sharma #define EGL_FOUT_EGL_PLL				1
149*5a989cf6SRahul Sharma #define EGL_FOUT_EGL_DPLL				2
150*5a989cf6SRahul Sharma #define EGL_MOUT_EGL_B					3
151*5a989cf6SRahul Sharma #define EGL_MOUT_EGL_PLL				4
152*5a989cf6SRahul Sharma #define EGL_DOUT_EGL_PLL				5
153*5a989cf6SRahul Sharma #define EGL_DOUT_EGL_PCLK_DBG				6
154*5a989cf6SRahul Sharma #define EGL_DOUT_EGL_ATCLK				7
155*5a989cf6SRahul Sharma #define EGL_DOUT_PCLK_EGL				8
156*5a989cf6SRahul Sharma #define EGL_DOUT_ACLK_EGL				9
157*5a989cf6SRahul Sharma #define EGL_DOUT_EGL2					10
158*5a989cf6SRahul Sharma #define EGL_DOUT_EGL1					11
159*5a989cf6SRahul Sharma #define EGL_NR_CLK					12
160*5a989cf6SRahul Sharma 
161*5a989cf6SRahul Sharma 
162*5a989cf6SRahul Sharma /* List Of Clocks For CMU_KFC */
163*5a989cf6SRahul Sharma 
164*5a989cf6SRahul Sharma #define KFC_FOUT_KFC_PLL				1
165*5a989cf6SRahul Sharma #define KFC_MOUT_KFC_PLL				2
166*5a989cf6SRahul Sharma #define KFC_MOUT_KFC					3
167*5a989cf6SRahul Sharma #define KFC_DOUT_KFC_PLL				4
168*5a989cf6SRahul Sharma #define KFC_DOUT_PCLK_KFC				5
169*5a989cf6SRahul Sharma #define KFC_DOUT_ACLK_KFC				6
170*5a989cf6SRahul Sharma #define KFC_DOUT_KFC_PCLK_DBG				7
171*5a989cf6SRahul Sharma #define KFC_DOUT_KFC_ATCLK				8
172*5a989cf6SRahul Sharma #define KFC_DOUT_KFC2					9
173*5a989cf6SRahul Sharma #define KFC_DOUT_KFC1					10
174*5a989cf6SRahul Sharma #define KFC_NR_CLK					11
175*5a989cf6SRahul Sharma 
176*5a989cf6SRahul Sharma 
177*5a989cf6SRahul Sharma /* List Of Clocks For CMU_MIF */
178*5a989cf6SRahul Sharma 
179*5a989cf6SRahul Sharma #define MIF_FOUT_MEM_PLL				1
180*5a989cf6SRahul Sharma #define MIF_FOUT_MEDIA_PLL				2
181*5a989cf6SRahul Sharma #define MIF_FOUT_BUS_PLL				3
182*5a989cf6SRahul Sharma #define MIF_MOUT_CLK2X_PHY				4
183*5a989cf6SRahul Sharma #define MIF_MOUT_MIF_DREX2X				5
184*5a989cf6SRahul Sharma #define MIF_MOUT_CLKM_PHY				6
185*5a989cf6SRahul Sharma #define MIF_MOUT_MIF_DREX				7
186*5a989cf6SRahul Sharma #define MIF_MOUT_MEDIA_PLL				8
187*5a989cf6SRahul Sharma #define MIF_MOUT_BUS_PLL				9
188*5a989cf6SRahul Sharma #define MIF_MOUT_MEM_PLL				10
189*5a989cf6SRahul Sharma #define MIF_DOUT_ACLK_BUS_100				11
190*5a989cf6SRahul Sharma #define MIF_DOUT_ACLK_BUS_200				12
191*5a989cf6SRahul Sharma #define MIF_DOUT_ACLK_MIF_466				13
192*5a989cf6SRahul Sharma #define MIF_DOUT_CLK2X_PHY				14
193*5a989cf6SRahul Sharma #define MIF_DOUT_CLKM_PHY				15
194*5a989cf6SRahul Sharma #define MIF_DOUT_BUS_PLL				16
195*5a989cf6SRahul Sharma #define MIF_DOUT_MEM_PLL				17
196*5a989cf6SRahul Sharma #define MIF_DOUT_MEDIA_PLL				18
197*5a989cf6SRahul Sharma #define MIF_CLK_LPDDR3PHY_WRAP1				19
198*5a989cf6SRahul Sharma #define MIF_CLK_LPDDR3PHY_WRAP0				20
199*5a989cf6SRahul Sharma #define MIF_CLK_MONOCNT					21
200*5a989cf6SRahul Sharma #define MIF_CLK_MIF_RTC					22
201*5a989cf6SRahul Sharma #define MIF_CLK_DREX1					23
202*5a989cf6SRahul Sharma #define MIF_CLK_DREX0					24
203*5a989cf6SRahul Sharma #define MIF_CLK_INTMEM					25
204*5a989cf6SRahul Sharma #define MIF_SCLK_LPDDR3PHY_WRAP_U1			26
205*5a989cf6SRahul Sharma #define MIF_SCLK_LPDDR3PHY_WRAP_U0			27
206*5a989cf6SRahul Sharma #define MIF_NR_CLK					28
207*5a989cf6SRahul Sharma 
208*5a989cf6SRahul Sharma 
209*5a989cf6SRahul Sharma /* List Of Clocks For CMU_G3D */
210*5a989cf6SRahul Sharma 
211*5a989cf6SRahul Sharma #define G3D_FOUT_G3D_PLL				1
212*5a989cf6SRahul Sharma #define G3D_MOUT_G3D_PLL				2
213*5a989cf6SRahul Sharma #define G3D_DOUT_PCLK_G3D				3
214*5a989cf6SRahul Sharma #define G3D_DOUT_ACLK_G3D				4
215*5a989cf6SRahul Sharma #define G3D_CLK_G3D_HPM					5
216*5a989cf6SRahul Sharma #define G3D_CLK_G3D					6
217*5a989cf6SRahul Sharma #define G3D_NR_CLK					7
218*5a989cf6SRahul Sharma 
219*5a989cf6SRahul Sharma 
220*5a989cf6SRahul Sharma /* List Of Clocks For CMU_AUD */
221*5a989cf6SRahul Sharma 
222*5a989cf6SRahul Sharma #define AUD_MOUT_SCLK_AUD_PCM				1
223*5a989cf6SRahul Sharma #define AUD_MOUT_SCLK_AUD_I2S				2
224*5a989cf6SRahul Sharma #define AUD_MOUT_AUD_PLL_USER				3
225*5a989cf6SRahul Sharma #define AUD_DOUT_ACLK_AUD_131				4
226*5a989cf6SRahul Sharma #define AUD_DOUT_SCLK_AUD_UART				5
227*5a989cf6SRahul Sharma #define AUD_DOUT_SCLK_AUD_PCM				6
228*5a989cf6SRahul Sharma #define AUD_DOUT_SCLK_AUD_I2S				7
229*5a989cf6SRahul Sharma #define AUD_CLK_AUD_UART				8
230*5a989cf6SRahul Sharma #define AUD_CLK_PCM					9
231*5a989cf6SRahul Sharma #define AUD_CLK_I2S					10
232*5a989cf6SRahul Sharma #define AUD_CLK_DMAC					11
233*5a989cf6SRahul Sharma #define AUD_CLK_SRAMC					12
234*5a989cf6SRahul Sharma #define AUD_SCLK_AUD_UART				13
235*5a989cf6SRahul Sharma #define AUD_SCLK_PCM					14
236*5a989cf6SRahul Sharma #define AUD_SCLK_I2S					15
237*5a989cf6SRahul Sharma #define AUD_NR_CLK					16
238*5a989cf6SRahul Sharma 
239*5a989cf6SRahul Sharma 
240*5a989cf6SRahul Sharma /* List Of Clocks For CMU_MFC */
241*5a989cf6SRahul Sharma 
242*5a989cf6SRahul Sharma #define MFC_MOUT_ACLK_MFC_333_USER			1
243*5a989cf6SRahul Sharma #define MFC_DOUT_PCLK_MFC_83				2
244*5a989cf6SRahul Sharma #define MFC_CLK_MFC					3
245*5a989cf6SRahul Sharma #define MFC_CLK_SMMU2_MFCM1				4
246*5a989cf6SRahul Sharma #define MFC_CLK_SMMU2_MFCM0				5
247*5a989cf6SRahul Sharma #define MFC_NR_CLK					6
248*5a989cf6SRahul Sharma 
249*5a989cf6SRahul Sharma 
250*5a989cf6SRahul Sharma /* List Of Clocks For CMU_GSCL */
251*5a989cf6SRahul Sharma 
252*5a989cf6SRahul Sharma #define GSCL_MOUT_ACLK_CSIS				1
253*5a989cf6SRahul Sharma #define GSCL_MOUT_ACLK_GSCL_FIMC_USER			2
254*5a989cf6SRahul Sharma #define GSCL_MOUT_ACLK_M2M_400_USER			3
255*5a989cf6SRahul Sharma #define GSCL_MOUT_ACLK_GSCL_333_USER			4
256*5a989cf6SRahul Sharma #define GSCL_DOUT_ACLK_CSIS_200				5
257*5a989cf6SRahul Sharma #define GSCL_DOUT_PCLK_M2M_100				6
258*5a989cf6SRahul Sharma #define GSCL_CLK_PIXEL_GSCL1				7
259*5a989cf6SRahul Sharma #define GSCL_CLK_PIXEL_GSCL0				8
260*5a989cf6SRahul Sharma #define GSCL_CLK_MSCL1					9
261*5a989cf6SRahul Sharma #define GSCL_CLK_MSCL0					10
262*5a989cf6SRahul Sharma #define GSCL_CLK_GSCL1					11
263*5a989cf6SRahul Sharma #define GSCL_CLK_GSCL0					12
264*5a989cf6SRahul Sharma #define GSCL_CLK_FIMC_LITE_D				13
265*5a989cf6SRahul Sharma #define GSCL_CLK_FIMC_LITE_B				14
266*5a989cf6SRahul Sharma #define GSCL_CLK_FIMC_LITE_A				15
267*5a989cf6SRahul Sharma #define GSCL_CLK_CSIS1					16
268*5a989cf6SRahul Sharma #define GSCL_CLK_CSIS0					17
269*5a989cf6SRahul Sharma #define GSCL_CLK_SMMU3_LITE_D				18
270*5a989cf6SRahul Sharma #define GSCL_CLK_SMMU3_LITE_B				19
271*5a989cf6SRahul Sharma #define GSCL_CLK_SMMU3_LITE_A				20
272*5a989cf6SRahul Sharma #define GSCL_CLK_SMMU3_GSCL0				21
273*5a989cf6SRahul Sharma #define GSCL_CLK_SMMU3_GSCL1				22
274*5a989cf6SRahul Sharma #define GSCL_CLK_SMMU3_MSCL0				23
275*5a989cf6SRahul Sharma #define GSCL_CLK_SMMU3_MSCL1				24
276*5a989cf6SRahul Sharma #define GSCL_SCLK_CSIS1_WRAP				25
277*5a989cf6SRahul Sharma #define GSCL_SCLK_CSIS0_WRAP				26
278*5a989cf6SRahul Sharma #define GSCL_NR_CLK					27
279*5a989cf6SRahul Sharma 
280*5a989cf6SRahul Sharma 
281*5a989cf6SRahul Sharma /* List Of Clocks For CMU_FSYS */
282*5a989cf6SRahul Sharma 
283*5a989cf6SRahul Sharma #define FSYS_MOUT_PHYCLK_USBHOST20_PHYCLK_USER		1
284*5a989cf6SRahul Sharma #define FSYS_MOUT_PHYCLK_USBHOST20_FREECLK_USER		2
285*5a989cf6SRahul Sharma #define FSYS_MOUT_PHYCLK_USBHOST20_CLK48MOHCI_USER	3
286*5a989cf6SRahul Sharma #define FSYS_MOUT_PHYCLK_USBDRD30_PIPE_PCLK_USER	4
287*5a989cf6SRahul Sharma #define FSYS_MOUT_PHYCLK_USBDRD30_PHYCLOCK_USER		5
288*5a989cf6SRahul Sharma #define FSYS_CLK_TSI					6
289*5a989cf6SRahul Sharma #define FSYS_CLK_USBLINK				7
290*5a989cf6SRahul Sharma #define FSYS_CLK_USBHOST20				8
291*5a989cf6SRahul Sharma #define FSYS_CLK_USBDRD30				9
292*5a989cf6SRahul Sharma #define FSYS_CLK_SROMC					10
293*5a989cf6SRahul Sharma #define FSYS_CLK_PDMA					11
294*5a989cf6SRahul Sharma #define FSYS_CLK_MMC2					12
295*5a989cf6SRahul Sharma #define FSYS_CLK_MMC1					13
296*5a989cf6SRahul Sharma #define FSYS_CLK_MMC0					14
297*5a989cf6SRahul Sharma #define FSYS_CLK_RTIC					15
298*5a989cf6SRahul Sharma #define FSYS_CLK_SMMU_RTIC				16
299*5a989cf6SRahul Sharma #define FSYS_PHYCLK_USBDRD30				17
300*5a989cf6SRahul Sharma #define FSYS_PHYCLK_USBHOST20				18
301*5a989cf6SRahul Sharma #define FSYS_NR_CLK					19
302*5a989cf6SRahul Sharma 
303*5a989cf6SRahul Sharma 
304*5a989cf6SRahul Sharma /* List Of Clocks For CMU_PERI */
305*5a989cf6SRahul Sharma 
306*5a989cf6SRahul Sharma #define PERI_MOUT_SCLK_SPDIF				1
307*5a989cf6SRahul Sharma #define PERI_MOUT_SCLK_I2SCOD				2
308*5a989cf6SRahul Sharma #define PERI_MOUT_SCLK_PCM				3
309*5a989cf6SRahul Sharma #define PERI_DOUT_I2S					4
310*5a989cf6SRahul Sharma #define PERI_DOUT_PCM					5
311*5a989cf6SRahul Sharma #define PERI_CLK_WDT_KFC				6
312*5a989cf6SRahul Sharma #define PERI_CLK_WDT_EGL				7
313*5a989cf6SRahul Sharma #define PERI_CLK_HSIC3					8
314*5a989cf6SRahul Sharma #define PERI_CLK_HSIC2					9
315*5a989cf6SRahul Sharma #define PERI_CLK_HSIC1					10
316*5a989cf6SRahul Sharma #define PERI_CLK_HSIC0					11
317*5a989cf6SRahul Sharma #define PERI_CLK_PCM					12
318*5a989cf6SRahul Sharma #define PERI_CLK_MCT					13
319*5a989cf6SRahul Sharma #define PERI_CLK_I2S					14
320*5a989cf6SRahul Sharma #define PERI_CLK_I2CHDMI				15
321*5a989cf6SRahul Sharma #define PERI_CLK_I2C7					16
322*5a989cf6SRahul Sharma #define PERI_CLK_I2C6					17
323*5a989cf6SRahul Sharma #define PERI_CLK_I2C5					18
324*5a989cf6SRahul Sharma #define PERI_CLK_I2C4					19
325*5a989cf6SRahul Sharma #define PERI_CLK_I2C9					20
326*5a989cf6SRahul Sharma #define PERI_CLK_I2C8					21
327*5a989cf6SRahul Sharma #define PERI_CLK_I2C11					22
328*5a989cf6SRahul Sharma #define PERI_CLK_I2C10					23
329*5a989cf6SRahul Sharma #define PERI_CLK_HDMICEC				24
330*5a989cf6SRahul Sharma #define PERI_CLK_EFUSE_WRITER				25
331*5a989cf6SRahul Sharma #define PERI_CLK_ABB					26
332*5a989cf6SRahul Sharma #define PERI_CLK_UART2					27
333*5a989cf6SRahul Sharma #define PERI_CLK_UART1					28
334*5a989cf6SRahul Sharma #define PERI_CLK_UART0					29
335*5a989cf6SRahul Sharma #define PERI_CLK_ADC					30
336*5a989cf6SRahul Sharma #define PERI_CLK_TMU4					31
337*5a989cf6SRahul Sharma #define PERI_CLK_TMU3					32
338*5a989cf6SRahul Sharma #define PERI_CLK_TMU2					33
339*5a989cf6SRahul Sharma #define PERI_CLK_TMU1					34
340*5a989cf6SRahul Sharma #define PERI_CLK_TMU0					35
341*5a989cf6SRahul Sharma #define PERI_CLK_SPI2					36
342*5a989cf6SRahul Sharma #define PERI_CLK_SPI1					37
343*5a989cf6SRahul Sharma #define PERI_CLK_SPI0					38
344*5a989cf6SRahul Sharma #define PERI_CLK_SPDIF					39
345*5a989cf6SRahul Sharma #define PERI_CLK_PWM					40
346*5a989cf6SRahul Sharma #define PERI_CLK_UART4					41
347*5a989cf6SRahul Sharma #define PERI_CLK_CHIPID					42
348*5a989cf6SRahul Sharma #define PERI_CLK_PROVKEY0				43
349*5a989cf6SRahul Sharma #define PERI_CLK_PROVKEY1				44
350*5a989cf6SRahul Sharma #define PERI_CLK_SECKEY					45
351*5a989cf6SRahul Sharma #define PERI_CLK_TOP_RTC				46
352*5a989cf6SRahul Sharma #define PERI_CLK_TZPC10					47
353*5a989cf6SRahul Sharma #define PERI_CLK_TZPC9					48
354*5a989cf6SRahul Sharma #define PERI_CLK_TZPC8					49
355*5a989cf6SRahul Sharma #define PERI_CLK_TZPC7					50
356*5a989cf6SRahul Sharma #define PERI_CLK_TZPC6					51
357*5a989cf6SRahul Sharma #define PERI_CLK_TZPC5					52
358*5a989cf6SRahul Sharma #define PERI_CLK_TZPC4					53
359*5a989cf6SRahul Sharma #define PERI_CLK_TZPC3					54
360*5a989cf6SRahul Sharma #define PERI_CLK_TZPC2					55
361*5a989cf6SRahul Sharma #define PERI_CLK_TZPC1					56
362*5a989cf6SRahul Sharma #define PERI_CLK_TZPC0					57
363*5a989cf6SRahul Sharma #define PERI_SCLK_UART2					58
364*5a989cf6SRahul Sharma #define PERI_SCLK_UART1					59
365*5a989cf6SRahul Sharma #define PERI_SCLK_UART0					60
366*5a989cf6SRahul Sharma #define PERI_SCLK_SPI2					61
367*5a989cf6SRahul Sharma #define PERI_SCLK_SPI1					62
368*5a989cf6SRahul Sharma #define PERI_SCLK_SPI0					63
369*5a989cf6SRahul Sharma #define PERI_SCLK_SPDIF					64
370*5a989cf6SRahul Sharma #define PERI_SCLK_I2S					65
371*5a989cf6SRahul Sharma #define PERI_SCLK_PCM1					66
372*5a989cf6SRahul Sharma #define PERI_NR_CLK					67
373*5a989cf6SRahul Sharma 
374*5a989cf6SRahul Sharma 
375*5a989cf6SRahul Sharma /* List Of Clocks For CMU_DISP */
376*5a989cf6SRahul Sharma 
377*5a989cf6SRahul Sharma #define DISP_MOUT_SCLK_HDMI_SPDIF			1
378*5a989cf6SRahul Sharma #define DISP_MOUT_SCLK_HDMI_PIXEL			2
379*5a989cf6SRahul Sharma #define DISP_MOUT_PHYCLK_MIPI_DPHY_4LMRXCLK_ESC0_USER	3
380*5a989cf6SRahul Sharma #define DISP_MOUT_PHYCLK_HDMI_PHY_TMDS_CLKO_USER	4
381*5a989cf6SRahul Sharma #define DISP_MOUT_PHYCLK_HDMI_PHY_REF_CLKO_USER		5
382*5a989cf6SRahul Sharma #define DISP_MOUT_HDMI_PHY_PIXEL			6
383*5a989cf6SRahul Sharma #define DISP_MOUT_PHYCLK_HDMI_LINK_O_TMDS_CLKHI_USER	7
384*5a989cf6SRahul Sharma #define DISP_MOUT_PHYCLK_MIPI_DPHY_4L_M_TXBYTE_CLKHS	8
385*5a989cf6SRahul Sharma #define DISP_MOUT_PHYCLK_DPTX_PHY_O_REF_CLK_24M_USER	9
386*5a989cf6SRahul Sharma #define DISP_MOUT_PHYCLK_DPTX_PHY_CLK_DIV2_USER		10
387*5a989cf6SRahul Sharma #define DISP_MOUT_PHYCLK_DPTX_PHY_CH3_TXD_CLK_USER	11
388*5a989cf6SRahul Sharma #define DISP_MOUT_PHYCLK_DPTX_PHY_CH2_TXD_CLK_USER	12
389*5a989cf6SRahul Sharma #define DISP_MOUT_PHYCLK_DPTX_PHY_CH1_TXD_CLK_USER	13
390*5a989cf6SRahul Sharma #define DISP_MOUT_PHYCLK_DPTX_PHY_CH0_TXD_CLK_USER	14
391*5a989cf6SRahul Sharma #define DISP_MOUT_ACLK_DISP_222_USER			15
392*5a989cf6SRahul Sharma #define DISP_MOUT_SCLK_DISP_PIXEL_USER			16
393*5a989cf6SRahul Sharma #define DISP_MOUT_ACLK_DISP_333_USER			17
394*5a989cf6SRahul Sharma #define DISP_DOUT_SCLK_HDMI_PHY_PIXEL_CLKI		18
395*5a989cf6SRahul Sharma #define DISP_DOUT_SCLK_FIMD1_EXTCLKPLL			19
396*5a989cf6SRahul Sharma #define DISP_DOUT_PCLK_DISP_111				20
397*5a989cf6SRahul Sharma #define DISP_CLK_SMMU_TV				21
398*5a989cf6SRahul Sharma #define DISP_CLK_SMMU_FIMD1M1				22
399*5a989cf6SRahul Sharma #define DISP_CLK_SMMU_FIMD1M0				23
400*5a989cf6SRahul Sharma #define DISP_CLK_PIXEL_MIXER				24
401*5a989cf6SRahul Sharma #define DISP_CLK_PIXEL_DISP				25
402*5a989cf6SRahul Sharma #define DISP_CLK_MIXER					26
403*5a989cf6SRahul Sharma #define DISP_CLK_MIPIPHY				27
404*5a989cf6SRahul Sharma #define DISP_CLK_HDMIPHY				28
405*5a989cf6SRahul Sharma #define DISP_CLK_HDMI					29
406*5a989cf6SRahul Sharma #define DISP_CLK_FIMD1					30
407*5a989cf6SRahul Sharma #define DISP_CLK_DSIM1					31
408*5a989cf6SRahul Sharma #define DISP_CLK_DPPHY					32
409*5a989cf6SRahul Sharma #define DISP_CLK_DP					33
410*5a989cf6SRahul Sharma #define DISP_SCLK_PIXEL					34
411*5a989cf6SRahul Sharma #define DISP_MOUT_HDMI_PHY_PIXEL_USER			35
412*5a989cf6SRahul Sharma #define DISP_NR_CLK					36
413*5a989cf6SRahul Sharma 
414*5a989cf6SRahul Sharma 
415*5a989cf6SRahul Sharma /* List Of Clocks For CMU_G2D */
416*5a989cf6SRahul Sharma 
417*5a989cf6SRahul Sharma #define G2D_MOUT_ACLK_G2D_333_USER			1
418*5a989cf6SRahul Sharma #define G2D_DOUT_PCLK_G2D_83				2
419*5a989cf6SRahul Sharma #define G2D_CLK_SMMU3_JPEG				3
420*5a989cf6SRahul Sharma #define G2D_CLK_MDMA					4
421*5a989cf6SRahul Sharma #define G2D_CLK_JPEG					5
422*5a989cf6SRahul Sharma #define G2D_CLK_G2D					6
423*5a989cf6SRahul Sharma #define G2D_CLK_SSS					7
424*5a989cf6SRahul Sharma #define G2D_CLK_SLIM_SSS				8
425*5a989cf6SRahul Sharma #define G2D_CLK_SMMU_SLIM_SSS				9
426*5a989cf6SRahul Sharma #define G2D_CLK_SMMU_SSS				10
427*5a989cf6SRahul Sharma #define G2D_CLK_SMMU_MDMA				11
428*5a989cf6SRahul Sharma #define G2D_CLK_SMMU3_G2D				12
429*5a989cf6SRahul Sharma #define G2D_NR_CLK					13
430*5a989cf6SRahul Sharma 
431*5a989cf6SRahul Sharma 
432*5a989cf6SRahul Sharma /* List Of Clocks For CMU_ISP */
433*5a989cf6SRahul Sharma 
434*5a989cf6SRahul Sharma #define ISP_MOUT_ISP_400_USER				1
435*5a989cf6SRahul Sharma #define ISP_MOUT_ISP_266_USER				2
436*5a989cf6SRahul Sharma #define ISP_DOUT_SCLK_MPWM				3
437*5a989cf6SRahul Sharma #define ISP_DOUT_CA5_PCLKDBG				4
438*5a989cf6SRahul Sharma #define ISP_DOUT_CA5_ATCLKIN				5
439*5a989cf6SRahul Sharma #define ISP_DOUT_PCLK_ISP_133				6
440*5a989cf6SRahul Sharma #define ISP_DOUT_PCLK_ISP_66				7
441*5a989cf6SRahul Sharma #define ISP_CLK_GIC					8
442*5a989cf6SRahul Sharma #define ISP_CLK_WDT					9
443*5a989cf6SRahul Sharma #define ISP_CLK_UART					10
444*5a989cf6SRahul Sharma #define ISP_CLK_SPI1					11
445*5a989cf6SRahul Sharma #define ISP_CLK_SPI0					12
446*5a989cf6SRahul Sharma #define ISP_CLK_SMMU_SCALERP				13
447*5a989cf6SRahul Sharma #define ISP_CLK_SMMU_SCALERC				14
448*5a989cf6SRahul Sharma #define ISP_CLK_SMMU_ISPCX				15
449*5a989cf6SRahul Sharma #define ISP_CLK_SMMU_ISP				16
450*5a989cf6SRahul Sharma #define ISP_CLK_SMMU_FD					17
451*5a989cf6SRahul Sharma #define ISP_CLK_SMMU_DRC				18
452*5a989cf6SRahul Sharma #define ISP_CLK_PWM					19
453*5a989cf6SRahul Sharma #define ISP_CLK_MTCADC					20
454*5a989cf6SRahul Sharma #define ISP_CLK_MPWM					21
455*5a989cf6SRahul Sharma #define ISP_CLK_MCUCTL					22
456*5a989cf6SRahul Sharma #define ISP_CLK_I2C1					23
457*5a989cf6SRahul Sharma #define ISP_CLK_I2C0					24
458*5a989cf6SRahul Sharma #define ISP_CLK_FIMC_SCALERP				25
459*5a989cf6SRahul Sharma #define ISP_CLK_FIMC_SCALERC				26
460*5a989cf6SRahul Sharma #define ISP_CLK_FIMC					27
461*5a989cf6SRahul Sharma #define ISP_CLK_FIMC_FD					28
462*5a989cf6SRahul Sharma #define ISP_CLK_FIMC_DRC				29
463*5a989cf6SRahul Sharma #define ISP_CLK_CA5					30
464*5a989cf6SRahul Sharma #define ISP_SCLK_SPI0_EXT				31
465*5a989cf6SRahul Sharma #define ISP_SCLK_SPI1_EXT				32
466*5a989cf6SRahul Sharma #define ISP_SCLK_UART_EXT				33
467*5a989cf6SRahul Sharma #define ISP_NR_CLK					34
468*5a989cf6SRahul Sharma 
469*5a989cf6SRahul Sharma #endif
470