xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/r8a7779-clock.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-or-later */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * Copyright (C) 2013  Horms Solutions Ltd.
4*c66ec88fSEmmanuel Vadot  *
5*c66ec88fSEmmanuel Vadot  * Contact: Simon Horman <horms@verge.net.au>
6*c66ec88fSEmmanuel Vadot  */
7*c66ec88fSEmmanuel Vadot 
8*c66ec88fSEmmanuel Vadot #ifndef __DT_BINDINGS_CLOCK_R8A7779_H__
9*c66ec88fSEmmanuel Vadot #define __DT_BINDINGS_CLOCK_R8A7779_H__
10*c66ec88fSEmmanuel Vadot 
11*c66ec88fSEmmanuel Vadot /* CPG */
12*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_PLLA	0
13*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_Z		1
14*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_ZS		2
15*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_S		3
16*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_S1		4
17*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_P		5
18*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_B		6
19*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_OUT		7
20*c66ec88fSEmmanuel Vadot 
21*c66ec88fSEmmanuel Vadot /* MSTP 0 */
22*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_HSPI	7
23*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_TMU2	14
24*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_TMU1	15
25*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_TMU0	16
26*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_HSCIF1	18
27*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_HSCIF0	19
28*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SCIF5	21
29*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SCIF4	22
30*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SCIF3	23
31*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SCIF2	24
32*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SCIF1	25
33*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SCIF0	26
34*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_I2C3	27
35*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_I2C2	28
36*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_I2C1	29
37*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_I2C0	30
38*c66ec88fSEmmanuel Vadot 
39*c66ec88fSEmmanuel Vadot /* MSTP 1 */
40*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_USB01	0
41*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_USB2	1
42*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_DU		3
43*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_VIN2	8
44*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_VIN1	9
45*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_VIN0	10
46*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_ETHER	14
47*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SATA	15
48*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_PCIE	16
49*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_VIN3	20
50*c66ec88fSEmmanuel Vadot 
51*c66ec88fSEmmanuel Vadot /* MSTP 3 */
52*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SDHI3	20
53*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SDHI2	21
54*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SDHI1	22
55*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_SDHI0	23
56*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_MMC1	30
57*c66ec88fSEmmanuel Vadot #define R8A7779_CLK_MMC0	31
58*c66ec88fSEmmanuel Vadot 
59*c66ec88fSEmmanuel Vadot 
60*c66ec88fSEmmanuel Vadot #endif /* __DT_BINDINGS_CLOCK_R8A7779_H__ */
61