blob: 8e4681b07ae79fcaaf6b9e563ac360da6ac198d0 [file] [log] [blame]
Naveen Krishna Ch532abc32014-09-22 10:17:04 +05301/*
2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 * Author: Naveen Krishna Ch <naveenkrishna.ch@gmail.com>
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
10#ifndef _DT_BINDINGS_CLOCK_EXYNOS7_H
11#define _DT_BINDINGS_CLOCK_EXYNOS7_H
12
13/* TOPC */
14#define DOUT_ACLK_PERIS 1
15#define DOUT_SCLK_BUS0_PLL 2
16#define DOUT_SCLK_BUS1_PLL 3
17#define DOUT_SCLK_CC_PLL 4
18#define DOUT_SCLK_MFC_PLL 5
Naveen Krishna Chf5e127c2014-10-28 16:48:53 +053019#define DOUT_ACLK_CCORE_133 6
20#define TOPC_NR_CLK 7
Naveen Krishna Ch532abc32014-09-22 10:17:04 +053021
22/* TOP0 */
23#define DOUT_ACLK_PERIC1 1
24#define DOUT_ACLK_PERIC0 2
25#define CLK_SCLK_UART0 3
26#define CLK_SCLK_UART1 4
27#define CLK_SCLK_UART2 5
28#define CLK_SCLK_UART3 6
29#define TOP0_NR_CLK 7
30
Naveen Krishna Ch6d0c8c72014-10-21 11:13:52 +053031/* TOP1 */
32#define DOUT_ACLK_FSYS1_200 1
33#define DOUT_ACLK_FSYS0_200 2
34#define DOUT_SCLK_MMC2 3
35#define DOUT_SCLK_MMC1 4
36#define DOUT_SCLK_MMC0 5
37#define CLK_SCLK_MMC2 6
38#define CLK_SCLK_MMC1 7
39#define CLK_SCLK_MMC0 8
40#define TOP1_NR_CLK 9
41
Naveen Krishna Chf5e127c2014-10-28 16:48:53 +053042/* CCORE */
43#define PCLK_RTC 1
44#define CCORE_NR_CLK 2
45
Naveen Krishna Ch532abc32014-09-22 10:17:04 +053046/* PERIC0 */
47#define PCLK_UART0 1
48#define SCLK_UART0 2
Naveen Krishna Ch57a2b482014-10-21 11:13:51 +053049#define PCLK_HSI2C0 3
50#define PCLK_HSI2C1 4
51#define PCLK_HSI2C4 5
52#define PCLK_HSI2C5 6
53#define PCLK_HSI2C9 7
54#define PCLK_HSI2C10 8
55#define PCLK_HSI2C11 9
Naveen Krishna Ch2ab2dfe2014-10-28 16:48:54 +053056#define PCLK_PWM 10
57#define SCLK_PWM 11
Abhilash Kesavan932e9822014-10-28 16:48:55 +053058#define PCLK_ADCIF 12
59#define PERIC0_NR_CLK 13
Naveen Krishna Ch532abc32014-09-22 10:17:04 +053060
61/* PERIC1 */
62#define PCLK_UART1 1
63#define PCLK_UART2 2
64#define PCLK_UART3 3
65#define SCLK_UART1 4
66#define SCLK_UART2 5
67#define SCLK_UART3 6
Naveen Krishna Ch57a2b482014-10-21 11:13:51 +053068#define PCLK_HSI2C2 7
69#define PCLK_HSI2C3 8
70#define PCLK_HSI2C6 9
71#define PCLK_HSI2C7 10
72#define PCLK_HSI2C8 11
73#define PERIC1_NR_CLK 12
Naveen Krishna Ch532abc32014-09-22 10:17:04 +053074
75/* PERIS */
76#define PCLK_CHIPID 1
77#define SCLK_CHIPID 2
Naveen Krishna Ch2ab2dfe2014-10-28 16:48:54 +053078#define PCLK_WDT 3
79#define PCLK_TMU 4
80#define SCLK_TMU 5
81#define PERIS_NR_CLK 6
Naveen Krishna Ch532abc32014-09-22 10:17:04 +053082
Naveen Krishna Ch6d0c8c72014-10-21 11:13:52 +053083/* FSYS0 */
84#define ACLK_MMC2 1
85#define FSYS0_NR_CLK 2
86
87/* FSYS1 */
88#define ACLK_MMC1 1
89#define ACLK_MMC0 2
90#define FSYS1_NR_CLK 3
91
Naveen Krishna Ch532abc32014-09-22 10:17:04 +053092#endif /* _DT_BINDINGS_CLOCK_EXYNOS7_H */