blob: bc256d31099a6eafa64f73078e87ca99b10ec0fa [file] [log] [blame]
Wolfram Sangb6face42014-05-14 03:10:06 +02001/*
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
Chris Brandtcfddd3d2017-01-23 08:55:18 -050028/* MSTP5 */
29#define R7S72100_CLK_OSTM0 1
30#define R7S72100_CLK_OSTM1 0
31
Chris Brandt929ded32017-03-29 10:30:31 -070032/* MSTP6 */
33#define R7S72100_CLK_RTC 0
34
Chris Brandt969244f2016-09-01 21:40:10 -040035/* MSTP7 */
36#define R7S72100_CLK_ETHER 4
37
Chris Brandt6c35a662016-09-15 15:34:02 -040038/* MSTP8 */
39#define R7S72100_CLK_MMCIF 4
40
Wolfram Sangd1655662014-05-14 03:10:11 +020041/* 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
Wolfram Sang52eed4f2014-05-14 03:10:13 +020047/* 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
Chris Brandt7c8522b2016-09-22 17:32:09 -040054/* MSTP12 */
Chris Brandt3d2abda2017-01-25 15:28:10 -050055#define R7S72100_CLK_SDHI00 3
56#define R7S72100_CLK_SDHI01 2
57#define R7S72100_CLK_SDHI10 1
58#define R7S72100_CLK_SDHI11 0
Chris Brandt7c8522b2016-09-22 17:32:09 -040059
Wolfram Sangb6face42014-05-14 03:10:06 +020060#endif /* __DT_BINDINGS_CLOCK_R7S72100_H__ */