1de0fae60SSergei Shtylyov /*
2de0fae60SSergei Shtylyov  * Copyright (C) 2016 Cogent Embedded, Inc.
3de0fae60SSergei Shtylyov  *
4de0fae60SSergei Shtylyov  * This program is free software; you can redistribute it and/or modify
5de0fae60SSergei Shtylyov  * it under the terms of the GNU General Public License as published by
6de0fae60SSergei Shtylyov  * the Free Software Foundation; either version 2 of the License, or
7de0fae60SSergei Shtylyov  * (at your option) any later version.
8de0fae60SSergei Shtylyov  */
9de0fae60SSergei Shtylyov 
10de0fae60SSergei Shtylyov #ifndef __DT_BINDINGS_CLOCK_R8A7792_H__
11de0fae60SSergei Shtylyov #define __DT_BINDINGS_CLOCK_R8A7792_H__
12de0fae60SSergei Shtylyov 
13de0fae60SSergei Shtylyov /* CPG */
14de0fae60SSergei Shtylyov #define R8A7792_CLK_MAIN		0
15de0fae60SSergei Shtylyov #define R8A7792_CLK_PLL0		1
16de0fae60SSergei Shtylyov #define R8A7792_CLK_PLL1		2
17de0fae60SSergei Shtylyov #define R8A7792_CLK_PLL3		3
18de0fae60SSergei Shtylyov #define R8A7792_CLK_LB			4
19de0fae60SSergei Shtylyov #define R8A7792_CLK_QSPI		5
20de0fae60SSergei Shtylyov #define R8A7792_CLK_Z			6
21de0fae60SSergei Shtylyov #define R8A7792_CLK_ADSP		7
22de0fae60SSergei Shtylyov 
23de0fae60SSergei Shtylyov /* MSTP0 */
24de0fae60SSergei Shtylyov #define R8A7792_CLK_MSIOF0		0
25de0fae60SSergei Shtylyov 
26de0fae60SSergei Shtylyov /* MSTP1 */
27eebc8e2cSSergei Shtylyov #define R8A7792_CLK_JPU			6
28de0fae60SSergei Shtylyov #define R8A7792_CLK_TMU1		11
29de0fae60SSergei Shtylyov #define R8A7792_CLK_TMU3		21
30de0fae60SSergei Shtylyov #define R8A7792_CLK_TMU2		22
31de0fae60SSergei Shtylyov #define R8A7792_CLK_CMT0		24
32de0fae60SSergei Shtylyov #define R8A7792_CLK_TMU0		25
33de0fae60SSergei Shtylyov #define R8A7792_CLK_VSP1DU1		27
34de0fae60SSergei Shtylyov #define R8A7792_CLK_VSP1DU0		28
35de0fae60SSergei Shtylyov #define R8A7792_CLK_VSP1_SY		31
36de0fae60SSergei Shtylyov 
37de0fae60SSergei Shtylyov /* MSTP2 */
38de0fae60SSergei Shtylyov #define R8A7792_CLK_MSIOF1		8
39de0fae60SSergei Shtylyov #define R8A7792_CLK_SYS_DMAC1		18
40de0fae60SSergei Shtylyov #define R8A7792_CLK_SYS_DMAC0		19
41de0fae60SSergei Shtylyov 
42de0fae60SSergei Shtylyov /* MSTP3 */
43de0fae60SSergei Shtylyov #define R8A7792_CLK_TPU0		4
44de0fae60SSergei Shtylyov #define R8A7792_CLK_SDHI0		14
45de0fae60SSergei Shtylyov #define R8A7792_CLK_CMT1		29
46de0fae60SSergei Shtylyov 
47de0fae60SSergei Shtylyov /* MSTP4 */
48de0fae60SSergei Shtylyov #define R8A7792_CLK_IRQC		7
49de0fae60SSergei Shtylyov 
50de0fae60SSergei Shtylyov /* MSTP5 */
51de0fae60SSergei Shtylyov #define R8A7792_CLK_AUDIO_DMAC0		2
52de0fae60SSergei Shtylyov #define R8A7792_CLK_THERMAL		22
53de0fae60SSergei Shtylyov #define R8A7792_CLK_PWM			23
54de0fae60SSergei Shtylyov 
55de0fae60SSergei Shtylyov /* MSTP7 */
56de0fae60SSergei Shtylyov #define R8A7792_CLK_HSCIF1		16
57de0fae60SSergei Shtylyov #define R8A7792_CLK_HSCIF0		17
58de0fae60SSergei Shtylyov #define R8A7792_CLK_SCIF3		18
59de0fae60SSergei Shtylyov #define R8A7792_CLK_SCIF2		19
60de0fae60SSergei Shtylyov #define R8A7792_CLK_SCIF1		20
61de0fae60SSergei Shtylyov #define R8A7792_CLK_SCIF0		21
62de0fae60SSergei Shtylyov #define R8A7792_CLK_DU1			23
63de0fae60SSergei Shtylyov #define R8A7792_CLK_DU0			24
64de0fae60SSergei Shtylyov 
65de0fae60SSergei Shtylyov /* MSTP8 */
66de0fae60SSergei Shtylyov #define R8A7792_CLK_VIN5		4
67de0fae60SSergei Shtylyov #define R8A7792_CLK_VIN4		5
68de0fae60SSergei Shtylyov #define R8A7792_CLK_VIN3		8
69de0fae60SSergei Shtylyov #define R8A7792_CLK_VIN2		9
70de0fae60SSergei Shtylyov #define R8A7792_CLK_VIN1		10
71de0fae60SSergei Shtylyov #define R8A7792_CLK_VIN0		11
72de0fae60SSergei Shtylyov #define R8A7792_CLK_ETHERAVB		12
73de0fae60SSergei Shtylyov 
74de0fae60SSergei Shtylyov /* MSTP9 */
75de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO7		4
76de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO6		5
77de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO5		7
78de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO4		8
79de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO3		9
80de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO2		10
81de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO1		11
82de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO0		12
83de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO11		13
84de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO10		14
85de0fae60SSergei Shtylyov #define R8A7792_CLK_CAN1		15
86de0fae60SSergei Shtylyov #define R8A7792_CLK_CAN0		16
87de0fae60SSergei Shtylyov #define R8A7792_CLK_QSPI_MOD		17
88de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO9		19
89de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO8		21
90de0fae60SSergei Shtylyov #define R8A7792_CLK_I2C5		25
91de0fae60SSergei Shtylyov #define R8A7792_CLK_IICDVFS		26
92de0fae60SSergei Shtylyov #define R8A7792_CLK_I2C4		27
93de0fae60SSergei Shtylyov #define R8A7792_CLK_I2C3		28
94de0fae60SSergei Shtylyov #define R8A7792_CLK_I2C2		29
95de0fae60SSergei Shtylyov #define R8A7792_CLK_I2C1		30
96de0fae60SSergei Shtylyov #define R8A7792_CLK_I2C0		31
97de0fae60SSergei Shtylyov 
98de0fae60SSergei Shtylyov /* MSTP10 */
99de0fae60SSergei Shtylyov #define R8A7792_CLK_SSI_ALL		5
100de0fae60SSergei Shtylyov #define R8A7792_CLK_SSI4		11
101de0fae60SSergei Shtylyov #define R8A7792_CLK_SSI3		12
102de0fae60SSergei Shtylyov 
103de0fae60SSergei Shtylyov #endif /* __DT_BINDINGS_CLOCK_R8A7792_H__ */
104