1*860fbdd4SHans de Goede /*
2*860fbdd4SHans de Goede  * Copyright (C) 2016 Maxime Ripard <maxime.ripard@free-electrons.com>
3*860fbdd4SHans de Goede  *
4*860fbdd4SHans de Goede  * This file is dual-licensed: you can use it either under the terms
5*860fbdd4SHans de Goede  * of the GPL or the X11 license, at your option. Note that this dual
6*860fbdd4SHans de Goede  * licensing only applies to this file, and not this project as a
7*860fbdd4SHans de Goede  * whole.
8*860fbdd4SHans de Goede  *
9*860fbdd4SHans de Goede  *  a) This file is free software; you can redistribute it and/or
10*860fbdd4SHans de Goede  *     modify it under the terms of the GNU General Public License as
11*860fbdd4SHans de Goede  *     published by the Free Software Foundation; either version 2 of the
12*860fbdd4SHans de Goede  *     License, or (at your option) any later version.
13*860fbdd4SHans de Goede  *
14*860fbdd4SHans de Goede  *     This file is distributed in the hope that it will be useful,
15*860fbdd4SHans de Goede  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16*860fbdd4SHans de Goede  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*860fbdd4SHans de Goede  *     GNU General Public License for more details.
18*860fbdd4SHans de Goede  *
19*860fbdd4SHans de Goede  * Or, alternatively,
20*860fbdd4SHans de Goede  *
21*860fbdd4SHans de Goede  *  b) Permission is hereby granted, free of charge, to any person
22*860fbdd4SHans de Goede  *     obtaining a copy of this software and associated documentation
23*860fbdd4SHans de Goede  *     files (the "Software"), to deal in the Software without
24*860fbdd4SHans de Goede  *     restriction, including without limitation the rights to use,
25*860fbdd4SHans de Goede  *     copy, modify, merge, publish, distribute, sublicense, and/or
26*860fbdd4SHans de Goede  *     sell copies of the Software, and to permit persons to whom the
27*860fbdd4SHans de Goede  *     Software is furnished to do so, subject to the following
28*860fbdd4SHans de Goede  *     conditions:
29*860fbdd4SHans de Goede  *
30*860fbdd4SHans de Goede  *     The above copyright notice and this permission notice shall be
31*860fbdd4SHans de Goede  *     included in all copies or substantial portions of the Software.
32*860fbdd4SHans de Goede  *
33*860fbdd4SHans de Goede  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34*860fbdd4SHans de Goede  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35*860fbdd4SHans de Goede  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36*860fbdd4SHans de Goede  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37*860fbdd4SHans de Goede  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38*860fbdd4SHans de Goede  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39*860fbdd4SHans de Goede  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40*860fbdd4SHans de Goede  *     OTHER DEALINGS IN THE SOFTWARE.
41*860fbdd4SHans de Goede  */
42*860fbdd4SHans de Goede 
43*860fbdd4SHans de Goede #ifndef _DT_BINDINGS_RST_SUN8I_H3_H_
44*860fbdd4SHans de Goede #define _DT_BINDINGS_RST_SUN8I_H3_H_
45*860fbdd4SHans de Goede 
46*860fbdd4SHans de Goede #define RST_USB_PHY0		0
47*860fbdd4SHans de Goede #define RST_USB_PHY1		1
48*860fbdd4SHans de Goede #define RST_USB_PHY2		2
49*860fbdd4SHans de Goede #define RST_USB_PHY3		3
50*860fbdd4SHans de Goede 
51*860fbdd4SHans de Goede #define RST_MBUS		4
52*860fbdd4SHans de Goede 
53*860fbdd4SHans de Goede #define RST_BUS_CE		5
54*860fbdd4SHans de Goede #define RST_BUS_DMA		6
55*860fbdd4SHans de Goede #define RST_BUS_MMC0		7
56*860fbdd4SHans de Goede #define RST_BUS_MMC1		8
57*860fbdd4SHans de Goede #define RST_BUS_MMC2		9
58*860fbdd4SHans de Goede #define RST_BUS_NAND		10
59*860fbdd4SHans de Goede #define RST_BUS_DRAM		11
60*860fbdd4SHans de Goede #define RST_BUS_EMAC		12
61*860fbdd4SHans de Goede #define RST_BUS_TS		13
62*860fbdd4SHans de Goede #define RST_BUS_HSTIMER		14
63*860fbdd4SHans de Goede #define RST_BUS_SPI0		15
64*860fbdd4SHans de Goede #define RST_BUS_SPI1		16
65*860fbdd4SHans de Goede #define RST_BUS_OTG		17
66*860fbdd4SHans de Goede #define RST_BUS_EHCI0		18
67*860fbdd4SHans de Goede #define RST_BUS_EHCI1		19
68*860fbdd4SHans de Goede #define RST_BUS_EHCI2		20
69*860fbdd4SHans de Goede #define RST_BUS_EHCI3		21
70*860fbdd4SHans de Goede #define RST_BUS_OHCI0		22
71*860fbdd4SHans de Goede #define RST_BUS_OHCI1		23
72*860fbdd4SHans de Goede #define RST_BUS_OHCI2		24
73*860fbdd4SHans de Goede #define RST_BUS_OHCI3		25
74*860fbdd4SHans de Goede #define RST_BUS_VE		26
75*860fbdd4SHans de Goede #define RST_BUS_TCON0		27
76*860fbdd4SHans de Goede #define RST_BUS_TCON1		28
77*860fbdd4SHans de Goede #define RST_BUS_DEINTERLACE	29
78*860fbdd4SHans de Goede #define RST_BUS_CSI		30
79*860fbdd4SHans de Goede #define RST_BUS_TVE		31
80*860fbdd4SHans de Goede #define RST_BUS_HDMI0		32
81*860fbdd4SHans de Goede #define RST_BUS_HDMI1		33
82*860fbdd4SHans de Goede #define RST_BUS_DE		34
83*860fbdd4SHans de Goede #define RST_BUS_GPU		35
84*860fbdd4SHans de Goede #define RST_BUS_MSGBOX		36
85*860fbdd4SHans de Goede #define RST_BUS_SPINLOCK	37
86*860fbdd4SHans de Goede #define RST_BUS_DBG		38
87*860fbdd4SHans de Goede #define RST_BUS_EPHY		39
88*860fbdd4SHans de Goede #define RST_BUS_CODEC		40
89*860fbdd4SHans de Goede #define RST_BUS_SPDIF		41
90*860fbdd4SHans de Goede #define RST_BUS_THS		42
91*860fbdd4SHans de Goede #define RST_BUS_I2S0		43
92*860fbdd4SHans de Goede #define RST_BUS_I2S1		44
93*860fbdd4SHans de Goede #define RST_BUS_I2S2		45
94*860fbdd4SHans de Goede #define RST_BUS_I2C0		46
95*860fbdd4SHans de Goede #define RST_BUS_I2C1		47
96*860fbdd4SHans de Goede #define RST_BUS_I2C2		48
97*860fbdd4SHans de Goede #define RST_BUS_UART0		49
98*860fbdd4SHans de Goede #define RST_BUS_UART1		50
99*860fbdd4SHans de Goede #define RST_BUS_UART2		51
100*860fbdd4SHans de Goede #define RST_BUS_UART3		52
101*860fbdd4SHans de Goede #define RST_BUS_SCR		53
102*860fbdd4SHans de Goede 
103*860fbdd4SHans de Goede #endif /* _DT_BINDINGS_RST_SUN8I_H3_H_ */
104