Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. |
Krzysztof Kozlowski | 5cd3535 | 2016-05-28 11:54:13 +0200 | [diff] [blame] | 3 | * Copyright (c) 2016 Krzysztof Kozlowski |
Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame] | 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * published by the Free Software Foundation. |
| 8 | * |
| 9 | * Device Tree binding constants for Exynos5421 clock controller. |
| 10 | */ |
| 11 | |
Tarek Dakhran | e7ef0b6 | 2014-05-27 06:54:12 +0900 | [diff] [blame] | 12 | #ifndef _DT_BINDINGS_CLOCK_EXYNOS_5410_H |
| 13 | #define _DT_BINDINGS_CLOCK_EXYNOS_5410_H |
| 14 | |
| 15 | /* core clocks */ |
Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame] | 16 | #define CLK_FIN_PLL 1 |
| 17 | #define CLK_FOUT_APLL 2 |
| 18 | #define CLK_FOUT_CPLL 3 |
| 19 | #define CLK_FOUT_MPLL 4 |
| 20 | #define CLK_FOUT_BPLL 5 |
| 21 | #define CLK_FOUT_KPLL 6 |
Sylwester Nawrocki | 58d6506 | 2016-08-22 11:15:39 +0200 | [diff] [blame] | 22 | #define CLK_FOUT_EPLL 7 |
Tarek Dakhran | e7ef0b6 | 2014-05-27 06:54:12 +0900 | [diff] [blame] | 23 | |
| 24 | /* gate for special clocks (sclk) */ |
Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame] | 25 | #define CLK_SCLK_UART0 128 |
| 26 | #define CLK_SCLK_UART1 129 |
| 27 | #define CLK_SCLK_UART2 130 |
| 28 | #define CLK_SCLK_UART3 131 |
| 29 | #define CLK_SCLK_MMC0 132 |
| 30 | #define CLK_SCLK_MMC1 133 |
| 31 | #define CLK_SCLK_MMC2 134 |
Krzysztof Kozlowski | 5cd3535 | 2016-05-28 11:54:13 +0200 | [diff] [blame] | 32 | #define CLK_SCLK_USBD300 150 |
| 33 | #define CLK_SCLK_USBD301 151 |
| 34 | #define CLK_SCLK_USBPHY300 152 |
| 35 | #define CLK_SCLK_USBPHY301 153 |
| 36 | #define CLK_SCLK_PWM 155 |
Tarek Dakhran | e7ef0b6 | 2014-05-27 06:54:12 +0900 | [diff] [blame] | 37 | |
| 38 | /* gate clocks */ |
Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame] | 39 | #define CLK_UART0 257 |
| 40 | #define CLK_UART1 258 |
| 41 | #define CLK_UART2 259 |
Krzysztof Kozlowski | ed1e150 | 2016-05-28 11:54:29 +0200 | [diff] [blame] | 42 | #define CLK_I2C0 261 |
| 43 | #define CLK_I2C1 262 |
| 44 | #define CLK_I2C2 263 |
| 45 | #define CLK_I2C3 264 |
| 46 | #define CLK_USI0 265 |
| 47 | #define CLK_USI1 266 |
| 48 | #define CLK_USI2 267 |
| 49 | #define CLK_USI3 268 |
Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame] | 50 | #define CLK_UART3 260 |
Krzysztof Kozlowski | 5cd3535 | 2016-05-28 11:54:13 +0200 | [diff] [blame] | 51 | #define CLK_PWM 279 |
Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame] | 52 | #define CLK_MCT 315 |
Krzysztof Kozlowski | 4528dd8 | 2016-06-01 11:45:49 +0200 | [diff] [blame] | 53 | #define CLK_WDT 316 |
Krzysztof Kozlowski | ed1e150 | 2016-05-28 11:54:29 +0200 | [diff] [blame] | 54 | #define CLK_RTC 317 |
Krzysztof Kozlowski | 109869f | 2016-05-31 20:39:00 +0200 | [diff] [blame] | 55 | #define CLK_TMU 318 |
Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame] | 56 | #define CLK_MMC0 351 |
| 57 | #define CLK_MMC1 352 |
| 58 | #define CLK_MMC2 353 |
Sylwester Nawrocki | 58d6506 | 2016-08-22 11:15:39 +0200 | [diff] [blame] | 59 | #define CLK_PDMA0 362 |
| 60 | #define CLK_PDMA1 363 |
Krzysztof Kozlowski | 5cd3535 | 2016-05-28 11:54:13 +0200 | [diff] [blame] | 61 | #define CLK_USBH20 365 |
| 62 | #define CLK_USBD300 366 |
| 63 | #define CLK_USBD301 367 |
Krzysztof Kozlowski | 4528dd8 | 2016-06-01 11:45:49 +0200 | [diff] [blame] | 64 | #define CLK_SSS 471 |
Tarek Dakhran | e7ef0b6 | 2014-05-27 06:54:12 +0900 | [diff] [blame] | 65 | |
Krzysztof Kozlowski | 4c5773f | 2016-05-28 11:54:12 +0200 | [diff] [blame] | 66 | #define CLK_NR_CLKS 512 |
Tarek Dakhran | e7ef0b6 | 2014-05-27 06:54:12 +0900 | [diff] [blame] | 67 | |
| 68 | #endif /* _DT_BINDINGS_CLOCK_EXYNOS_5410_H */ |