xref: /linux/include/dt-bindings/clock/exynos4.h (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
19dbcfe1aSKrzysztof Kozlowski /* SPDX-License-Identifier: GPL-2.0 */
226460bc5SAndrzej Hajda /*
326460bc5SAndrzej Hajda  * Copyright (c) 2013 Samsung Electronics Co., Ltd.
4f65d5189STomasz Figa  * Author: Andrzej Hajda <a.hajda@samsung.com>
526460bc5SAndrzej Hajda  *
626460bc5SAndrzej Hajda  * Device Tree binding constants for Exynos4 clock controller.
726460bc5SAndrzej Hajda  */
826460bc5SAndrzej Hajda 
926460bc5SAndrzej Hajda #ifndef _DT_BINDINGS_CLOCK_EXYNOS_4_H
1026460bc5SAndrzej Hajda #define _DT_BINDINGS_CLOCK_EXYNOS_4_H
1126460bc5SAndrzej Hajda 
1226460bc5SAndrzej Hajda /* core clocks */
1326460bc5SAndrzej Hajda #define CLK_XXTI		1
1426460bc5SAndrzej Hajda #define CLK_XUSBXTI		2
1526460bc5SAndrzej Hajda #define CLK_FIN_PLL		3
1626460bc5SAndrzej Hajda #define CLK_FOUT_APLL		4
1726460bc5SAndrzej Hajda #define CLK_FOUT_MPLL		5
1826460bc5SAndrzej Hajda #define CLK_FOUT_EPLL		6
1926460bc5SAndrzej Hajda #define CLK_FOUT_VPLL		7
2026460bc5SAndrzej Hajda #define CLK_SCLK_APLL		8
2126460bc5SAndrzej Hajda #define CLK_SCLK_MPLL		9
2226460bc5SAndrzej Hajda #define CLK_SCLK_EPLL		10
2326460bc5SAndrzej Hajda #define CLK_SCLK_VPLL		11
2426460bc5SAndrzej Hajda #define CLK_ARM_CLK		12
2526460bc5SAndrzej Hajda #define CLK_ACLK200		13
2626460bc5SAndrzej Hajda #define CLK_ACLK100		14
2726460bc5SAndrzej Hajda #define CLK_ACLK160		15
2826460bc5SAndrzej Hajda #define CLK_ACLK133		16
2926460bc5SAndrzej Hajda #define CLK_MOUT_MPLL_USER_T	17 /* Exynos4x12 only */
3026460bc5SAndrzej Hajda #define CLK_MOUT_MPLL_USER_C	18 /* Exynos4x12 only */
3126460bc5SAndrzej Hajda #define CLK_MOUT_CORE		19
3226460bc5SAndrzej Hajda #define CLK_MOUT_APLL		20
33a5b219b4STomasz Stanislawski #define CLK_SCLK_HDMIPHY	22
3401f7ec26STomasz Figa #define CLK_OUT_DMC		23
3501f7ec26STomasz Figa #define CLK_OUT_TOP		24
3601f7ec26STomasz Figa #define CLK_OUT_LEFTBUS		25
3701f7ec26STomasz Figa #define CLK_OUT_RIGHTBUS	26
3801f7ec26STomasz Figa #define CLK_OUT_CPU		27
3926460bc5SAndrzej Hajda 
4026460bc5SAndrzej Hajda /* gate for special clocks (sclk) */
4126460bc5SAndrzej Hajda #define CLK_SCLK_FIMC0		128
4226460bc5SAndrzej Hajda #define CLK_SCLK_FIMC1		129
4326460bc5SAndrzej Hajda #define CLK_SCLK_FIMC2		130
4426460bc5SAndrzej Hajda #define CLK_SCLK_FIMC3		131
4526460bc5SAndrzej Hajda #define CLK_SCLK_CAM0		132
4626460bc5SAndrzej Hajda #define CLK_SCLK_CAM1		133
4726460bc5SAndrzej Hajda #define CLK_SCLK_CSIS0		134
4826460bc5SAndrzej Hajda #define CLK_SCLK_CSIS1		135
4926460bc5SAndrzej Hajda #define CLK_SCLK_HDMI		136
5026460bc5SAndrzej Hajda #define CLK_SCLK_MIXER		137
5126460bc5SAndrzej Hajda #define CLK_SCLK_DAC		138
5226460bc5SAndrzej Hajda #define CLK_SCLK_PIXEL		139
5326460bc5SAndrzej Hajda #define CLK_SCLK_FIMD0		140
5426460bc5SAndrzej Hajda #define CLK_SCLK_MDNIE0		141 /* Exynos4412 only */
5526460bc5SAndrzej Hajda #define CLK_SCLK_MDNIE_PWM0	142
5626460bc5SAndrzej Hajda #define CLK_SCLK_MIPI0		143
5726460bc5SAndrzej Hajda #define CLK_SCLK_AUDIO0		144
5826460bc5SAndrzej Hajda #define CLK_SCLK_MMC0		145
5926460bc5SAndrzej Hajda #define CLK_SCLK_MMC1		146
6026460bc5SAndrzej Hajda #define CLK_SCLK_MMC2		147
6126460bc5SAndrzej Hajda #define CLK_SCLK_MMC3		148
6226460bc5SAndrzej Hajda #define CLK_SCLK_MMC4		149
6326460bc5SAndrzej Hajda #define CLK_SCLK_SATA		150 /* Exynos4210 only */
6426460bc5SAndrzej Hajda #define CLK_SCLK_UART0		151
6526460bc5SAndrzej Hajda #define CLK_SCLK_UART1		152
6626460bc5SAndrzej Hajda #define CLK_SCLK_UART2		153
6726460bc5SAndrzej Hajda #define CLK_SCLK_UART3		154
6826460bc5SAndrzej Hajda #define CLK_SCLK_UART4		155
6926460bc5SAndrzej Hajda #define CLK_SCLK_AUDIO1		156
7026460bc5SAndrzej Hajda #define CLK_SCLK_AUDIO2		157
7126460bc5SAndrzej Hajda #define CLK_SCLK_SPDIF		158
7226460bc5SAndrzej Hajda #define CLK_SCLK_SPI0		159
7326460bc5SAndrzej Hajda #define CLK_SCLK_SPI1		160
7426460bc5SAndrzej Hajda #define CLK_SCLK_SPI2		161
7526460bc5SAndrzej Hajda #define CLK_SCLK_SLIMBUS	162
7626460bc5SAndrzej Hajda #define CLK_SCLK_FIMD1		163 /* Exynos4210 only */
7726460bc5SAndrzej Hajda #define CLK_SCLK_MIPI1		164 /* Exynos4210 only */
7826460bc5SAndrzej Hajda #define CLK_SCLK_PCM1		165
7926460bc5SAndrzej Hajda #define CLK_SCLK_PCM2		166
8026460bc5SAndrzej Hajda #define CLK_SCLK_I2S1		167
8126460bc5SAndrzej Hajda #define CLK_SCLK_I2S2		168
8226460bc5SAndrzej Hajda #define CLK_SCLK_MIPIHSI	169 /* Exynos4412 only */
8326460bc5SAndrzej Hajda #define CLK_SCLK_MFC		170
8426460bc5SAndrzej Hajda #define CLK_SCLK_PCM0		171
8526460bc5SAndrzej Hajda #define CLK_SCLK_G3D		172
8626460bc5SAndrzej Hajda #define CLK_SCLK_PWM_ISP	173 /* Exynos4x12 only */
8726460bc5SAndrzej Hajda #define CLK_SCLK_SPI0_ISP	174 /* Exynos4x12 only */
8826460bc5SAndrzej Hajda #define CLK_SCLK_SPI1_ISP	175 /* Exynos4x12 only */
8926460bc5SAndrzej Hajda #define CLK_SCLK_UART_ISP	176 /* Exynos4x12 only */
9026460bc5SAndrzej Hajda #define CLK_SCLK_FIMG2D		177
9126460bc5SAndrzej Hajda 
9226460bc5SAndrzej Hajda /* gate clocks */
9394af7a3cSKrzysztof Kozlowski #define CLK_SSS			255
9426460bc5SAndrzej Hajda #define CLK_FIMC0		256
9526460bc5SAndrzej Hajda #define CLK_FIMC1		257
9626460bc5SAndrzej Hajda #define CLK_FIMC2		258
9726460bc5SAndrzej Hajda #define CLK_FIMC3		259
9826460bc5SAndrzej Hajda #define CLK_CSIS0		260
9926460bc5SAndrzej Hajda #define CLK_CSIS1		261
10026460bc5SAndrzej Hajda #define CLK_JPEG		262
10126460bc5SAndrzej Hajda #define CLK_SMMU_FIMC0		263
10226460bc5SAndrzej Hajda #define CLK_SMMU_FIMC1		264
10326460bc5SAndrzej Hajda #define CLK_SMMU_FIMC2		265
10426460bc5SAndrzej Hajda #define CLK_SMMU_FIMC3		266
10526460bc5SAndrzej Hajda #define CLK_SMMU_JPEG		267
10626460bc5SAndrzej Hajda #define CLK_VP			268
10726460bc5SAndrzej Hajda #define CLK_MIXER		269
10826460bc5SAndrzej Hajda #define CLK_TVENC		270 /* Exynos4210 only */
10926460bc5SAndrzej Hajda #define CLK_HDMI		271
11026460bc5SAndrzej Hajda #define CLK_SMMU_TV		272
11126460bc5SAndrzej Hajda #define CLK_MFC			273
11226460bc5SAndrzej Hajda #define CLK_SMMU_MFCL		274
11326460bc5SAndrzej Hajda #define CLK_SMMU_MFCR		275
11426460bc5SAndrzej Hajda #define CLK_G3D			276
11526460bc5SAndrzej Hajda #define CLK_G2D			277
116c1425430SMarek Szyprowski #define CLK_ROTATOR		278
117c1425430SMarek Szyprowski #define CLK_MDMA		279
118c1425430SMarek Szyprowski #define CLK_SMMU_G2D		280
119c1425430SMarek Szyprowski #define CLK_SMMU_ROTATOR	281
120c1425430SMarek Szyprowski #define CLK_SMMU_MDMA		282
12126460bc5SAndrzej Hajda #define CLK_FIMD0		283
12226460bc5SAndrzej Hajda #define CLK_MIE0		284
12326460bc5SAndrzej Hajda #define CLK_MDNIE0		285 /* Exynos4412 only */
12426460bc5SAndrzej Hajda #define CLK_DSIM0		286
12526460bc5SAndrzej Hajda #define CLK_SMMU_FIMD0		287
12626460bc5SAndrzej Hajda #define CLK_FIMD1		288 /* Exynos4210 only */
12726460bc5SAndrzej Hajda #define CLK_MIE1		289 /* Exynos4210 only */
12826460bc5SAndrzej Hajda #define CLK_DSIM1		290 /* Exynos4210 only */
12926460bc5SAndrzej Hajda #define CLK_SMMU_FIMD1		291 /* Exynos4210 only */
13026460bc5SAndrzej Hajda #define CLK_PDMA0		292
13126460bc5SAndrzej Hajda #define CLK_PDMA1		293
13226460bc5SAndrzej Hajda #define CLK_PCIE_PHY		294
13326460bc5SAndrzej Hajda #define CLK_SATA_PHY		295 /* Exynos4210 only */
13426460bc5SAndrzej Hajda #define CLK_TSI			296
13526460bc5SAndrzej Hajda #define CLK_SDMMC0		297
13626460bc5SAndrzej Hajda #define CLK_SDMMC1		298
13726460bc5SAndrzej Hajda #define CLK_SDMMC2		299
13826460bc5SAndrzej Hajda #define CLK_SDMMC3		300
13926460bc5SAndrzej Hajda #define CLK_SDMMC4		301
14026460bc5SAndrzej Hajda #define CLK_SATA		302 /* Exynos4210 only */
14126460bc5SAndrzej Hajda #define CLK_SROMC		303
14226460bc5SAndrzej Hajda #define CLK_USB_HOST		304
14326460bc5SAndrzej Hajda #define CLK_USB_DEVICE		305
14426460bc5SAndrzej Hajda #define CLK_PCIE		306
14526460bc5SAndrzej Hajda #define CLK_ONENAND		307
14626460bc5SAndrzej Hajda #define CLK_NFCON		308
14726460bc5SAndrzej Hajda #define CLK_SMMU_PCIE		309
14826460bc5SAndrzej Hajda #define CLK_GPS			310
14926460bc5SAndrzej Hajda #define CLK_SMMU_GPS		311
15026460bc5SAndrzej Hajda #define CLK_UART0		312
15126460bc5SAndrzej Hajda #define CLK_UART1		313
15226460bc5SAndrzej Hajda #define CLK_UART2		314
15326460bc5SAndrzej Hajda #define CLK_UART3		315
15426460bc5SAndrzej Hajda #define CLK_UART4		316
15526460bc5SAndrzej Hajda #define CLK_I2C0		317
15626460bc5SAndrzej Hajda #define CLK_I2C1		318
15726460bc5SAndrzej Hajda #define CLK_I2C2		319
15826460bc5SAndrzej Hajda #define CLK_I2C3		320
15926460bc5SAndrzej Hajda #define CLK_I2C4		321
16026460bc5SAndrzej Hajda #define CLK_I2C5		322
16126460bc5SAndrzej Hajda #define CLK_I2C6		323
16226460bc5SAndrzej Hajda #define CLK_I2C7		324
16326460bc5SAndrzej Hajda #define CLK_I2C_HDMI		325
16426460bc5SAndrzej Hajda #define CLK_TSADC		326
16526460bc5SAndrzej Hajda #define CLK_SPI0		327
16626460bc5SAndrzej Hajda #define CLK_SPI1		328
16726460bc5SAndrzej Hajda #define CLK_SPI2		329
16826460bc5SAndrzej Hajda #define CLK_I2S1		330
16926460bc5SAndrzej Hajda #define CLK_I2S2		331
17026460bc5SAndrzej Hajda #define CLK_PCM0		332
17126460bc5SAndrzej Hajda #define CLK_I2S0		333
17226460bc5SAndrzej Hajda #define CLK_PCM1		334
17326460bc5SAndrzej Hajda #define CLK_PCM2		335
17426460bc5SAndrzej Hajda #define CLK_PWM			336
17526460bc5SAndrzej Hajda #define CLK_SLIMBUS		337
17626460bc5SAndrzej Hajda #define CLK_SPDIF		338
17726460bc5SAndrzej Hajda #define CLK_AC97		339
17826460bc5SAndrzej Hajda #define CLK_MODEMIF		340
17926460bc5SAndrzej Hajda #define CLK_CHIPID		341
18026460bc5SAndrzej Hajda #define CLK_SYSREG		342
18126460bc5SAndrzej Hajda #define CLK_HDMI_CEC		343
18226460bc5SAndrzej Hajda #define CLK_MCT			344
18326460bc5SAndrzej Hajda #define CLK_WDT			345
18426460bc5SAndrzej Hajda #define CLK_RTC			346
18526460bc5SAndrzej Hajda #define CLK_KEYIF		347
18626460bc5SAndrzej Hajda #define CLK_AUDSS		348
18726460bc5SAndrzej Hajda #define CLK_MIPI_HSI		349 /* Exynos4210 only */
18826460bc5SAndrzej Hajda #define CLK_PIXELASYNCM0	351
18926460bc5SAndrzej Hajda #define CLK_PIXELASYNCM1	352
1907ef91224SKrzysztof Kozlowski #define CLK_ASYNC_G3D		353 /* Exynos4x12 only */
19126460bc5SAndrzej Hajda #define CLK_PWM_ISP_SCLK	379 /* Exynos4x12 only */
19226460bc5SAndrzej Hajda #define CLK_SPI0_ISP_SCLK	380 /* Exynos4x12 only */
19326460bc5SAndrzej Hajda #define CLK_SPI1_ISP_SCLK	381 /* Exynos4x12 only */
19426460bc5SAndrzej Hajda #define CLK_UART_ISP_SCLK	382 /* Exynos4x12 only */
19526460bc5SAndrzej Hajda #define CLK_TMU_APBIF		383
19626460bc5SAndrzej Hajda 
19726460bc5SAndrzej Hajda /* mux clocks */
19826460bc5SAndrzej Hajda #define CLK_MOUT_FIMC0		384
19926460bc5SAndrzej Hajda #define CLK_MOUT_FIMC1		385
20026460bc5SAndrzej Hajda #define CLK_MOUT_FIMC2		386
20126460bc5SAndrzej Hajda #define CLK_MOUT_FIMC3		387
20226460bc5SAndrzej Hajda #define CLK_MOUT_CAM0		388
20326460bc5SAndrzej Hajda #define CLK_MOUT_CAM1		389
20426460bc5SAndrzej Hajda #define CLK_MOUT_CSIS0		390
20526460bc5SAndrzej Hajda #define CLK_MOUT_CSIS1		391
20626460bc5SAndrzej Hajda #define CLK_MOUT_G3D0		392
20726460bc5SAndrzej Hajda #define CLK_MOUT_G3D1		393
20826460bc5SAndrzej Hajda #define CLK_MOUT_G3D		394
20926460bc5SAndrzej Hajda #define CLK_ACLK400_MCUISP	395 /* Exynos4x12 only */
2104676f0aaSMarek Szyprowski #define CLK_MOUT_HDMI		396
2114676f0aaSMarek Szyprowski #define CLK_MOUT_MIXER		397
212*d68f50e6SMarek Szyprowski #define CLK_MOUT_VPLLSRC	398
21326460bc5SAndrzej Hajda 
21417d3f1d2SJonghwa Lee /* gate clocks - ppmu */
21517d3f1d2SJonghwa Lee #define CLK_PPMULEFT		400
21617d3f1d2SJonghwa Lee #define CLK_PPMURIGHT		401
21717d3f1d2SJonghwa Lee #define CLK_PPMUCAMIF		402
21817d3f1d2SJonghwa Lee #define CLK_PPMUTV		403
21917d3f1d2SJonghwa Lee #define CLK_PPMUMFC_L		404
22017d3f1d2SJonghwa Lee #define CLK_PPMUMFC_R		405
22117d3f1d2SJonghwa Lee #define CLK_PPMUG3D		406
22217d3f1d2SJonghwa Lee #define CLK_PPMUIMAGE		407
22317d3f1d2SJonghwa Lee #define CLK_PPMULCD0		408
22417d3f1d2SJonghwa Lee #define CLK_PPMULCD1		409 /* Exynos4210 only */
22517d3f1d2SJonghwa Lee #define CLK_PPMUFILE		410
22617d3f1d2SJonghwa Lee #define CLK_PPMUGPS		411
22717d3f1d2SJonghwa Lee #define CLK_PPMUDMC0		412
22817d3f1d2SJonghwa Lee #define CLK_PPMUDMC1		413
22917d3f1d2SJonghwa Lee #define CLK_PPMUCPU		414
23017d3f1d2SJonghwa Lee #define CLK_PPMUACP		415
23117d3f1d2SJonghwa Lee 
23226460bc5SAndrzej Hajda /* div clocks */
23326460bc5SAndrzej Hajda #define CLK_DIV_ACLK200		454 /* Exynos4x12 only */
23426460bc5SAndrzej Hajda #define CLK_DIV_ACLK400_MCUISP	455 /* Exynos4x12 only */
235e64fb42dSChanwoo Choi #define CLK_DIV_ACP		456
236e64fb42dSChanwoo Choi #define CLK_DIV_DMC		457
237e64fb42dSChanwoo Choi #define CLK_DIV_C2C		458 /* Exynos4x12 only */
238e64fb42dSChanwoo Choi #define CLK_DIV_GDL		459
239e64fb42dSChanwoo Choi #define CLK_DIV_GDR		460
240*d68f50e6SMarek Szyprowski #define CLK_DIV_CORE2		461
24126460bc5SAndrzej Hajda 
2428ca8ac10SMarek Szyprowski /* Exynos4x12 ISP clocks */
2438ca8ac10SMarek Szyprowski #define CLK_ISP_FIMC_ISP		 1
2448ca8ac10SMarek Szyprowski #define CLK_ISP_FIMC_DRC		 2
2458ca8ac10SMarek Szyprowski #define CLK_ISP_FIMC_FD			 3
2468ca8ac10SMarek Szyprowski #define CLK_ISP_FIMC_LITE0		 4
2478ca8ac10SMarek Szyprowski #define CLK_ISP_FIMC_LITE1		 5
2488ca8ac10SMarek Szyprowski #define CLK_ISP_MCUISP			 6
2498ca8ac10SMarek Szyprowski #define CLK_ISP_GICISP			 7
2508ca8ac10SMarek Szyprowski #define CLK_ISP_SMMU_ISP		 8
2518ca8ac10SMarek Szyprowski #define CLK_ISP_SMMU_DRC		 9
2528ca8ac10SMarek Szyprowski #define CLK_ISP_SMMU_FD			10
2538ca8ac10SMarek Szyprowski #define CLK_ISP_SMMU_LITE0		11
2548ca8ac10SMarek Szyprowski #define CLK_ISP_SMMU_LITE1		12
2558ca8ac10SMarek Szyprowski #define CLK_ISP_PPMUISPMX		13
2568ca8ac10SMarek Szyprowski #define CLK_ISP_PPMUISPX		14
2578ca8ac10SMarek Szyprowski #define CLK_ISP_MCUCTL_ISP		15
2588ca8ac10SMarek Szyprowski #define CLK_ISP_MPWM_ISP		16
2598ca8ac10SMarek Szyprowski #define CLK_ISP_I2C0_ISP		17
2608ca8ac10SMarek Szyprowski #define CLK_ISP_I2C1_ISP		18
2618ca8ac10SMarek Szyprowski #define CLK_ISP_MTCADC_ISP		19
2628ca8ac10SMarek Szyprowski #define CLK_ISP_PWM_ISP			20
2638ca8ac10SMarek Szyprowski #define CLK_ISP_WDT_ISP			21
2648ca8ac10SMarek Szyprowski #define CLK_ISP_UART_ISP		22
2658ca8ac10SMarek Szyprowski #define CLK_ISP_ASYNCAXIM		23
2668ca8ac10SMarek Szyprowski #define CLK_ISP_SMMU_ISPCX		24
2678ca8ac10SMarek Szyprowski #define CLK_ISP_SPI0_ISP		25
2688ca8ac10SMarek Szyprowski #define CLK_ISP_SPI1_ISP		26
2698ca8ac10SMarek Szyprowski 
2708ca8ac10SMarek Szyprowski #define CLK_ISP_DIV_ISP0		27
2718ca8ac10SMarek Szyprowski #define CLK_ISP_DIV_ISP1		28
2728ca8ac10SMarek Szyprowski #define CLK_ISP_DIV_MCUISP0		29
2738ca8ac10SMarek Szyprowski #define CLK_ISP_DIV_MCUISP1		30
2748ca8ac10SMarek Szyprowski 
27526460bc5SAndrzej Hajda #endif /* _DT_BINDINGS_CLOCK_EXYNOS_4_H */
276