18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * This file is dual-licensed: you can use it either under the terms
58c2ecf20Sopenharmony_ci * of the GPL or the X11 license, at your option. Note that this dual
68c2ecf20Sopenharmony_ci * licensing only applies to this file, and not this project as a
78c2ecf20Sopenharmony_ci * whole.
88c2ecf20Sopenharmony_ci *
98c2ecf20Sopenharmony_ci *  a) This file is free software; you can redistribute it and/or
108c2ecf20Sopenharmony_ci *     modify it under the terms of the GNU General Public License as
118c2ecf20Sopenharmony_ci *     published by the Free Software Foundation; either version 2 of the
128c2ecf20Sopenharmony_ci *     License, or (at your option) any later version.
138c2ecf20Sopenharmony_ci *
148c2ecf20Sopenharmony_ci *     This file is distributed in the hope that it will be useful,
158c2ecf20Sopenharmony_ci *     but WITHOUT ANY WARRANTY; without even the implied warranty of
168c2ecf20Sopenharmony_ci *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
178c2ecf20Sopenharmony_ci *     GNU General Public License for more details.
188c2ecf20Sopenharmony_ci *
198c2ecf20Sopenharmony_ci * Or, alternatively,
208c2ecf20Sopenharmony_ci *
218c2ecf20Sopenharmony_ci *  b) Permission is hereby granted, free of charge, to any person
228c2ecf20Sopenharmony_ci *     obtaining a copy of this software and associated documentation
238c2ecf20Sopenharmony_ci *     files (the "Software"), to deal in the Software without
248c2ecf20Sopenharmony_ci *     restriction, including without limitation the rights to use,
258c2ecf20Sopenharmony_ci *     copy, modify, merge, publish, distribute, sublicense, and/or
268c2ecf20Sopenharmony_ci *     sell copies of the Software, and to permit persons to whom the
278c2ecf20Sopenharmony_ci *     Software is furnished to do so, subject to the following
288c2ecf20Sopenharmony_ci *     conditions:
298c2ecf20Sopenharmony_ci *
308c2ecf20Sopenharmony_ci *     The above copyright notice and this permission notice shall be
318c2ecf20Sopenharmony_ci *     included in all copies or substantial portions of the Software.
328c2ecf20Sopenharmony_ci *
338c2ecf20Sopenharmony_ci *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
348c2ecf20Sopenharmony_ci *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
358c2ecf20Sopenharmony_ci *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
368c2ecf20Sopenharmony_ci *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
378c2ecf20Sopenharmony_ci *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
388c2ecf20Sopenharmony_ci *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
398c2ecf20Sopenharmony_ci *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
408c2ecf20Sopenharmony_ci *     OTHER DEALINGS IN THE SOFTWARE.
418c2ecf20Sopenharmony_ci */
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_RST_SUN6I_A31_H_
448c2ecf20Sopenharmony_ci#define _DT_BINDINGS_RST_SUN6I_A31_H_
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci#define RST_USB_PHY0		0
478c2ecf20Sopenharmony_ci#define RST_USB_PHY1		1
488c2ecf20Sopenharmony_ci#define RST_USB_PHY2		2
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ci#define RST_AHB1_MIPI_DSI	3
518c2ecf20Sopenharmony_ci#define RST_AHB1_SS		4
528c2ecf20Sopenharmony_ci#define RST_AHB1_DMA		5
538c2ecf20Sopenharmony_ci#define RST_AHB1_MMC0		6
548c2ecf20Sopenharmony_ci#define RST_AHB1_MMC1		7
558c2ecf20Sopenharmony_ci#define RST_AHB1_MMC2		8
568c2ecf20Sopenharmony_ci#define RST_AHB1_MMC3		9
578c2ecf20Sopenharmony_ci#define RST_AHB1_NAND1		10
588c2ecf20Sopenharmony_ci#define RST_AHB1_NAND0		11
598c2ecf20Sopenharmony_ci#define RST_AHB1_SDRAM		12
608c2ecf20Sopenharmony_ci#define RST_AHB1_EMAC		13
618c2ecf20Sopenharmony_ci#define RST_AHB1_TS		14
628c2ecf20Sopenharmony_ci#define RST_AHB1_HSTIMER	15
638c2ecf20Sopenharmony_ci#define RST_AHB1_SPI0		16
648c2ecf20Sopenharmony_ci#define RST_AHB1_SPI1		17
658c2ecf20Sopenharmony_ci#define RST_AHB1_SPI2		18
668c2ecf20Sopenharmony_ci#define RST_AHB1_SPI3		19
678c2ecf20Sopenharmony_ci#define RST_AHB1_OTG		20
688c2ecf20Sopenharmony_ci#define RST_AHB1_EHCI0		21
698c2ecf20Sopenharmony_ci#define RST_AHB1_EHCI1		22
708c2ecf20Sopenharmony_ci#define RST_AHB1_OHCI0		23
718c2ecf20Sopenharmony_ci#define RST_AHB1_OHCI1		24
728c2ecf20Sopenharmony_ci#define RST_AHB1_OHCI2		25
738c2ecf20Sopenharmony_ci#define RST_AHB1_VE		26
748c2ecf20Sopenharmony_ci#define RST_AHB1_LCD0		27
758c2ecf20Sopenharmony_ci#define RST_AHB1_LCD1		28
768c2ecf20Sopenharmony_ci#define RST_AHB1_CSI		29
778c2ecf20Sopenharmony_ci#define RST_AHB1_HDMI		30
788c2ecf20Sopenharmony_ci#define RST_AHB1_BE0		31
798c2ecf20Sopenharmony_ci#define RST_AHB1_BE1		32
808c2ecf20Sopenharmony_ci#define RST_AHB1_FE0		33
818c2ecf20Sopenharmony_ci#define RST_AHB1_FE1		34
828c2ecf20Sopenharmony_ci#define RST_AHB1_MP		35
838c2ecf20Sopenharmony_ci#define RST_AHB1_GPU		36
848c2ecf20Sopenharmony_ci#define RST_AHB1_DEU0		37
858c2ecf20Sopenharmony_ci#define RST_AHB1_DEU1		38
868c2ecf20Sopenharmony_ci#define RST_AHB1_DRC0		39
878c2ecf20Sopenharmony_ci#define RST_AHB1_DRC1		40
888c2ecf20Sopenharmony_ci#define RST_AHB1_LVDS		41
898c2ecf20Sopenharmony_ci
908c2ecf20Sopenharmony_ci#define RST_APB1_CODEC		42
918c2ecf20Sopenharmony_ci#define RST_APB1_SPDIF		43
928c2ecf20Sopenharmony_ci#define RST_APB1_DIGITAL_MIC	44
938c2ecf20Sopenharmony_ci#define RST_APB1_DAUDIO0	45
948c2ecf20Sopenharmony_ci#define RST_APB1_DAUDIO1	46
958c2ecf20Sopenharmony_ci#define RST_APB2_I2C0		47
968c2ecf20Sopenharmony_ci#define RST_APB2_I2C1		48
978c2ecf20Sopenharmony_ci#define RST_APB2_I2C2		49
988c2ecf20Sopenharmony_ci#define RST_APB2_I2C3		50
998c2ecf20Sopenharmony_ci#define RST_APB2_UART0		51
1008c2ecf20Sopenharmony_ci#define RST_APB2_UART1		52
1018c2ecf20Sopenharmony_ci#define RST_APB2_UART2		53
1028c2ecf20Sopenharmony_ci#define RST_APB2_UART3		54
1038c2ecf20Sopenharmony_ci#define RST_APB2_UART4		55
1048c2ecf20Sopenharmony_ci#define RST_APB2_UART5		56
1058c2ecf20Sopenharmony_ci
1068c2ecf20Sopenharmony_ci#endif /* _DT_BINDINGS_RST_SUN6I_A31_H_ */
107