aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>2014-01-07 09:47:38 -0500
committerTomasz Figa <t.figa@samsung.com>2014-01-08 12:02:40 -0500
commit7c556885ec95a463ea7670dc36f3efe2faf9d237 (patch)
tree189a117475d8f6a5a34b545d14ddc52c91798dc1 /include/dt-bindings
parentcba9d2fa8bc38aadaad5b31f84cc500897c70fea (diff)
ARM: exynos5440: create a DT header defining CLK IDs
The patch adds header file defining clock IDs. This allows to use macros instead of magic numbers in DT bindings. Signed-off-by: Andrzej Hajda <a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> Signed-off-by: Kyungmin Park <kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> Acked-by: Mike Turquette <mturquette@linaro.org> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/clock/exynos5440.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/exynos5440.h b/include/dt-bindings/clock/exynos5440.h
new file mode 100644
index 000000000000..70cd85077fa9
--- /dev/null
+++ b/include/dt-bindings/clock/exynos5440.h
@@ -0,0 +1,42 @@
1/*
2 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
3 * Author: Andrzej Haja <a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
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 Exynos5440 clock controller.
10*/
11
12#ifndef _DT_BINDINGS_CLOCK_EXYNOS_5440_H
13#define _DT_BINDINGS_CLOCK_EXYNOS_5440_H
14
15#define CLK_XTAL 1
16#define CLK_ARM_CLK 2
17#define CLK_SPI_BAUD 16
18#define CLK_PB0_250 17
19#define CLK_PR0_250 18
20#define CLK_PR1_250 19
21#define CLK_B_250 20
22#define CLK_B_125 21
23#define CLK_B_200 22
24#define CLK_SATA 23
25#define CLK_USB 24
26#define CLK_GMAC0 25
27#define CLK_CS250 26
28#define CLK_PB0_250_O 27
29#define CLK_PR0_250_O 28
30#define CLK_PR1_250_O 29
31#define CLK_B_250_O 30
32#define CLK_B_125_O 31
33#define CLK_B_200_O 32
34#define CLK_SATA_O 33
35#define CLK_USB_O 34
36#define CLK_GMAC0_O 35
37#define CLK_CS250_O 36
38
39/* must be greater than maximal clock id */
40#define CLK_NR_CLKS 37
41
42#endif /* _DT_BINDINGS_CLOCK_EXYNOS_5440_H */