blob: 705b2aa8431753322a8d429f74e642d0d77d7da0 [file] [log] [blame]
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +02001/*
2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
Krzysztof Kozlowski5cd35352016-05-28 11:54:13 +02003 * Copyright (c) 2016 Krzysztof Kozlowski
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +02004 *
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 Dakhrane7ef0b62014-05-27 06:54:12 +090012#ifndef _DT_BINDINGS_CLOCK_EXYNOS_5410_H
13#define _DT_BINDINGS_CLOCK_EXYNOS_5410_H
14
15/* core clocks */
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +020016#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
Tarek Dakhrane7ef0b62014-05-27 06:54:12 +090022
23/* gate for special clocks (sclk) */
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +020024#define CLK_SCLK_UART0 128
25#define CLK_SCLK_UART1 129
26#define CLK_SCLK_UART2 130
27#define CLK_SCLK_UART3 131
28#define CLK_SCLK_MMC0 132
29#define CLK_SCLK_MMC1 133
30#define CLK_SCLK_MMC2 134
Krzysztof Kozlowski5cd35352016-05-28 11:54:13 +020031#define CLK_SCLK_USBD300 150
32#define CLK_SCLK_USBD301 151
33#define CLK_SCLK_USBPHY300 152
34#define CLK_SCLK_USBPHY301 153
35#define CLK_SCLK_PWM 155
Tarek Dakhrane7ef0b62014-05-27 06:54:12 +090036
37/* gate clocks */
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +020038#define CLK_UART0 257
39#define CLK_UART1 258
40#define CLK_UART2 259
Krzysztof Kozlowskied1e1502016-05-28 11:54:29 +020041#define CLK_I2C0 261
42#define CLK_I2C1 262
43#define CLK_I2C2 263
44#define CLK_I2C3 264
45#define CLK_USI0 265
46#define CLK_USI1 266
47#define CLK_USI2 267
48#define CLK_USI3 268
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +020049#define CLK_UART3 260
Krzysztof Kozlowski5cd35352016-05-28 11:54:13 +020050#define CLK_PWM 279
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +020051#define CLK_MCT 315
Krzysztof Kozlowskied1e1502016-05-28 11:54:29 +020052#define CLK_RTC 317
Krzysztof Kozlowski109869f2016-05-31 20:39:00 +020053#define CLK_TMU 318
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +020054#define CLK_MMC0 351
55#define CLK_MMC1 352
56#define CLK_MMC2 353
Krzysztof Kozlowski5cd35352016-05-28 11:54:13 +020057#define CLK_USBH20 365
58#define CLK_USBD300 366
59#define CLK_USBD301 367
Tarek Dakhrane7ef0b62014-05-27 06:54:12 +090060
Krzysztof Kozlowski4c5773f2016-05-28 11:54:12 +020061#define CLK_NR_CLKS 512
Tarek Dakhrane7ef0b62014-05-27 06:54:12 +090062
63#endif /* _DT_BINDINGS_CLOCK_EXYNOS_5410_H */