xref: /linux/include/dt-bindings/clock/exynos5420.h (revision 424b673a0557693fdc2ac6cff5289153d6fb8903)
18774e124SAndrzej Hajda /*
28774e124SAndrzej Hajda  * Copyright (c) 2013 Samsung Electronics Co., Ltd.
38774e124SAndrzej Hajda  * Author: Andrzej Haja <a.hajda@samsung.com>
48774e124SAndrzej Hajda  *
58774e124SAndrzej Hajda  * This program is free software; you can redistribute it and/or modify
68774e124SAndrzej Hajda  * it under the terms of the GNU General Public License version 2 as
78774e124SAndrzej Hajda  * published by the Free Software Foundation.
88774e124SAndrzej Hajda  *
98774e124SAndrzej Hajda  * Device Tree binding constants for Exynos5420 clock controller.
108774e124SAndrzej Hajda */
118774e124SAndrzej Hajda 
128774e124SAndrzej Hajda #ifndef _DT_BINDINGS_CLOCK_EXYNOS_5420_H
138774e124SAndrzej Hajda #define _DT_BINDINGS_CLOCK_EXYNOS_5420_H
148774e124SAndrzej Hajda 
158774e124SAndrzej Hajda /* core clocks */
168774e124SAndrzej Hajda #define CLK_FIN_PLL		1
178774e124SAndrzej Hajda #define CLK_FOUT_APLL		2
188774e124SAndrzej Hajda #define CLK_FOUT_CPLL		3
198774e124SAndrzej Hajda #define CLK_FOUT_DPLL		4
208774e124SAndrzej Hajda #define CLK_FOUT_EPLL		5
218774e124SAndrzej Hajda #define CLK_FOUT_RPLL		6
228774e124SAndrzej Hajda #define CLK_FOUT_IPLL		7
238774e124SAndrzej Hajda #define CLK_FOUT_SPLL		8
248774e124SAndrzej Hajda #define CLK_FOUT_VPLL		9
258774e124SAndrzej Hajda #define CLK_FOUT_MPLL		10
268774e124SAndrzej Hajda #define CLK_FOUT_BPLL		11
278774e124SAndrzej Hajda #define CLK_FOUT_KPLL		12
288774e124SAndrzej Hajda 
298774e124SAndrzej Hajda /* gate for special clocks (sclk) */
308774e124SAndrzej Hajda #define CLK_SCLK_UART0		128
318774e124SAndrzej Hajda #define CLK_SCLK_UART1		129
328774e124SAndrzej Hajda #define CLK_SCLK_UART2		130
338774e124SAndrzej Hajda #define CLK_SCLK_UART3		131
348774e124SAndrzej Hajda #define CLK_SCLK_MMC0		132
358774e124SAndrzej Hajda #define CLK_SCLK_MMC1		133
368774e124SAndrzej Hajda #define CLK_SCLK_MMC2		134
378774e124SAndrzej Hajda #define CLK_SCLK_SPI0		135
388774e124SAndrzej Hajda #define CLK_SCLK_SPI1		136
398774e124SAndrzej Hajda #define CLK_SCLK_SPI2		137
408774e124SAndrzej Hajda #define CLK_SCLK_I2S1		138
418774e124SAndrzej Hajda #define CLK_SCLK_I2S2		139
428774e124SAndrzej Hajda #define CLK_SCLK_PCM1		140
438774e124SAndrzej Hajda #define CLK_SCLK_PCM2		141
448774e124SAndrzej Hajda #define CLK_SCLK_SPDIF		142
458774e124SAndrzej Hajda #define CLK_SCLK_HDMI		143
468774e124SAndrzej Hajda #define CLK_SCLK_PIXEL		144
478774e124SAndrzej Hajda #define CLK_SCLK_DP1		145
488774e124SAndrzej Hajda #define CLK_SCLK_MIPI1		146
498774e124SAndrzej Hajda #define CLK_SCLK_FIMD1		147
508774e124SAndrzej Hajda #define CLK_SCLK_MAUDIO0	148
518774e124SAndrzej Hajda #define CLK_SCLK_MAUPCM0	149
528774e124SAndrzej Hajda #define CLK_SCLK_USBD300	150
538774e124SAndrzej Hajda #define CLK_SCLK_USBD301	151
548774e124SAndrzej Hajda #define CLK_SCLK_USBPHY300	152
558774e124SAndrzej Hajda #define CLK_SCLK_USBPHY301	153
568774e124SAndrzej Hajda #define CLK_SCLK_UNIPRO		154
578774e124SAndrzej Hajda #define CLK_SCLK_PWM		155
588774e124SAndrzej Hajda #define CLK_SCLK_GSCL_WA	156
598774e124SAndrzej Hajda #define CLK_SCLK_GSCL_WB	157
608774e124SAndrzej Hajda #define CLK_SCLK_HDMIPHY	158
618774e124SAndrzej Hajda 
628774e124SAndrzej Hajda /* gate clocks */
638774e124SAndrzej Hajda #define CLK_ACLK66_PERIC	256
648774e124SAndrzej Hajda #define CLK_UART0		257
658774e124SAndrzej Hajda #define CLK_UART1		258
668774e124SAndrzej Hajda #define CLK_UART2		259
678774e124SAndrzej Hajda #define CLK_UART3		260
688774e124SAndrzej Hajda #define CLK_I2C0		261
698774e124SAndrzej Hajda #define CLK_I2C1		262
708774e124SAndrzej Hajda #define CLK_I2C2		263
718774e124SAndrzej Hajda #define CLK_I2C3		264
728774e124SAndrzej Hajda #define CLK_I2C4		265
738774e124SAndrzej Hajda #define CLK_I2C5		266
748774e124SAndrzej Hajda #define CLK_I2C6		267
758774e124SAndrzej Hajda #define CLK_I2C7		268
768774e124SAndrzej Hajda #define CLK_I2C_HDMI		269
778774e124SAndrzej Hajda #define CLK_TSADC		270
788774e124SAndrzej Hajda #define CLK_SPI0		271
798774e124SAndrzej Hajda #define CLK_SPI1		272
808774e124SAndrzej Hajda #define CLK_SPI2		273
818774e124SAndrzej Hajda #define CLK_KEYIF		274
828774e124SAndrzej Hajda #define CLK_I2S1		275
838774e124SAndrzej Hajda #define CLK_I2S2		276
848774e124SAndrzej Hajda #define CLK_PCM1		277
858774e124SAndrzej Hajda #define CLK_PCM2		278
868774e124SAndrzej Hajda #define CLK_PWM			279
878774e124SAndrzej Hajda #define CLK_SPDIF		280
888774e124SAndrzej Hajda #define CLK_I2C8		281
898774e124SAndrzej Hajda #define CLK_I2C9		282
908774e124SAndrzej Hajda #define CLK_I2C10		283
918774e124SAndrzej Hajda #define CLK_ACLK66_PSGEN	300
928774e124SAndrzej Hajda #define CLK_CHIPID		301
938774e124SAndrzej Hajda #define CLK_SYSREG		302
948774e124SAndrzej Hajda #define CLK_TZPC0		303
958774e124SAndrzej Hajda #define CLK_TZPC1		304
968774e124SAndrzej Hajda #define CLK_TZPC2		305
978774e124SAndrzej Hajda #define CLK_TZPC3		306
988774e124SAndrzej Hajda #define CLK_TZPC4		307
998774e124SAndrzej Hajda #define CLK_TZPC5		308
1008774e124SAndrzej Hajda #define CLK_TZPC6		309
1018774e124SAndrzej Hajda #define CLK_TZPC7		310
1028774e124SAndrzej Hajda #define CLK_TZPC8		311
1038774e124SAndrzej Hajda #define CLK_TZPC9		312
1048774e124SAndrzej Hajda #define CLK_HDMI_CEC		313
1058774e124SAndrzej Hajda #define CLK_SECKEY		314
1068774e124SAndrzej Hajda #define CLK_MCT			315
1078774e124SAndrzej Hajda #define CLK_WDT			316
1088774e124SAndrzej Hajda #define CLK_RTC			317
1098774e124SAndrzej Hajda #define CLK_TMU			318
1108774e124SAndrzej Hajda #define CLK_TMU_GPU		319
1118774e124SAndrzej Hajda #define CLK_PCLK66_GPIO		330
1128774e124SAndrzej Hajda #define CLK_ACLK200_FSYS2	350
1138774e124SAndrzej Hajda #define CLK_MMC0		351
1148774e124SAndrzej Hajda #define CLK_MMC1		352
1158774e124SAndrzej Hajda #define CLK_MMC2		353
1168774e124SAndrzej Hajda #define CLK_SROMC		354
1178774e124SAndrzej Hajda #define CLK_UFS			355
1188774e124SAndrzej Hajda #define CLK_ACLK200_FSYS	360
1198774e124SAndrzej Hajda #define CLK_TSI			361
1208774e124SAndrzej Hajda #define CLK_PDMA0		362
1218774e124SAndrzej Hajda #define CLK_PDMA1		363
1228774e124SAndrzej Hajda #define CLK_RTIC		364
1238774e124SAndrzej Hajda #define CLK_USBH20		365
1248774e124SAndrzej Hajda #define CLK_USBD300		366
1258774e124SAndrzej Hajda #define CLK_USBD301		367
1268774e124SAndrzej Hajda #define CLK_ACLK400_MSCL	380
1278774e124SAndrzej Hajda #define CLK_MSCL0		381
1288774e124SAndrzej Hajda #define CLK_MSCL1		382
1298774e124SAndrzej Hajda #define CLK_MSCL2		383
1308774e124SAndrzej Hajda #define CLK_SMMU_MSCL0		384
1318774e124SAndrzej Hajda #define CLK_SMMU_MSCL1		385
1328774e124SAndrzej Hajda #define CLK_SMMU_MSCL2		386
1338774e124SAndrzej Hajda #define CLK_ACLK333		400
1348774e124SAndrzej Hajda #define CLK_MFC			401
1358774e124SAndrzej Hajda #define CLK_SMMU_MFCL		402
1368774e124SAndrzej Hajda #define CLK_SMMU_MFCR		403
1378774e124SAndrzej Hajda #define CLK_ACLK200_DISP1	410
1388774e124SAndrzej Hajda #define CLK_DSIM1		411
1398774e124SAndrzej Hajda #define CLK_DP1			412
1408774e124SAndrzej Hajda #define CLK_HDMI		413
1418774e124SAndrzej Hajda #define CLK_ACLK300_DISP1	420
1428774e124SAndrzej Hajda #define CLK_FIMD1		421
143*424b673aSShaik Ameer Basha #define CLK_SMMU_FIMD1M0	422
144*424b673aSShaik Ameer Basha #define CLK_SMMU_FIMD1M1	423
1458774e124SAndrzej Hajda #define CLK_ACLK166		430
1468774e124SAndrzej Hajda #define CLK_MIXER		431
1478774e124SAndrzej Hajda #define CLK_ACLK266		440
1488774e124SAndrzej Hajda #define CLK_ROTATOR		441
1498774e124SAndrzej Hajda #define CLK_MDMA1		442
1508774e124SAndrzej Hajda #define CLK_SMMU_ROTATOR	443
1518774e124SAndrzej Hajda #define CLK_SMMU_MDMA1		444
1528774e124SAndrzej Hajda #define CLK_ACLK300_JPEG	450
1538774e124SAndrzej Hajda #define CLK_JPEG		451
1548774e124SAndrzej Hajda #define CLK_JPEG2		452
1558774e124SAndrzej Hajda #define CLK_SMMU_JPEG		453
1568774e124SAndrzej Hajda #define CLK_ACLK300_GSCL	460
1578774e124SAndrzej Hajda #define CLK_SMMU_GSCL0		461
1588774e124SAndrzej Hajda #define CLK_SMMU_GSCL1		462
1598774e124SAndrzej Hajda #define CLK_GSCL_WA		463
1608774e124SAndrzej Hajda #define CLK_GSCL_WB		464
1618774e124SAndrzej Hajda #define CLK_GSCL0		465
1628774e124SAndrzej Hajda #define CLK_GSCL1		466
16302932381SShaik Ameer Basha #define CLK_FIMC_3AA		467
1648774e124SAndrzej Hajda #define CLK_ACLK266_G2D		470
1658774e124SAndrzej Hajda #define CLK_SSS			471
1668774e124SAndrzej Hajda #define CLK_SLIM_SSS		472
1678774e124SAndrzej Hajda #define CLK_MDMA0		473
1688774e124SAndrzej Hajda #define CLK_ACLK333_G2D		480
1698774e124SAndrzej Hajda #define CLK_G2D			481
1708774e124SAndrzej Hajda #define CLK_ACLK333_432_GSCL	490
1718774e124SAndrzej Hajda #define CLK_SMMU_3AA		491
1728774e124SAndrzej Hajda #define CLK_SMMU_FIMCL0		492
1738774e124SAndrzej Hajda #define CLK_SMMU_FIMCL1		493
1748774e124SAndrzej Hajda #define CLK_SMMU_FIMCL3		494
1758774e124SAndrzej Hajda #define CLK_FIMC_LITE3		495
17602932381SShaik Ameer Basha #define CLK_FIMC_LITE0		496
17702932381SShaik Ameer Basha #define CLK_FIMC_LITE1		497
1788774e124SAndrzej Hajda #define CLK_ACLK_G3D		500
1798774e124SAndrzej Hajda #define CLK_G3D			501
1808774e124SAndrzej Hajda #define CLK_SMMU_MIXER		502
1813fac5941SShaik Ameer Basha #define CLK_SMMU_G2D		503
1823fac5941SShaik Ameer Basha #define CLK_SMMU_MDMA0		504
1833a767b35SShaik Ameer Basha #define CLK_SCLK_UART_ISP	510
1843a767b35SShaik Ameer Basha #define CLK_SCLK_SPI0_ISP	511
1853a767b35SShaik Ameer Basha #define CLK_SCLK_SPI1_ISP	512
1863a767b35SShaik Ameer Basha #define CLK_SCLK_PWM_ISP	513
1873a767b35SShaik Ameer Basha #define CLK_SCLK_ISP_SENSOR0	514
1883a767b35SShaik Ameer Basha #define CLK_SCLK_ISP_SENSOR1	515
1893a767b35SShaik Ameer Basha #define CLK_SCLK_ISP_SENSOR2	516
1908774e124SAndrzej Hajda 
1918774e124SAndrzej Hajda /* mux clocks */
1928774e124SAndrzej Hajda #define CLK_MOUT_HDMI		640
1932ce262f4SArun Kumar K #define CLK_MOUT_G3D		641
1942ce262f4SArun Kumar K #define CLK_MOUT_VPLL		642
1958774e124SAndrzej Hajda 
1968774e124SAndrzej Hajda /* divider clocks */
1978774e124SAndrzej Hajda #define CLK_DOUT_PIXEL		768
1988774e124SAndrzej Hajda 
1998774e124SAndrzej Hajda /* must be greater than maximal clock id */
2008774e124SAndrzej Hajda #define CLK_NR_CLKS		769
2018774e124SAndrzej Hajda 
2028774e124SAndrzej Hajda #endif /* _DT_BINDINGS_CLOCK_EXYNOS_5420_H */
203