xref: /linux/include/dt-bindings/clock/r7s72100-clock.h (revision 5d169ce7371227d899d749cc5289ce50aff7d99f)
1*5d169ce7SKuninori Morimoto /* SPDX-License-Identifier: GPL-2.0
2*5d169ce7SKuninori Morimoto  *
3b6face40SWolfram Sang  * Copyright (C) 2014 Renesas Solutions Corp.
4b6face40SWolfram Sang  * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
5b6face40SWolfram Sang  */
6b6face40SWolfram Sang 
7b6face40SWolfram Sang #ifndef __DT_BINDINGS_CLOCK_R7S72100_H__
8b6face40SWolfram Sang #define __DT_BINDINGS_CLOCK_R7S72100_H__
9b6face40SWolfram Sang 
10b6face40SWolfram Sang #define R7S72100_CLK_PLL	0
1144842cc8SGeert Uytterhoeven #define R7S72100_CLK_I		1
1244842cc8SGeert Uytterhoeven #define R7S72100_CLK_G		2
13b6face40SWolfram Sang 
14fe811e1dSChris Brandt /* MSTP2 */
15fe811e1dSChris Brandt #define R7S72100_CLK_CORESIGHT	0
16fe811e1dSChris Brandt 
17b6face40SWolfram Sang /* MSTP3 */
18fe811e1dSChris Brandt #define R7S72100_CLK_IEBUS	7
19fe811e1dSChris Brandt #define R7S72100_CLK_IRDA	6
20fe811e1dSChris Brandt #define R7S72100_CLK_LIN0	5
21fe811e1dSChris Brandt #define R7S72100_CLK_LIN1	4
22b6face40SWolfram Sang #define R7S72100_CLK_MTU2	3
23fe811e1dSChris Brandt #define R7S72100_CLK_CAN	2
24fe811e1dSChris Brandt #define R7S72100_CLK_ADCPWR	1
25fe811e1dSChris Brandt #define R7S72100_CLK_PWM	0
26b6face40SWolfram Sang 
27b6face40SWolfram Sang /* MSTP4 */
28b6face40SWolfram Sang #define R7S72100_CLK_SCIF0	7
29b6face40SWolfram Sang #define R7S72100_CLK_SCIF1	6
30b6face40SWolfram Sang #define R7S72100_CLK_SCIF2	5
31b6face40SWolfram Sang #define R7S72100_CLK_SCIF3	4
32b6face40SWolfram Sang #define R7S72100_CLK_SCIF4	3
33b6face40SWolfram Sang #define R7S72100_CLK_SCIF5	2
34b6face40SWolfram Sang #define R7S72100_CLK_SCIF6	1
35b6face40SWolfram Sang #define R7S72100_CLK_SCIF7	0
36b6face40SWolfram Sang 
37cfddd3dbSChris Brandt /* MSTP5 */
38fe811e1dSChris Brandt #define R7S72100_CLK_SCI0	7
39fe811e1dSChris Brandt #define R7S72100_CLK_SCI1	6
40fe811e1dSChris Brandt #define R7S72100_CLK_SG0	5
41fe811e1dSChris Brandt #define R7S72100_CLK_SG1	4
42fe811e1dSChris Brandt #define R7S72100_CLK_SG2	3
43fe811e1dSChris Brandt #define R7S72100_CLK_SG3	2
44cfddd3dbSChris Brandt #define R7S72100_CLK_OSTM0	1
45cfddd3dbSChris Brandt #define R7S72100_CLK_OSTM1	0
46cfddd3dbSChris Brandt 
47929ded3dSChris Brandt /* MSTP6 */
48fe811e1dSChris Brandt #define R7S72100_CLK_ADC	7
49fe811e1dSChris Brandt #define R7S72100_CLK_CEU	6
50fe811e1dSChris Brandt #define R7S72100_CLK_DOC0	5
51fe811e1dSChris Brandt #define R7S72100_CLK_DOC1	4
52fe811e1dSChris Brandt #define R7S72100_CLK_DRC0	3
53fe811e1dSChris Brandt #define R7S72100_CLK_DRC1	2
54fe811e1dSChris Brandt #define R7S72100_CLK_JCU	1
55929ded3dSChris Brandt #define R7S72100_CLK_RTC	0
56929ded3dSChris Brandt 
57969244f9SChris Brandt /* MSTP7 */
58fe811e1dSChris Brandt #define R7S72100_CLK_VDEC0	7
59fe811e1dSChris Brandt #define R7S72100_CLK_VDEC1	6
60969244f9SChris Brandt #define R7S72100_CLK_ETHER	4
61fe811e1dSChris Brandt #define R7S72100_CLK_NAND	3
6240c9bbeaSChris Brandt #define R7S72100_CLK_USB0	1
6340c9bbeaSChris Brandt #define R7S72100_CLK_USB1	0
64969244f9SChris Brandt 
656c35a666SChris Brandt /* MSTP8 */
66fe811e1dSChris Brandt #define R7S72100_CLK_IMR0	7
67fe811e1dSChris Brandt #define R7S72100_CLK_IMR1	6
68fe811e1dSChris Brandt #define R7S72100_CLK_IMRDISP	5
696c35a666SChris Brandt #define R7S72100_CLK_MMCIF	4
70fe811e1dSChris Brandt #define R7S72100_CLK_MLB	3
71fe811e1dSChris Brandt #define R7S72100_CLK_ETHAVB	2
72fe811e1dSChris Brandt #define R7S72100_CLK_SCUX	1
736c35a666SChris Brandt 
74d165566bSWolfram Sang /* MSTP9 */
75d165566bSWolfram Sang #define R7S72100_CLK_I2C0	7
76d165566bSWolfram Sang #define R7S72100_CLK_I2C1	6
77d165566bSWolfram Sang #define R7S72100_CLK_I2C2	5
78d165566bSWolfram Sang #define R7S72100_CLK_I2C3	4
79fe811e1dSChris Brandt #define R7S72100_CLK_SPIBSC0	3
80fe811e1dSChris Brandt #define R7S72100_CLK_SPIBSC1	2
81fe811e1dSChris Brandt #define R7S72100_CLK_VDC50	1	/* and LVDS */
82fe811e1dSChris Brandt #define R7S72100_CLK_VDC51	0
83d165566bSWolfram Sang 
8452eed4f5SWolfram Sang /* MSTP10 */
8552eed4f5SWolfram Sang #define R7S72100_CLK_SPI0	7
8652eed4f5SWolfram Sang #define R7S72100_CLK_SPI1	6
8752eed4f5SWolfram Sang #define R7S72100_CLK_SPI2	5
8852eed4f5SWolfram Sang #define R7S72100_CLK_SPI3	4
8952eed4f5SWolfram Sang #define R7S72100_CLK_SPI4	3
90fe811e1dSChris Brandt #define R7S72100_CLK_CDROM	2
91fe811e1dSChris Brandt #define R7S72100_CLK_SPDIF	1
92fe811e1dSChris Brandt #define R7S72100_CLK_RGPVG2	0
93fe811e1dSChris Brandt 
94fe811e1dSChris Brandt /* MSTP11 */
95fe811e1dSChris Brandt #define R7S72100_CLK_SSI0	5
96fe811e1dSChris Brandt #define R7S72100_CLK_SSI1	4
97fe811e1dSChris Brandt #define R7S72100_CLK_SSI2	3
98fe811e1dSChris Brandt #define R7S72100_CLK_SSI3	2
99fe811e1dSChris Brandt #define R7S72100_CLK_SSI4	1
100fe811e1dSChris Brandt #define R7S72100_CLK_SSI5	0
10152eed4f5SWolfram Sang 
1027c8522b7SChris Brandt /* MSTP12 */
1033d2abda0SChris Brandt #define R7S72100_CLK_SDHI00	3
1043d2abda0SChris Brandt #define R7S72100_CLK_SDHI01	2
1053d2abda0SChris Brandt #define R7S72100_CLK_SDHI10	1
1063d2abda0SChris Brandt #define R7S72100_CLK_SDHI11	0
1077c8522b7SChris Brandt 
108fe811e1dSChris Brandt /* MSTP13 */
109fe811e1dSChris Brandt #define R7S72100_CLK_PIX1	2
110fe811e1dSChris Brandt #define R7S72100_CLK_PIX0	1
111fe811e1dSChris Brandt 
112b6face40SWolfram Sang #endif /* __DT_BINDINGS_CLOCK_R7S72100_H__ */
113