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