1 /*
2  * Copyright 2014 Ulrich Hecht
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 as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  */
9 
10 #ifndef __DT_BINDINGS_CLOCK_R8A73A4_H__
11 #define __DT_BINDINGS_CLOCK_R8A73A4_H__
12 
13 /* CPG */
14 #define R8A73A4_CLK_MAIN	0
15 #define R8A73A4_CLK_PLL0	1
16 #define R8A73A4_CLK_PLL1	2
17 #define R8A73A4_CLK_PLL2	3
18 #define R8A73A4_CLK_PLL2S	4
19 #define R8A73A4_CLK_PLL2H	5
20 #define R8A73A4_CLK_Z		6
21 #define R8A73A4_CLK_Z2		7
22 #define R8A73A4_CLK_I		8
23 #define R8A73A4_CLK_M3		9
24 #define R8A73A4_CLK_B		10
25 #define R8A73A4_CLK_M1		11
26 #define R8A73A4_CLK_M2		12
27 #define R8A73A4_CLK_ZX		13
28 #define R8A73A4_CLK_ZS		14
29 #define R8A73A4_CLK_HP		15
30 
31 /* MSTP2 */
32 #define R8A73A4_CLK_DMAC	18
33 #define R8A73A4_CLK_SCIFB3	17
34 #define R8A73A4_CLK_SCIFB2	16
35 #define R8A73A4_CLK_SCIFB1	7
36 #define R8A73A4_CLK_SCIFB0	6
37 #define R8A73A4_CLK_SCIFA0	4
38 #define R8A73A4_CLK_SCIFA1	3
39 
40 /* MSTP3 */
41 #define R8A73A4_CLK_CMT1	29
42 #define R8A73A4_CLK_IIC1	23
43 #define R8A73A4_CLK_IIC0	18
44 #define R8A73A4_CLK_IIC7	17
45 #define R8A73A4_CLK_IIC6	16
46 #define R8A73A4_CLK_MMCIF0	15
47 #define R8A73A4_CLK_SDHI0	14
48 #define R8A73A4_CLK_SDHI1	13
49 #define R8A73A4_CLK_SDHI2	12
50 #define R8A73A4_CLK_MMCIF1	5
51 #define R8A73A4_CLK_IIC2	0
52 
53 /* MSTP4 */
54 #define R8A73A4_CLK_IIC3	11
55 #define R8A73A4_CLK_IIC4	10
56 #define R8A73A4_CLK_IIC5	9
57 #define R8A73A4_CLK_INTC_SYS	8
58 #define R8A73A4_CLK_IRQC	7
59 
60 /* MSTP5 */
61 #define R8A73A4_CLK_THERMAL	22
62 #define R8A73A4_CLK_IIC8	15
63 
64 #endif /* __DT_BINDINGS_CLOCK_R8A73A4_H__ */
65