xref: /linux/include/dt-bindings/clock/r7s72100-clock.h (revision 929ded3dd7ce91d9ef4143d673b4ace2eb9ab355)
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 
28cfddd3dbSChris Brandt /* MSTP5 */
29cfddd3dbSChris Brandt #define R7S72100_CLK_OSTM0	1
30cfddd3dbSChris Brandt #define R7S72100_CLK_OSTM1	0
31cfddd3dbSChris Brandt 
32*929ded3dSChris Brandt /* MSTP6 */
33*929ded3dSChris Brandt #define R7S72100_CLK_RTC	0
34*929ded3dSChris Brandt 
35969244f9SChris Brandt /* MSTP7 */
36969244f9SChris Brandt #define R7S72100_CLK_ETHER	4
37969244f9SChris Brandt 
386c35a666SChris Brandt /* MSTP8 */
396c35a666SChris Brandt #define R7S72100_CLK_MMCIF	4
406c35a666SChris Brandt 
41d165566bSWolfram Sang /* MSTP9 */
42d165566bSWolfram Sang #define R7S72100_CLK_I2C0	7
43d165566bSWolfram Sang #define R7S72100_CLK_I2C1	6
44d165566bSWolfram Sang #define R7S72100_CLK_I2C2	5
45d165566bSWolfram Sang #define R7S72100_CLK_I2C3	4
46d165566bSWolfram Sang 
4752eed4f5SWolfram Sang /* MSTP10 */
4852eed4f5SWolfram Sang #define R7S72100_CLK_SPI0	7
4952eed4f5SWolfram Sang #define R7S72100_CLK_SPI1	6
5052eed4f5SWolfram Sang #define R7S72100_CLK_SPI2	5
5152eed4f5SWolfram Sang #define R7S72100_CLK_SPI3	4
5252eed4f5SWolfram Sang #define R7S72100_CLK_SPI4	3
5352eed4f5SWolfram Sang 
547c8522b7SChris Brandt /* MSTP12 */
553d2abda0SChris Brandt #define R7S72100_CLK_SDHI00	3
563d2abda0SChris Brandt #define R7S72100_CLK_SDHI01	2
573d2abda0SChris Brandt #define R7S72100_CLK_SDHI10	1
583d2abda0SChris Brandt #define R7S72100_CLK_SDHI11	0
597c8522b7SChris Brandt 
60b6face40SWolfram Sang #endif /* __DT_BINDINGS_CLOCK_R7S72100_H__ */
61