Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame^] | 1 | /* |
| 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 Dakhran | e7ef0b6 | 2014-05-27 06:54:12 +0900 | [diff] [blame] | 11 | #ifndef _DT_BINDINGS_CLOCK_EXYNOS_5410_H |
| 12 | #define _DT_BINDINGS_CLOCK_EXYNOS_5410_H |
| 13 | |
| 14 | /* core clocks */ |
Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame^] | 15 | #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 Dakhran | e7ef0b6 | 2014-05-27 06:54:12 +0900 | [diff] [blame] | 21 | |
| 22 | /* gate for special clocks (sclk) */ |
Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame^] | 23 | #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 Dakhran | e7ef0b6 | 2014-05-27 06:54:12 +0900 | [diff] [blame] | 30 | |
| 31 | /* gate clocks */ |
Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame^] | 32 | #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 Dakhran | e7ef0b6 | 2014-05-27 06:54:12 +0900 | [diff] [blame] | 40 | |
Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame^] | 41 | #define CLK_NR_CLKS 512 |
Tarek Dakhran | e7ef0b6 | 2014-05-27 06:54:12 +0900 | [diff] [blame] | 42 | |
| 43 | #endif /* _DT_BINDINGS_CLOCK_EXYNOS_5410_H */ |