1*8dcc7e69SJagan Teki /*
2*8dcc7e69SJagan Teki  * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>
3*8dcc7e69SJagan Teki  *
4*8dcc7e69SJagan Teki  * This file is dual-licensed: you can use it either under the terms
5*8dcc7e69SJagan Teki  * of the GPL or the X11 license, at your option. Note that this dual
6*8dcc7e69SJagan Teki  * licensing only applies to this file, and not this project as a
7*8dcc7e69SJagan Teki  * whole.
8*8dcc7e69SJagan Teki  *
9*8dcc7e69SJagan Teki  *  a) This file is free software; you can redistribute it and/or
10*8dcc7e69SJagan Teki  *     modify it under the terms of the GNU General Public License as
11*8dcc7e69SJagan Teki  *     published by the Free Software Foundation; either version 2 of the
12*8dcc7e69SJagan Teki  *     License, or (at your option) any later version.
13*8dcc7e69SJagan Teki  *
14*8dcc7e69SJagan Teki  *     This file is distributed in the hope that it will be useful,
15*8dcc7e69SJagan Teki  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16*8dcc7e69SJagan Teki  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*8dcc7e69SJagan Teki  *     GNU General Public License for more details.
18*8dcc7e69SJagan Teki  *
19*8dcc7e69SJagan Teki  * Or, alternatively,
20*8dcc7e69SJagan Teki  *
21*8dcc7e69SJagan Teki  *  b) Permission is hereby granted, free of charge, to any person
22*8dcc7e69SJagan Teki  *     obtaining a copy of this software and associated documentation
23*8dcc7e69SJagan Teki  *     files (the "Software"), to deal in the Software without
24*8dcc7e69SJagan Teki  *     restriction, including without limitation the rights to use,
25*8dcc7e69SJagan Teki  *     copy, modify, merge, publish, distribute, sublicense, and/or
26*8dcc7e69SJagan Teki  *     sell copies of the Software, and to permit persons to whom the
27*8dcc7e69SJagan Teki  *     Software is furnished to do so, subject to the following
28*8dcc7e69SJagan Teki  *     conditions:
29*8dcc7e69SJagan Teki  *
30*8dcc7e69SJagan Teki  *     The above copyright notice and this permission notice shall be
31*8dcc7e69SJagan Teki  *     included in all copies or substantial portions of the Software.
32*8dcc7e69SJagan Teki  *
33*8dcc7e69SJagan Teki  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34*8dcc7e69SJagan Teki  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35*8dcc7e69SJagan Teki  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36*8dcc7e69SJagan Teki  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37*8dcc7e69SJagan Teki  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38*8dcc7e69SJagan Teki  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39*8dcc7e69SJagan Teki  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40*8dcc7e69SJagan Teki  *     OTHER DEALINGS IN THE SOFTWARE.
41*8dcc7e69SJagan Teki  */
42*8dcc7e69SJagan Teki 
43*8dcc7e69SJagan Teki #ifndef _DT_BINDINGS_RESET_SUN9I_A80_CCU_H_
44*8dcc7e69SJagan Teki #define _DT_BINDINGS_RESET_SUN9I_A80_CCU_H_
45*8dcc7e69SJagan Teki 
46*8dcc7e69SJagan Teki #define RST_BUS_FD		0
47*8dcc7e69SJagan Teki #define RST_BUS_VE		1
48*8dcc7e69SJagan Teki #define RST_BUS_GPU_CTRL	2
49*8dcc7e69SJagan Teki #define RST_BUS_SS		3
50*8dcc7e69SJagan Teki #define RST_BUS_MMC		4
51*8dcc7e69SJagan Teki #define RST_BUS_NAND0		5
52*8dcc7e69SJagan Teki #define RST_BUS_NAND1		6
53*8dcc7e69SJagan Teki #define RST_BUS_SDRAM		7
54*8dcc7e69SJagan Teki #define RST_BUS_SATA		8
55*8dcc7e69SJagan Teki #define RST_BUS_TS		9
56*8dcc7e69SJagan Teki #define RST_BUS_SPI0		10
57*8dcc7e69SJagan Teki #define RST_BUS_SPI1		11
58*8dcc7e69SJagan Teki #define RST_BUS_SPI2		12
59*8dcc7e69SJagan Teki #define RST_BUS_SPI3		13
60*8dcc7e69SJagan Teki 
61*8dcc7e69SJagan Teki #define RST_BUS_OTG		14
62*8dcc7e69SJagan Teki #define RST_BUS_OTG_PHY		15
63*8dcc7e69SJagan Teki #define RST_BUS_MIPI_HSI	16
64*8dcc7e69SJagan Teki #define RST_BUS_GMAC		17
65*8dcc7e69SJagan Teki #define RST_BUS_MSGBOX		18
66*8dcc7e69SJagan Teki #define RST_BUS_SPINLOCK	19
67*8dcc7e69SJagan Teki #define RST_BUS_HSTIMER		20
68*8dcc7e69SJagan Teki #define RST_BUS_DMA		21
69*8dcc7e69SJagan Teki 
70*8dcc7e69SJagan Teki #define RST_BUS_LCD0		22
71*8dcc7e69SJagan Teki #define RST_BUS_LCD1		23
72*8dcc7e69SJagan Teki #define RST_BUS_EDP		24
73*8dcc7e69SJagan Teki #define RST_BUS_LVDS		25
74*8dcc7e69SJagan Teki #define RST_BUS_CSI		26
75*8dcc7e69SJagan Teki #define RST_BUS_HDMI0		27
76*8dcc7e69SJagan Teki #define RST_BUS_HDMI1		28
77*8dcc7e69SJagan Teki #define RST_BUS_DE		29
78*8dcc7e69SJagan Teki #define RST_BUS_MP		30
79*8dcc7e69SJagan Teki #define RST_BUS_GPU		31
80*8dcc7e69SJagan Teki #define RST_BUS_MIPI_DSI	32
81*8dcc7e69SJagan Teki 
82*8dcc7e69SJagan Teki #define RST_BUS_SPDIF		33
83*8dcc7e69SJagan Teki #define RST_BUS_AC97		34
84*8dcc7e69SJagan Teki #define RST_BUS_I2S0		35
85*8dcc7e69SJagan Teki #define RST_BUS_I2S1		36
86*8dcc7e69SJagan Teki #define RST_BUS_LRADC		37
87*8dcc7e69SJagan Teki #define RST_BUS_GPADC		38
88*8dcc7e69SJagan Teki #define RST_BUS_CIR_TX		39
89*8dcc7e69SJagan Teki 
90*8dcc7e69SJagan Teki #define RST_BUS_I2C0		40
91*8dcc7e69SJagan Teki #define RST_BUS_I2C1		41
92*8dcc7e69SJagan Teki #define RST_BUS_I2C2		42
93*8dcc7e69SJagan Teki #define RST_BUS_I2C3		43
94*8dcc7e69SJagan Teki #define RST_BUS_I2C4		44
95*8dcc7e69SJagan Teki #define RST_BUS_UART0		45
96*8dcc7e69SJagan Teki #define RST_BUS_UART1		46
97*8dcc7e69SJagan Teki #define RST_BUS_UART2		47
98*8dcc7e69SJagan Teki #define RST_BUS_UART3		48
99*8dcc7e69SJagan Teki #define RST_BUS_UART4		49
100*8dcc7e69SJagan Teki #define RST_BUS_UART5		50
101*8dcc7e69SJagan Teki 
102*8dcc7e69SJagan Teki #endif /* _DT_BINDINGS_RESET_SUN9I_A80_CCU_H_ */
103