1*842cc8e0SJagan Teki /*
2*842cc8e0SJagan Teki  * Copyright (C) 2017 Icenowy Zheng <icenowy@aosc.io>
3*842cc8e0SJagan Teki  *
4*842cc8e0SJagan Teki  * This file is dual-licensed: you can use it either under the terms
5*842cc8e0SJagan Teki  * of the GPL or the X11 license, at your option. Note that this dual
6*842cc8e0SJagan Teki  * licensing only applies to this file, and not this project as a
7*842cc8e0SJagan Teki  * whole.
8*842cc8e0SJagan Teki  *
9*842cc8e0SJagan Teki  *  a) This file is free software; you can redistribute it and/or
10*842cc8e0SJagan Teki  *     modify it under the terms of the GNU General Public License as
11*842cc8e0SJagan Teki  *     published by the Free Software Foundation; either version 2 of the
12*842cc8e0SJagan Teki  *     License, or (at your option) any later version.
13*842cc8e0SJagan Teki  *
14*842cc8e0SJagan Teki  *     This file is distributed in the hope that it will be useful,
15*842cc8e0SJagan Teki  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16*842cc8e0SJagan Teki  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*842cc8e0SJagan Teki  *     GNU General Public License for more details.
18*842cc8e0SJagan Teki  *
19*842cc8e0SJagan Teki  * Or, alternatively,
20*842cc8e0SJagan Teki  *
21*842cc8e0SJagan Teki  *  b) Permission is hereby granted, free of charge, to any person
22*842cc8e0SJagan Teki  *     obtaining a copy of this software and associated documentation
23*842cc8e0SJagan Teki  *     files (the "Software"), to deal in the Software without
24*842cc8e0SJagan Teki  *     restriction, including without limitation the rights to use,
25*842cc8e0SJagan Teki  *     copy, modify, merge, publish, distribute, sublicense, and/or
26*842cc8e0SJagan Teki  *     sell copies of the Software, and to permit persons to whom the
27*842cc8e0SJagan Teki  *     Software is furnished to do so, subject to the following
28*842cc8e0SJagan Teki  *     conditions:
29*842cc8e0SJagan Teki  *
30*842cc8e0SJagan Teki  *     The above copyright notice and this permission notice shall be
31*842cc8e0SJagan Teki  *     included in all copies or substantial portions of the Software.
32*842cc8e0SJagan Teki  *
33*842cc8e0SJagan Teki  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34*842cc8e0SJagan Teki  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35*842cc8e0SJagan Teki  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36*842cc8e0SJagan Teki  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37*842cc8e0SJagan Teki  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38*842cc8e0SJagan Teki  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39*842cc8e0SJagan Teki  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40*842cc8e0SJagan Teki  *     OTHER DEALINGS IN THE SOFTWARE.
41*842cc8e0SJagan Teki  */
42*842cc8e0SJagan Teki 
43*842cc8e0SJagan Teki #ifndef _DT_BINDINGS_RST_SUN8I_R40_H_
44*842cc8e0SJagan Teki #define _DT_BINDINGS_RST_SUN8I_R40_H_
45*842cc8e0SJagan Teki 
46*842cc8e0SJagan Teki #define RST_USB_PHY0		0
47*842cc8e0SJagan Teki #define RST_USB_PHY1		1
48*842cc8e0SJagan Teki #define RST_USB_PHY2		2
49*842cc8e0SJagan Teki 
50*842cc8e0SJagan Teki #define RST_DRAM		3
51*842cc8e0SJagan Teki #define RST_MBUS		4
52*842cc8e0SJagan Teki 
53*842cc8e0SJagan Teki #define RST_BUS_MIPI_DSI	5
54*842cc8e0SJagan Teki #define RST_BUS_CE		6
55*842cc8e0SJagan Teki #define RST_BUS_DMA		7
56*842cc8e0SJagan Teki #define RST_BUS_MMC0		8
57*842cc8e0SJagan Teki #define RST_BUS_MMC1		9
58*842cc8e0SJagan Teki #define RST_BUS_MMC2		10
59*842cc8e0SJagan Teki #define RST_BUS_MMC3		11
60*842cc8e0SJagan Teki #define RST_BUS_NAND		12
61*842cc8e0SJagan Teki #define RST_BUS_DRAM		13
62*842cc8e0SJagan Teki #define RST_BUS_EMAC		14
63*842cc8e0SJagan Teki #define RST_BUS_TS		15
64*842cc8e0SJagan Teki #define RST_BUS_HSTIMER		16
65*842cc8e0SJagan Teki #define RST_BUS_SPI0		17
66*842cc8e0SJagan Teki #define RST_BUS_SPI1		18
67*842cc8e0SJagan Teki #define RST_BUS_SPI2		19
68*842cc8e0SJagan Teki #define RST_BUS_SPI3		20
69*842cc8e0SJagan Teki #define RST_BUS_SATA		21
70*842cc8e0SJagan Teki #define RST_BUS_OTG		22
71*842cc8e0SJagan Teki #define RST_BUS_EHCI0		23
72*842cc8e0SJagan Teki #define RST_BUS_EHCI1		24
73*842cc8e0SJagan Teki #define RST_BUS_EHCI2		25
74*842cc8e0SJagan Teki #define RST_BUS_OHCI0		26
75*842cc8e0SJagan Teki #define RST_BUS_OHCI1		27
76*842cc8e0SJagan Teki #define RST_BUS_OHCI2		28
77*842cc8e0SJagan Teki #define RST_BUS_VE		29
78*842cc8e0SJagan Teki #define RST_BUS_MP		30
79*842cc8e0SJagan Teki #define RST_BUS_DEINTERLACE	31
80*842cc8e0SJagan Teki #define RST_BUS_CSI0		32
81*842cc8e0SJagan Teki #define RST_BUS_CSI1		33
82*842cc8e0SJagan Teki #define RST_BUS_HDMI0		34
83*842cc8e0SJagan Teki #define RST_BUS_HDMI1		35
84*842cc8e0SJagan Teki #define RST_BUS_DE		36
85*842cc8e0SJagan Teki #define RST_BUS_TVE0		37
86*842cc8e0SJagan Teki #define RST_BUS_TVE1		38
87*842cc8e0SJagan Teki #define RST_BUS_TVE_TOP		39
88*842cc8e0SJagan Teki #define RST_BUS_GMAC		40
89*842cc8e0SJagan Teki #define RST_BUS_GPU		41
90*842cc8e0SJagan Teki #define RST_BUS_TVD0		42
91*842cc8e0SJagan Teki #define RST_BUS_TVD1		43
92*842cc8e0SJagan Teki #define RST_BUS_TVD2		44
93*842cc8e0SJagan Teki #define RST_BUS_TVD3		45
94*842cc8e0SJagan Teki #define RST_BUS_TVD_TOP		46
95*842cc8e0SJagan Teki #define RST_BUS_TCON_LCD0	47
96*842cc8e0SJagan Teki #define RST_BUS_TCON_LCD1	48
97*842cc8e0SJagan Teki #define RST_BUS_TCON_TV0	49
98*842cc8e0SJagan Teki #define RST_BUS_TCON_TV1	50
99*842cc8e0SJagan Teki #define RST_BUS_TCON_TOP	51
100*842cc8e0SJagan Teki #define RST_BUS_DBG		52
101*842cc8e0SJagan Teki #define RST_BUS_LVDS		53
102*842cc8e0SJagan Teki #define RST_BUS_CODEC		54
103*842cc8e0SJagan Teki #define RST_BUS_SPDIF		55
104*842cc8e0SJagan Teki #define RST_BUS_AC97		56
105*842cc8e0SJagan Teki #define RST_BUS_IR0		57
106*842cc8e0SJagan Teki #define RST_BUS_IR1		58
107*842cc8e0SJagan Teki #define RST_BUS_THS		59
108*842cc8e0SJagan Teki #define RST_BUS_KEYPAD		60
109*842cc8e0SJagan Teki #define RST_BUS_I2S0		61
110*842cc8e0SJagan Teki #define RST_BUS_I2S1		62
111*842cc8e0SJagan Teki #define RST_BUS_I2S2		63
112*842cc8e0SJagan Teki #define RST_BUS_I2C0		64
113*842cc8e0SJagan Teki #define RST_BUS_I2C1		65
114*842cc8e0SJagan Teki #define RST_BUS_I2C2		66
115*842cc8e0SJagan Teki #define RST_BUS_I2C3		67
116*842cc8e0SJagan Teki #define RST_BUS_CAN		68
117*842cc8e0SJagan Teki #define RST_BUS_SCR		69
118*842cc8e0SJagan Teki #define RST_BUS_PS20		70
119*842cc8e0SJagan Teki #define RST_BUS_PS21		71
120*842cc8e0SJagan Teki #define RST_BUS_I2C4		72
121*842cc8e0SJagan Teki #define RST_BUS_UART0		73
122*842cc8e0SJagan Teki #define RST_BUS_UART1		74
123*842cc8e0SJagan Teki #define RST_BUS_UART2		75
124*842cc8e0SJagan Teki #define RST_BUS_UART3		76
125*842cc8e0SJagan Teki #define RST_BUS_UART4		77
126*842cc8e0SJagan Teki #define RST_BUS_UART5		78
127*842cc8e0SJagan Teki #define RST_BUS_UART6		79
128*842cc8e0SJagan Teki #define RST_BUS_UART7		80
129*842cc8e0SJagan Teki 
130*842cc8e0SJagan Teki #endif /* _DT_BINDINGS_RST_SUN8I_R40_H_ */
131