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 */
27de0fae60SSergei Shtylyov #define R8A7792_CLK_TMU1		11
28de0fae60SSergei Shtylyov #define R8A7792_CLK_TMU3		21
29de0fae60SSergei Shtylyov #define R8A7792_CLK_TMU2		22
30de0fae60SSergei Shtylyov #define R8A7792_CLK_CMT0		24
31de0fae60SSergei Shtylyov #define R8A7792_CLK_TMU0		25
32de0fae60SSergei Shtylyov #define R8A7792_CLK_VSP1DU1		27
33de0fae60SSergei Shtylyov #define R8A7792_CLK_VSP1DU0		28
34de0fae60SSergei Shtylyov #define R8A7792_CLK_VSP1_SY		31
35de0fae60SSergei Shtylyov 
36de0fae60SSergei Shtylyov /* MSTP2 */
37de0fae60SSergei Shtylyov #define R8A7792_CLK_MSIOF1		8
38de0fae60SSergei Shtylyov #define R8A7792_CLK_SYS_DMAC1		18
39de0fae60SSergei Shtylyov #define R8A7792_CLK_SYS_DMAC0		19
40de0fae60SSergei Shtylyov 
41de0fae60SSergei Shtylyov /* MSTP3 */
42de0fae60SSergei Shtylyov #define R8A7792_CLK_TPU0		4
43de0fae60SSergei Shtylyov #define R8A7792_CLK_SDHI0		14
44de0fae60SSergei Shtylyov #define R8A7792_CLK_CMT1		29
45de0fae60SSergei Shtylyov 
46de0fae60SSergei Shtylyov /* MSTP4 */
47de0fae60SSergei Shtylyov #define R8A7792_CLK_IRQC		7
48de0fae60SSergei Shtylyov 
49de0fae60SSergei Shtylyov /* MSTP5 */
50de0fae60SSergei Shtylyov #define R8A7792_CLK_AUDIO_DMAC0		2
51de0fae60SSergei Shtylyov #define R8A7792_CLK_THERMAL		22
52de0fae60SSergei Shtylyov #define R8A7792_CLK_PWM			23
53de0fae60SSergei Shtylyov 
54de0fae60SSergei Shtylyov /* MSTP7 */
55de0fae60SSergei Shtylyov #define R8A7792_CLK_HSCIF1		16
56de0fae60SSergei Shtylyov #define R8A7792_CLK_HSCIF0		17
57de0fae60SSergei Shtylyov #define R8A7792_CLK_SCIF3		18
58de0fae60SSergei Shtylyov #define R8A7792_CLK_SCIF2		19
59de0fae60SSergei Shtylyov #define R8A7792_CLK_SCIF1		20
60de0fae60SSergei Shtylyov #define R8A7792_CLK_SCIF0		21
61de0fae60SSergei Shtylyov #define R8A7792_CLK_DU1			23
62de0fae60SSergei Shtylyov #define R8A7792_CLK_DU0			24
63de0fae60SSergei Shtylyov 
64de0fae60SSergei Shtylyov /* MSTP8 */
65de0fae60SSergei Shtylyov #define R8A7792_CLK_VIN5		4
66de0fae60SSergei Shtylyov #define R8A7792_CLK_VIN4		5
67de0fae60SSergei Shtylyov #define R8A7792_CLK_VIN3		8
68de0fae60SSergei Shtylyov #define R8A7792_CLK_VIN2		9
69de0fae60SSergei Shtylyov #define R8A7792_CLK_VIN1		10
70de0fae60SSergei Shtylyov #define R8A7792_CLK_VIN0		11
71de0fae60SSergei Shtylyov #define R8A7792_CLK_ETHERAVB		12
72de0fae60SSergei Shtylyov 
73de0fae60SSergei Shtylyov /* MSTP9 */
74de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO7		4
75de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO6		5
76de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO5		7
77de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO4		8
78de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO3		9
79de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO2		10
80de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO1		11
81de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO0		12
82de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO11		13
83de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO10		14
84de0fae60SSergei Shtylyov #define R8A7792_CLK_CAN1		15
85de0fae60SSergei Shtylyov #define R8A7792_CLK_CAN0		16
86de0fae60SSergei Shtylyov #define R8A7792_CLK_QSPI_MOD		17
87de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO9		19
88de0fae60SSergei Shtylyov #define R8A7792_CLK_GPIO8		21
89de0fae60SSergei Shtylyov #define R8A7792_CLK_I2C5		25
90de0fae60SSergei Shtylyov #define R8A7792_CLK_IICDVFS		26
91de0fae60SSergei Shtylyov #define R8A7792_CLK_I2C4		27
92de0fae60SSergei Shtylyov #define R8A7792_CLK_I2C3		28
93de0fae60SSergei Shtylyov #define R8A7792_CLK_I2C2		29
94de0fae60SSergei Shtylyov #define R8A7792_CLK_I2C1		30
95de0fae60SSergei Shtylyov #define R8A7792_CLK_I2C0		31
96de0fae60SSergei Shtylyov 
97de0fae60SSergei Shtylyov /* MSTP10 */
98de0fae60SSergei Shtylyov #define R8A7792_CLK_SSI_ALL		5
99de0fae60SSergei Shtylyov #define R8A7792_CLK_SSI4		11
100de0fae60SSergei Shtylyov #define R8A7792_CLK_SSI3		12
101de0fae60SSergei Shtylyov 
102de0fae60SSergei Shtylyov #endif /* __DT_BINDINGS_CLOCK_R8A7792_H__ */
103