xref: /linux/include/dt-bindings/clock/r8a73a4-clock.h (revision d53b8e36925256097a08d7cb749198d85cbf9b2b)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright 2014 Ulrich Hecht
4  */
5 
6 #ifndef __DT_BINDINGS_CLOCK_R8A73A4_H__
7 #define __DT_BINDINGS_CLOCK_R8A73A4_H__
8 
9 /* CPG */
10 #define R8A73A4_CLK_MAIN	0
11 #define R8A73A4_CLK_PLL0	1
12 #define R8A73A4_CLK_PLL1	2
13 #define R8A73A4_CLK_PLL2	3
14 #define R8A73A4_CLK_PLL2S	4
15 #define R8A73A4_CLK_PLL2H	5
16 #define R8A73A4_CLK_Z		6
17 #define R8A73A4_CLK_Z2		7
18 #define R8A73A4_CLK_I		8
19 #define R8A73A4_CLK_M3		9
20 #define R8A73A4_CLK_B		10
21 #define R8A73A4_CLK_M1		11
22 #define R8A73A4_CLK_M2		12
23 #define R8A73A4_CLK_ZX		13
24 #define R8A73A4_CLK_ZS		14
25 #define R8A73A4_CLK_HP		15
26 
27 /* MSTP1 */
28 #define R8A73A4_CLK_TMU0	25
29 #define R8A73A4_CLK_TMU3	21
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