xref: /linux/include/dt-bindings/clock/r7s72100-clock.h (revision 6c35a666566cf48faaa95699b0d79c6b8cad824c)
1b6face40SWolfram Sang /*
2b6face40SWolfram Sang  * Copyright (C) 2014 Renesas Solutions Corp.
3b6face40SWolfram Sang  * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
4b6face40SWolfram Sang  *
5b6face40SWolfram Sang  * This program is free software; you can redistribute it and/or modify
6b6face40SWolfram Sang  * it under the terms of the GNU General Public License as published by
7b6face40SWolfram Sang  * the Free Software Foundation; version 2 of the License.
8b6face40SWolfram Sang  */
9b6face40SWolfram Sang 
10b6face40SWolfram Sang #ifndef __DT_BINDINGS_CLOCK_R7S72100_H__
11b6face40SWolfram Sang #define __DT_BINDINGS_CLOCK_R7S72100_H__
12b6face40SWolfram Sang 
13b6face40SWolfram Sang #define R7S72100_CLK_PLL	0
14b6face40SWolfram Sang 
15b6face40SWolfram Sang /* MSTP3 */
16b6face40SWolfram Sang #define R7S72100_CLK_MTU2	3
17b6face40SWolfram Sang 
18b6face40SWolfram Sang /* MSTP4 */
19b6face40SWolfram Sang #define R7S72100_CLK_SCIF0	7
20b6face40SWolfram Sang #define R7S72100_CLK_SCIF1	6
21b6face40SWolfram Sang #define R7S72100_CLK_SCIF2	5
22b6face40SWolfram Sang #define R7S72100_CLK_SCIF3	4
23b6face40SWolfram Sang #define R7S72100_CLK_SCIF4	3
24b6face40SWolfram Sang #define R7S72100_CLK_SCIF5	2
25b6face40SWolfram Sang #define R7S72100_CLK_SCIF6	1
26b6face40SWolfram Sang #define R7S72100_CLK_SCIF7	0
27b6face40SWolfram Sang 
28969244f9SChris Brandt /* MSTP7 */
29969244f9SChris Brandt #define R7S72100_CLK_ETHER	4
30969244f9SChris Brandt 
31*6c35a666SChris Brandt /* MSTP8 */
32*6c35a666SChris Brandt #define R7S72100_CLK_MMCIF	4
33*6c35a666SChris Brandt 
34d165566bSWolfram Sang /* MSTP9 */
35d165566bSWolfram Sang #define R7S72100_CLK_I2C0	7
36d165566bSWolfram Sang #define R7S72100_CLK_I2C1	6
37d165566bSWolfram Sang #define R7S72100_CLK_I2C2	5
38d165566bSWolfram Sang #define R7S72100_CLK_I2C3	4
39d165566bSWolfram Sang 
4052eed4f5SWolfram Sang /* MSTP10 */
4152eed4f5SWolfram Sang #define R7S72100_CLK_SPI0	7
4252eed4f5SWolfram Sang #define R7S72100_CLK_SPI1	6
4352eed4f5SWolfram Sang #define R7S72100_CLK_SPI2	5
4452eed4f5SWolfram Sang #define R7S72100_CLK_SPI3	4
4552eed4f5SWolfram Sang #define R7S72100_CLK_SPI4	3
4652eed4f5SWolfram Sang 
47b6face40SWolfram Sang #endif /* __DT_BINDINGS_CLOCK_R7S72100_H__ */
48