1 /*
2  * Copyright (C) 2014 Renesas Solutions Corp.
3  * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.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 as published by
7  * the Free Software Foundation; version 2 of the License.
8  */
9 
10 #ifndef __DT_BINDINGS_CLOCK_R7S72100_H__
11 #define __DT_BINDINGS_CLOCK_R7S72100_H__
12 
13 #define R7S72100_CLK_PLL	0
14 
15 /* MSTP3 */
16 #define R7S72100_CLK_MTU2	3
17 
18 /* MSTP4 */
19 #define R7S72100_CLK_SCIF0	7
20 #define R7S72100_CLK_SCIF1	6
21 #define R7S72100_CLK_SCIF2	5
22 #define R7S72100_CLK_SCIF3	4
23 #define R7S72100_CLK_SCIF4	3
24 #define R7S72100_CLK_SCIF5	2
25 #define R7S72100_CLK_SCIF6	1
26 #define R7S72100_CLK_SCIF7	0
27 
28 /* MSTP5 */
29 #define R7S72100_CLK_OSTM0	1
30 #define R7S72100_CLK_OSTM1	0
31 
32 /* MSTP6 */
33 #define R7S72100_CLK_RTC	0
34 
35 /* MSTP7 */
36 #define R7S72100_CLK_ETHER	4
37 
38 /* MSTP8 */
39 #define R7S72100_CLK_MMCIF	4
40 
41 /* MSTP9 */
42 #define R7S72100_CLK_I2C0	7
43 #define R7S72100_CLK_I2C1	6
44 #define R7S72100_CLK_I2C2	5
45 #define R7S72100_CLK_I2C3	4
46 
47 /* MSTP10 */
48 #define R7S72100_CLK_SPI0	7
49 #define R7S72100_CLK_SPI1	6
50 #define R7S72100_CLK_SPI2	5
51 #define R7S72100_CLK_SPI3	4
52 #define R7S72100_CLK_SPI4	3
53 
54 /* MSTP12 */
55 #define R7S72100_CLK_SDHI00	3
56 #define R7S72100_CLK_SDHI01	2
57 #define R7S72100_CLK_SDHI10	1
58 #define R7S72100_CLK_SDHI11	0
59 
60 #endif /* __DT_BINDINGS_CLOCK_R7S72100_H__ */
61