162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2013 Samsung Electronics Co., Ltd.
462306a36Sopenharmony_ci * Author: Andrzej Hajda <a.hajda@samsung.com>
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci * Device Tree binding constants for Exynos5250 clock controller.
762306a36Sopenharmony_ci */
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLOCK_EXYNOS_5250_H
1062306a36Sopenharmony_ci#define _DT_BINDINGS_CLOCK_EXYNOS_5250_H
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci/* core clocks */
1362306a36Sopenharmony_ci#define CLK_FIN_PLL		1
1462306a36Sopenharmony_ci#define CLK_FOUT_APLL		2
1562306a36Sopenharmony_ci#define CLK_FOUT_MPLL		3
1662306a36Sopenharmony_ci#define CLK_FOUT_BPLL		4
1762306a36Sopenharmony_ci#define CLK_FOUT_GPLL		5
1862306a36Sopenharmony_ci#define CLK_FOUT_CPLL		6
1962306a36Sopenharmony_ci#define CLK_FOUT_EPLL		7
2062306a36Sopenharmony_ci#define CLK_FOUT_VPLL		8
2162306a36Sopenharmony_ci#define CLK_ARM_CLK		9
2262306a36Sopenharmony_ci#define CLK_DIV_ARM2		10
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci/* gate for special clocks (sclk) */
2562306a36Sopenharmony_ci#define CLK_SCLK_CAM_BAYER	128
2662306a36Sopenharmony_ci#define CLK_SCLK_CAM0		129
2762306a36Sopenharmony_ci#define CLK_SCLK_CAM1		130
2862306a36Sopenharmony_ci#define CLK_SCLK_GSCL_WA	131
2962306a36Sopenharmony_ci#define CLK_SCLK_GSCL_WB	132
3062306a36Sopenharmony_ci#define CLK_SCLK_FIMD1		133
3162306a36Sopenharmony_ci#define CLK_SCLK_MIPI1		134
3262306a36Sopenharmony_ci#define CLK_SCLK_DP		135
3362306a36Sopenharmony_ci#define CLK_SCLK_HDMI		136
3462306a36Sopenharmony_ci#define CLK_SCLK_PIXEL		137
3562306a36Sopenharmony_ci#define CLK_SCLK_AUDIO0		138
3662306a36Sopenharmony_ci#define CLK_SCLK_MMC0		139
3762306a36Sopenharmony_ci#define CLK_SCLK_MMC1		140
3862306a36Sopenharmony_ci#define CLK_SCLK_MMC2		141
3962306a36Sopenharmony_ci#define CLK_SCLK_MMC3		142
4062306a36Sopenharmony_ci#define CLK_SCLK_SATA		143
4162306a36Sopenharmony_ci#define CLK_SCLK_USB3		144
4262306a36Sopenharmony_ci#define CLK_SCLK_JPEG		145
4362306a36Sopenharmony_ci#define CLK_SCLK_UART0		146
4462306a36Sopenharmony_ci#define CLK_SCLK_UART1		147
4562306a36Sopenharmony_ci#define CLK_SCLK_UART2		148
4662306a36Sopenharmony_ci#define CLK_SCLK_UART3		149
4762306a36Sopenharmony_ci#define CLK_SCLK_PWM		150
4862306a36Sopenharmony_ci#define CLK_SCLK_AUDIO1		151
4962306a36Sopenharmony_ci#define CLK_SCLK_AUDIO2		152
5062306a36Sopenharmony_ci#define CLK_SCLK_SPDIF		153
5162306a36Sopenharmony_ci#define CLK_SCLK_SPI0		154
5262306a36Sopenharmony_ci#define CLK_SCLK_SPI1		155
5362306a36Sopenharmony_ci#define CLK_SCLK_SPI2		156
5462306a36Sopenharmony_ci#define CLK_DIV_I2S1		157
5562306a36Sopenharmony_ci#define CLK_DIV_I2S2		158
5662306a36Sopenharmony_ci#define CLK_SCLK_HDMIPHY	159
5762306a36Sopenharmony_ci#define CLK_DIV_PCM0		160
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ci/* gate clocks */
6062306a36Sopenharmony_ci#define CLK_GSCL0		256
6162306a36Sopenharmony_ci#define CLK_GSCL1		257
6262306a36Sopenharmony_ci#define CLK_GSCL2		258
6362306a36Sopenharmony_ci#define CLK_GSCL3		259
6462306a36Sopenharmony_ci#define CLK_GSCL_WA		260
6562306a36Sopenharmony_ci#define CLK_GSCL_WB		261
6662306a36Sopenharmony_ci#define CLK_SMMU_GSCL0		262
6762306a36Sopenharmony_ci#define CLK_SMMU_GSCL1		263
6862306a36Sopenharmony_ci#define CLK_SMMU_GSCL2		264
6962306a36Sopenharmony_ci#define CLK_SMMU_GSCL3		265
7062306a36Sopenharmony_ci#define CLK_MFC			266
7162306a36Sopenharmony_ci#define CLK_SMMU_MFCL		267
7262306a36Sopenharmony_ci#define CLK_SMMU_MFCR		268
7362306a36Sopenharmony_ci#define CLK_ROTATOR		269
7462306a36Sopenharmony_ci#define CLK_JPEG		270
7562306a36Sopenharmony_ci#define CLK_MDMA1		271
7662306a36Sopenharmony_ci#define CLK_SMMU_ROTATOR	272
7762306a36Sopenharmony_ci#define CLK_SMMU_JPEG		273
7862306a36Sopenharmony_ci#define CLK_SMMU_MDMA1		274
7962306a36Sopenharmony_ci#define CLK_PDMA0		275
8062306a36Sopenharmony_ci#define CLK_PDMA1		276
8162306a36Sopenharmony_ci#define CLK_SATA		277
8262306a36Sopenharmony_ci#define CLK_USBOTG		278
8362306a36Sopenharmony_ci#define CLK_MIPI_HSI		279
8462306a36Sopenharmony_ci#define CLK_SDMMC0		280
8562306a36Sopenharmony_ci#define CLK_SDMMC1		281
8662306a36Sopenharmony_ci#define CLK_SDMMC2		282
8762306a36Sopenharmony_ci#define CLK_SDMMC3		283
8862306a36Sopenharmony_ci#define CLK_SROMC		284
8962306a36Sopenharmony_ci#define CLK_USB2		285
9062306a36Sopenharmony_ci#define CLK_USB3		286
9162306a36Sopenharmony_ci#define CLK_SATA_PHYCTRL	287
9262306a36Sopenharmony_ci#define CLK_SATA_PHYI2C		288
9362306a36Sopenharmony_ci#define CLK_UART0		289
9462306a36Sopenharmony_ci#define CLK_UART1		290
9562306a36Sopenharmony_ci#define CLK_UART2		291
9662306a36Sopenharmony_ci#define CLK_UART3		292
9762306a36Sopenharmony_ci#define CLK_UART4		293
9862306a36Sopenharmony_ci#define CLK_I2C0		294
9962306a36Sopenharmony_ci#define CLK_I2C1		295
10062306a36Sopenharmony_ci#define CLK_I2C2		296
10162306a36Sopenharmony_ci#define CLK_I2C3		297
10262306a36Sopenharmony_ci#define CLK_I2C4		298
10362306a36Sopenharmony_ci#define CLK_I2C5		299
10462306a36Sopenharmony_ci#define CLK_I2C6		300
10562306a36Sopenharmony_ci#define CLK_I2C7		301
10662306a36Sopenharmony_ci#define CLK_I2C_HDMI		302
10762306a36Sopenharmony_ci#define CLK_ADC			303
10862306a36Sopenharmony_ci#define CLK_SPI0		304
10962306a36Sopenharmony_ci#define CLK_SPI1		305
11062306a36Sopenharmony_ci#define CLK_SPI2		306
11162306a36Sopenharmony_ci#define CLK_I2S1		307
11262306a36Sopenharmony_ci#define CLK_I2S2		308
11362306a36Sopenharmony_ci#define CLK_PCM1		309
11462306a36Sopenharmony_ci#define CLK_PCM2		310
11562306a36Sopenharmony_ci#define CLK_PWM			311
11662306a36Sopenharmony_ci#define CLK_SPDIF		312
11762306a36Sopenharmony_ci#define CLK_AC97		313
11862306a36Sopenharmony_ci#define CLK_HSI2C0		314
11962306a36Sopenharmony_ci#define CLK_HSI2C1		315
12062306a36Sopenharmony_ci#define CLK_HSI2C2		316
12162306a36Sopenharmony_ci#define CLK_HSI2C3		317
12262306a36Sopenharmony_ci#define CLK_CHIPID		318
12362306a36Sopenharmony_ci#define CLK_SYSREG		319
12462306a36Sopenharmony_ci#define CLK_PMU			320
12562306a36Sopenharmony_ci#define CLK_CMU_TOP		321
12662306a36Sopenharmony_ci#define CLK_CMU_CORE		322
12762306a36Sopenharmony_ci#define CLK_CMU_MEM		323
12862306a36Sopenharmony_ci#define CLK_TZPC0		324
12962306a36Sopenharmony_ci#define CLK_TZPC1		325
13062306a36Sopenharmony_ci#define CLK_TZPC2		326
13162306a36Sopenharmony_ci#define CLK_TZPC3		327
13262306a36Sopenharmony_ci#define CLK_TZPC4		328
13362306a36Sopenharmony_ci#define CLK_TZPC5		329
13462306a36Sopenharmony_ci#define CLK_TZPC6		330
13562306a36Sopenharmony_ci#define CLK_TZPC7		331
13662306a36Sopenharmony_ci#define CLK_TZPC8		332
13762306a36Sopenharmony_ci#define CLK_TZPC9		333
13862306a36Sopenharmony_ci#define CLK_HDMI_CEC		334
13962306a36Sopenharmony_ci#define CLK_MCT			335
14062306a36Sopenharmony_ci#define CLK_WDT			336
14162306a36Sopenharmony_ci#define CLK_RTC			337
14262306a36Sopenharmony_ci#define CLK_TMU			338
14362306a36Sopenharmony_ci#define CLK_FIMD1		339
14462306a36Sopenharmony_ci#define CLK_MIE1		340
14562306a36Sopenharmony_ci#define CLK_DSIM0		341
14662306a36Sopenharmony_ci#define CLK_DP			342
14762306a36Sopenharmony_ci#define CLK_MIXER		343
14862306a36Sopenharmony_ci#define CLK_HDMI		344
14962306a36Sopenharmony_ci#define CLK_G2D			345
15062306a36Sopenharmony_ci#define CLK_MDMA0		346
15162306a36Sopenharmony_ci#define CLK_SMMU_MDMA0		347
15262306a36Sopenharmony_ci#define CLK_SSS			348
15362306a36Sopenharmony_ci#define CLK_G3D			349
15462306a36Sopenharmony_ci#define CLK_SMMU_TV		350
15562306a36Sopenharmony_ci#define CLK_SMMU_FIMD1		351
15662306a36Sopenharmony_ci#define CLK_SMMU_2D		352
15762306a36Sopenharmony_ci#define CLK_SMMU_FIMC_ISP	353
15862306a36Sopenharmony_ci#define CLK_SMMU_FIMC_DRC	354
15962306a36Sopenharmony_ci#define CLK_SMMU_FIMC_SCC	355
16062306a36Sopenharmony_ci#define CLK_SMMU_FIMC_SCP	356
16162306a36Sopenharmony_ci#define CLK_SMMU_FIMC_FD	357
16262306a36Sopenharmony_ci#define CLK_SMMU_FIMC_MCU	358
16362306a36Sopenharmony_ci#define CLK_SMMU_FIMC_ODC	359
16462306a36Sopenharmony_ci#define CLK_SMMU_FIMC_DIS0	360
16562306a36Sopenharmony_ci#define CLK_SMMU_FIMC_DIS1	361
16662306a36Sopenharmony_ci#define CLK_SMMU_FIMC_3DNR	362
16762306a36Sopenharmony_ci#define CLK_SMMU_FIMC_LITE0	363
16862306a36Sopenharmony_ci#define CLK_SMMU_FIMC_LITE1	364
16962306a36Sopenharmony_ci#define CLK_CAMIF_TOP		365
17062306a36Sopenharmony_ci
17162306a36Sopenharmony_ci/* mux clocks */
17262306a36Sopenharmony_ci#define CLK_MOUT_HDMI		1024
17362306a36Sopenharmony_ci#define CLK_MOUT_GPLL		1025
17462306a36Sopenharmony_ci#define CLK_MOUT_ACLK200_DISP1_SUB	1026
17562306a36Sopenharmony_ci#define CLK_MOUT_ACLK300_DISP1_SUB	1027
17662306a36Sopenharmony_ci#define CLK_MOUT_APLL		1028
17762306a36Sopenharmony_ci#define CLK_MOUT_MPLL		1029
17862306a36Sopenharmony_ci#define CLK_MOUT_VPLLSRC	1030
17962306a36Sopenharmony_ci
18062306a36Sopenharmony_ci#endif /* _DT_BINDINGS_CLOCK_EXYNOS_5250_H */
181