GNU Linux-libre 6.9.1-gnu
[releases.git] / include / dt-bindings / clock / r8a73a4-clock.h
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 /* MSTP2 */
28 #define R8A73A4_CLK_DMAC        18
29 #define R8A73A4_CLK_SCIFB3      17
30 #define R8A73A4_CLK_SCIFB2      16
31 #define R8A73A4_CLK_SCIFB1      7
32 #define R8A73A4_CLK_SCIFB0      6
33 #define R8A73A4_CLK_SCIFA0      4
34 #define R8A73A4_CLK_SCIFA1      3
35
36 /* MSTP3 */
37 #define R8A73A4_CLK_CMT1        29
38 #define R8A73A4_CLK_IIC1        23
39 #define R8A73A4_CLK_IIC0        18
40 #define R8A73A4_CLK_IIC7        17
41 #define R8A73A4_CLK_IIC6        16
42 #define R8A73A4_CLK_MMCIF0      15
43 #define R8A73A4_CLK_SDHI0       14
44 #define R8A73A4_CLK_SDHI1       13
45 #define R8A73A4_CLK_SDHI2       12
46 #define R8A73A4_CLK_MMCIF1      5
47 #define R8A73A4_CLK_IIC2        0
48
49 /* MSTP4 */
50 #define R8A73A4_CLK_IIC3        11
51 #define R8A73A4_CLK_IIC4        10
52 #define R8A73A4_CLK_IIC5        9
53 #define R8A73A4_CLK_INTC_SYS    8
54 #define R8A73A4_CLK_IRQC        7
55
56 /* MSTP5 */
57 #define R8A73A4_CLK_THERMAL     22
58 #define R8A73A4_CLK_IIC8        15
59
60 #endif /* __DT_BINDINGS_CLOCK_R8A73A4_H__ */