10577e485SMaxime Ripard /*
20577e485SMaxime Ripard  * Copyright (C) 2016 Maxime Ripard <maxime.ripard@free-electrons.com>
30577e485SMaxime Ripard  *
40577e485SMaxime Ripard  * This file is dual-licensed: you can use it either under the terms
50577e485SMaxime Ripard  * of the GPL or the X11 license, at your option. Note that this dual
60577e485SMaxime Ripard  * licensing only applies to this file, and not this project as a
70577e485SMaxime Ripard  * whole.
80577e485SMaxime Ripard  *
90577e485SMaxime Ripard  *  a) This file is free software; you can redistribute it and/or
100577e485SMaxime Ripard  *     modify it under the terms of the GNU General Public License as
110577e485SMaxime Ripard  *     published by the Free Software Foundation; either version 2 of the
120577e485SMaxime Ripard  *     License, or (at your option) any later version.
130577e485SMaxime Ripard  *
140577e485SMaxime Ripard  *     This file is distributed in the hope that it will be useful,
150577e485SMaxime Ripard  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
160577e485SMaxime Ripard  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
170577e485SMaxime Ripard  *     GNU General Public License for more details.
180577e485SMaxime Ripard  *
190577e485SMaxime Ripard  * Or, alternatively,
200577e485SMaxime Ripard  *
210577e485SMaxime Ripard  *  b) Permission is hereby granted, free of charge, to any person
220577e485SMaxime Ripard  *     obtaining a copy of this software and associated documentation
230577e485SMaxime Ripard  *     files (the "Software"), to deal in the Software without
240577e485SMaxime Ripard  *     restriction, including without limitation the rights to use,
250577e485SMaxime Ripard  *     copy, modify, merge, publish, distribute, sublicense, and/or
260577e485SMaxime Ripard  *     sell copies of the Software, and to permit persons to whom the
270577e485SMaxime Ripard  *     Software is furnished to do so, subject to the following
280577e485SMaxime Ripard  *     conditions:
290577e485SMaxime Ripard  *
300577e485SMaxime Ripard  *     The above copyright notice and this permission notice shall be
310577e485SMaxime Ripard  *     included in all copies or substantial portions of the Software.
320577e485SMaxime Ripard  *
330577e485SMaxime Ripard  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
340577e485SMaxime Ripard  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
350577e485SMaxime Ripard  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
360577e485SMaxime Ripard  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
370577e485SMaxime Ripard  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
380577e485SMaxime Ripard  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
390577e485SMaxime Ripard  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
400577e485SMaxime Ripard  *     OTHER DEALINGS IN THE SOFTWARE.
410577e485SMaxime Ripard  */
420577e485SMaxime Ripard 
430577e485SMaxime Ripard #ifndef _DT_BINDINGS_RST_SUN8I_H3_H_
440577e485SMaxime Ripard #define _DT_BINDINGS_RST_SUN8I_H3_H_
450577e485SMaxime Ripard 
460577e485SMaxime Ripard #define RST_USB_PHY0		0
470577e485SMaxime Ripard #define RST_USB_PHY1		1
480577e485SMaxime Ripard #define RST_USB_PHY2		2
490577e485SMaxime Ripard #define RST_USB_PHY3		3
500577e485SMaxime Ripard 
510577e485SMaxime Ripard #define RST_MBUS		4
520577e485SMaxime Ripard 
530577e485SMaxime Ripard #define RST_BUS_CE		5
540577e485SMaxime Ripard #define RST_BUS_DMA		6
550577e485SMaxime Ripard #define RST_BUS_MMC0		7
560577e485SMaxime Ripard #define RST_BUS_MMC1		8
570577e485SMaxime Ripard #define RST_BUS_MMC2		9
580577e485SMaxime Ripard #define RST_BUS_NAND		10
590577e485SMaxime Ripard #define RST_BUS_DRAM		11
600577e485SMaxime Ripard #define RST_BUS_EMAC		12
610577e485SMaxime Ripard #define RST_BUS_TS		13
620577e485SMaxime Ripard #define RST_BUS_HSTIMER		14
630577e485SMaxime Ripard #define RST_BUS_SPI0		15
640577e485SMaxime Ripard #define RST_BUS_SPI1		16
650577e485SMaxime Ripard #define RST_BUS_OTG		17
660577e485SMaxime Ripard #define RST_BUS_EHCI0		18
670577e485SMaxime Ripard #define RST_BUS_EHCI1		19
680577e485SMaxime Ripard #define RST_BUS_EHCI2		20
690577e485SMaxime Ripard #define RST_BUS_EHCI3		21
700577e485SMaxime Ripard #define RST_BUS_OHCI0		22
710577e485SMaxime Ripard #define RST_BUS_OHCI1		23
720577e485SMaxime Ripard #define RST_BUS_OHCI2		24
730577e485SMaxime Ripard #define RST_BUS_OHCI3		25
740577e485SMaxime Ripard #define RST_BUS_VE		26
750577e485SMaxime Ripard #define RST_BUS_TCON0		27
760577e485SMaxime Ripard #define RST_BUS_TCON1		28
770577e485SMaxime Ripard #define RST_BUS_DEINTERLACE	29
780577e485SMaxime Ripard #define RST_BUS_CSI		30
790577e485SMaxime Ripard #define RST_BUS_TVE		31
800577e485SMaxime Ripard #define RST_BUS_HDMI0		32
810577e485SMaxime Ripard #define RST_BUS_HDMI1		33
820577e485SMaxime Ripard #define RST_BUS_DE		34
830577e485SMaxime Ripard #define RST_BUS_GPU		35
840577e485SMaxime Ripard #define RST_BUS_MSGBOX		36
850577e485SMaxime Ripard #define RST_BUS_SPINLOCK	37
860577e485SMaxime Ripard #define RST_BUS_DBG		38
870577e485SMaxime Ripard #define RST_BUS_EPHY		39
880577e485SMaxime Ripard #define RST_BUS_CODEC		40
890577e485SMaxime Ripard #define RST_BUS_SPDIF		41
900577e485SMaxime Ripard #define RST_BUS_THS		42
910577e485SMaxime Ripard #define RST_BUS_I2S0		43
920577e485SMaxime Ripard #define RST_BUS_I2S1		44
930577e485SMaxime Ripard #define RST_BUS_I2S2		45
940577e485SMaxime Ripard #define RST_BUS_I2C0		46
950577e485SMaxime Ripard #define RST_BUS_I2C1		47
960577e485SMaxime Ripard #define RST_BUS_I2C2		48
970577e485SMaxime Ripard #define RST_BUS_UART0		49
980577e485SMaxime Ripard #define RST_BUS_UART1		50
990577e485SMaxime Ripard #define RST_BUS_UART2		51
1000577e485SMaxime Ripard #define RST_BUS_UART3		52
1019be1c8afSIcenowy Zheng #define RST_BUS_SCR0		53
1029be1c8afSIcenowy Zheng 
1039be1c8afSIcenowy Zheng /* New resets imported in H5 */
1049be1c8afSIcenowy Zheng #define RST_BUS_SCR1		54
1050577e485SMaxime Ripard 
1060577e485SMaxime Ripard #endif /* _DT_BINDINGS_RST_SUN8I_H3_H_ */
107