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