blob: 213f19e0287051f90e3d324a404c378532a86a33 [file] [log] [blame]
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +02001/*
2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * Device Tree binding constants for Exynos5421 clock controller.
9*/
10
Tarek Dakhrane7ef0b62014-05-27 06:54:12 +090011#ifndef _DT_BINDINGS_CLOCK_EXYNOS_5410_H
12#define _DT_BINDINGS_CLOCK_EXYNOS_5410_H
13
14/* core clocks */
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +020015#define CLK_FIN_PLL 1
16#define CLK_FOUT_APLL 2
17#define CLK_FOUT_CPLL 3
18#define CLK_FOUT_MPLL 4
19#define CLK_FOUT_BPLL 5
20#define CLK_FOUT_KPLL 6
Tarek Dakhrane7ef0b62014-05-27 06:54:12 +090021
22/* gate for special clocks (sclk) */
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +020023#define CLK_SCLK_UART0 128
24#define CLK_SCLK_UART1 129
25#define CLK_SCLK_UART2 130
26#define CLK_SCLK_UART3 131
27#define CLK_SCLK_MMC0 132
28#define CLK_SCLK_MMC1 133
29#define CLK_SCLK_MMC2 134
Tarek Dakhrane7ef0b62014-05-27 06:54:12 +090030
31/* gate clocks */
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +020032#define CLK_UART0 257
33#define CLK_UART1 258
34#define CLK_UART2 259
35#define CLK_UART3 260
36#define CLK_MCT 315
37#define CLK_MMC0 351
38#define CLK_MMC1 352
39#define CLK_MMC2 353
Tarek Dakhrane7ef0b62014-05-27 06:54:12 +090040
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +020041#define CLK_NR_CLKS 512
Tarek Dakhrane7ef0b62014-05-27 06:54:12 +090042
43#endif /* _DT_BINDINGS_CLOCK_EXYNOS_5410_H */