xref: /linux/include/dt-bindings/clock/sun9i-a80-de.h (revision 0337966d121ebebf73a1c346123e8112796e684e)
1*783ab76aSChen-Yu Tsai /*
2*783ab76aSChen-Yu Tsai  * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>
3*783ab76aSChen-Yu Tsai  *
4*783ab76aSChen-Yu Tsai  * This file is dual-licensed: you can use it either under the terms
5*783ab76aSChen-Yu Tsai  * of the GPL or the X11 license, at your option. Note that this dual
6*783ab76aSChen-Yu Tsai  * licensing only applies to this file, and not this project as a
7*783ab76aSChen-Yu Tsai  * whole.
8*783ab76aSChen-Yu Tsai  *
9*783ab76aSChen-Yu Tsai  *  a) This file is free software; you can redistribute it and/or
10*783ab76aSChen-Yu Tsai  *     modify it under the terms of the GNU General Public License as
11*783ab76aSChen-Yu Tsai  *     published by the Free Software Foundation; either version 2 of the
12*783ab76aSChen-Yu Tsai  *     License, or (at your option) any later version.
13*783ab76aSChen-Yu Tsai  *
14*783ab76aSChen-Yu Tsai  *     This file is distributed in the hope that it will be useful,
15*783ab76aSChen-Yu Tsai  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16*783ab76aSChen-Yu Tsai  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*783ab76aSChen-Yu Tsai  *     GNU General Public License for more details.
18*783ab76aSChen-Yu Tsai  *
19*783ab76aSChen-Yu Tsai  * Or, alternatively,
20*783ab76aSChen-Yu Tsai  *
21*783ab76aSChen-Yu Tsai  *  b) Permission is hereby granted, free of charge, to any person
22*783ab76aSChen-Yu Tsai  *     obtaining a copy of this software and associated documentation
23*783ab76aSChen-Yu Tsai  *     files (the "Software"), to deal in the Software without
24*783ab76aSChen-Yu Tsai  *     restriction, including without limitation the rights to use,
25*783ab76aSChen-Yu Tsai  *     copy, modify, merge, publish, distribute, sublicense, and/or
26*783ab76aSChen-Yu Tsai  *     sell copies of the Software, and to permit persons to whom the
27*783ab76aSChen-Yu Tsai  *     Software is furnished to do so, subject to the following
28*783ab76aSChen-Yu Tsai  *     conditions:
29*783ab76aSChen-Yu Tsai  *
30*783ab76aSChen-Yu Tsai  *     The above copyright notice and this permission notice shall be
31*783ab76aSChen-Yu Tsai  *     included in all copies or substantial portions of the Software.
32*783ab76aSChen-Yu Tsai  *
33*783ab76aSChen-Yu Tsai  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34*783ab76aSChen-Yu Tsai  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35*783ab76aSChen-Yu Tsai  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36*783ab76aSChen-Yu Tsai  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37*783ab76aSChen-Yu Tsai  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38*783ab76aSChen-Yu Tsai  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39*783ab76aSChen-Yu Tsai  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40*783ab76aSChen-Yu Tsai  *     OTHER DEALINGS IN THE SOFTWARE.
41*783ab76aSChen-Yu Tsai  */
42*783ab76aSChen-Yu Tsai 
43*783ab76aSChen-Yu Tsai #ifndef _DT_BINDINGS_CLOCK_SUN9I_A80_DE_H_
44*783ab76aSChen-Yu Tsai #define _DT_BINDINGS_CLOCK_SUN9I_A80_DE_H_
45*783ab76aSChen-Yu Tsai 
46*783ab76aSChen-Yu Tsai #define CLK_FE0			0
47*783ab76aSChen-Yu Tsai #define CLK_FE1			1
48*783ab76aSChen-Yu Tsai #define CLK_FE2			2
49*783ab76aSChen-Yu Tsai #define CLK_IEP_DEU0		3
50*783ab76aSChen-Yu Tsai #define CLK_IEP_DEU1		4
51*783ab76aSChen-Yu Tsai #define CLK_BE0			5
52*783ab76aSChen-Yu Tsai #define CLK_BE1			6
53*783ab76aSChen-Yu Tsai #define CLK_BE2			7
54*783ab76aSChen-Yu Tsai #define CLK_IEP_DRC0		8
55*783ab76aSChen-Yu Tsai #define CLK_IEP_DRC1		9
56*783ab76aSChen-Yu Tsai #define CLK_MERGE		10
57*783ab76aSChen-Yu Tsai 
58*783ab76aSChen-Yu Tsai #define CLK_DRAM_FE0		11
59*783ab76aSChen-Yu Tsai #define CLK_DRAM_FE1		12
60*783ab76aSChen-Yu Tsai #define CLK_DRAM_FE2		13
61*783ab76aSChen-Yu Tsai #define CLK_DRAM_DEU0		14
62*783ab76aSChen-Yu Tsai #define CLK_DRAM_DEU1		15
63*783ab76aSChen-Yu Tsai #define CLK_DRAM_BE0		16
64*783ab76aSChen-Yu Tsai #define CLK_DRAM_BE1		17
65*783ab76aSChen-Yu Tsai #define CLK_DRAM_BE2		18
66*783ab76aSChen-Yu Tsai #define CLK_DRAM_DRC0		19
67*783ab76aSChen-Yu Tsai #define CLK_DRAM_DRC1		20
68*783ab76aSChen-Yu Tsai 
69*783ab76aSChen-Yu Tsai #define CLK_BUS_FE0		21
70*783ab76aSChen-Yu Tsai #define CLK_BUS_FE1		22
71*783ab76aSChen-Yu Tsai #define CLK_BUS_FE2		23
72*783ab76aSChen-Yu Tsai #define CLK_BUS_DEU0		24
73*783ab76aSChen-Yu Tsai #define CLK_BUS_DEU1		25
74*783ab76aSChen-Yu Tsai #define CLK_BUS_BE0		26
75*783ab76aSChen-Yu Tsai #define CLK_BUS_BE1		27
76*783ab76aSChen-Yu Tsai #define CLK_BUS_BE2		28
77*783ab76aSChen-Yu Tsai #define CLK_BUS_DRC0		29
78*783ab76aSChen-Yu Tsai #define CLK_BUS_DRC1		30
79*783ab76aSChen-Yu Tsai 
80*783ab76aSChen-Yu Tsai #endif /* _DT_BINDINGS_CLOCK_SUN9I_A80_DE_H_ */
81