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