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