18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2019 BayLibre, SAS.
48c2ecf20Sopenharmony_ci * Author: Jerome Brunet <jbrunet@baylibre.com>
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_H
98c2ecf20Sopenharmony_ci#define _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci/*	RESET0					*/
128c2ecf20Sopenharmony_ci#define RESET_HIU			0
138c2ecf20Sopenharmony_ci/*					1	*/
148c2ecf20Sopenharmony_ci#define RESET_DOS			2
158c2ecf20Sopenharmony_ci/*					3-4	*/
168c2ecf20Sopenharmony_ci#define RESET_VIU			5
178c2ecf20Sopenharmony_ci#define RESET_AFIFO			6
188c2ecf20Sopenharmony_ci#define RESET_VID_PLL_DIV		7
198c2ecf20Sopenharmony_ci/*					8-9	*/
208c2ecf20Sopenharmony_ci#define RESET_VENC			10
218c2ecf20Sopenharmony_ci#define RESET_ASSIST			11
228c2ecf20Sopenharmony_ci#define RESET_PCIE_CTRL_A		12
238c2ecf20Sopenharmony_ci#define RESET_VCBUS			13
248c2ecf20Sopenharmony_ci#define RESET_PCIE_PHY			14
258c2ecf20Sopenharmony_ci#define RESET_PCIE_APB			15
268c2ecf20Sopenharmony_ci#define RESET_GIC			16
278c2ecf20Sopenharmony_ci#define RESET_CAPB3_DECODE		17
288c2ecf20Sopenharmony_ci/*					18	*/
298c2ecf20Sopenharmony_ci#define RESET_HDMITX_CAPB3		19
308c2ecf20Sopenharmony_ci#define RESET_DVALIN_CAPB3		20
318c2ecf20Sopenharmony_ci#define RESET_DOS_CAPB3			21
328c2ecf20Sopenharmony_ci/*					22	*/
338c2ecf20Sopenharmony_ci#define RESET_CBUS_CAPB3		23
348c2ecf20Sopenharmony_ci#define RESET_AHB_CNTL			24
358c2ecf20Sopenharmony_ci#define RESET_AHB_DATA			25
368c2ecf20Sopenharmony_ci#define RESET_VCBUS_CLK81		26
378c2ecf20Sopenharmony_ci/*					27-31	*/
388c2ecf20Sopenharmony_ci/*	RESET1					*/
398c2ecf20Sopenharmony_ci/*					32	*/
408c2ecf20Sopenharmony_ci#define RESET_DEMUX			33
418c2ecf20Sopenharmony_ci#define RESET_USB			34
428c2ecf20Sopenharmony_ci#define RESET_DDR			35
438c2ecf20Sopenharmony_ci/*					36	*/
448c2ecf20Sopenharmony_ci#define RESET_BT656			37
458c2ecf20Sopenharmony_ci#define RESET_AHB_SRAM			38
468c2ecf20Sopenharmony_ci/*					39	*/
478c2ecf20Sopenharmony_ci#define RESET_PARSER			40
488c2ecf20Sopenharmony_ci/*					41	*/
498c2ecf20Sopenharmony_ci#define RESET_ISA			42
508c2ecf20Sopenharmony_ci#define RESET_ETHERNET			43
518c2ecf20Sopenharmony_ci#define RESET_SD_EMMC_A			44
528c2ecf20Sopenharmony_ci#define RESET_SD_EMMC_B			45
538c2ecf20Sopenharmony_ci#define RESET_SD_EMMC_C			46
548c2ecf20Sopenharmony_ci/*					47	*/
558c2ecf20Sopenharmony_ci#define RESET_USB_PHY20			48
568c2ecf20Sopenharmony_ci#define RESET_USB_PHY21			49
578c2ecf20Sopenharmony_ci/*					50-60	*/
588c2ecf20Sopenharmony_ci#define RESET_AUDIO_CODEC		61
598c2ecf20Sopenharmony_ci/*					62-63	*/
608c2ecf20Sopenharmony_ci/*	RESET2					*/
618c2ecf20Sopenharmony_ci/*					64	*/
628c2ecf20Sopenharmony_ci#define RESET_AUDIO			65
638c2ecf20Sopenharmony_ci#define RESET_HDMITX_PHY		66
648c2ecf20Sopenharmony_ci/*					67	*/
658c2ecf20Sopenharmony_ci#define RESET_MIPI_DSI_HOST		68
668c2ecf20Sopenharmony_ci#define RESET_ALOCKER			69
678c2ecf20Sopenharmony_ci#define RESET_GE2D			70
688c2ecf20Sopenharmony_ci#define RESET_PARSER_REG		71
698c2ecf20Sopenharmony_ci#define RESET_PARSER_FETCH		72
708c2ecf20Sopenharmony_ci#define RESET_CTL			73
718c2ecf20Sopenharmony_ci#define RESET_PARSER_TOP		74
728c2ecf20Sopenharmony_ci/*					75-77	*/
738c2ecf20Sopenharmony_ci#define RESET_DVALIN			78
748c2ecf20Sopenharmony_ci#define RESET_HDMITX			79
758c2ecf20Sopenharmony_ci/*					80-95	*/
768c2ecf20Sopenharmony_ci/*	RESET3					*/
778c2ecf20Sopenharmony_ci/*					96-95	*/
788c2ecf20Sopenharmony_ci#define RESET_DEMUX_TOP			105
798c2ecf20Sopenharmony_ci#define RESET_DEMUX_DES_PL		106
808c2ecf20Sopenharmony_ci#define RESET_DEMUX_S2P_0		107
818c2ecf20Sopenharmony_ci#define RESET_DEMUX_S2P_1		108
828c2ecf20Sopenharmony_ci#define RESET_DEMUX_0			109
838c2ecf20Sopenharmony_ci#define RESET_DEMUX_1			110
848c2ecf20Sopenharmony_ci#define RESET_DEMUX_2			111
858c2ecf20Sopenharmony_ci/*					112-127	*/
868c2ecf20Sopenharmony_ci/*	RESET4					*/
878c2ecf20Sopenharmony_ci/*					128-129	*/
888c2ecf20Sopenharmony_ci#define RESET_MIPI_DSI_PHY		130
898c2ecf20Sopenharmony_ci/*					131-132	*/
908c2ecf20Sopenharmony_ci#define RESET_RDMA			133
918c2ecf20Sopenharmony_ci#define RESET_VENCI			134
928c2ecf20Sopenharmony_ci#define RESET_VENCP			135
938c2ecf20Sopenharmony_ci/*					136	*/
948c2ecf20Sopenharmony_ci#define RESET_VDAC			137
958c2ecf20Sopenharmony_ci/*					138-139 */
968c2ecf20Sopenharmony_ci#define RESET_VDI6			140
978c2ecf20Sopenharmony_ci#define RESET_VENCL			141
988c2ecf20Sopenharmony_ci#define RESET_I2C_M1			142
998c2ecf20Sopenharmony_ci#define RESET_I2C_M2			143
1008c2ecf20Sopenharmony_ci/*					144-159	*/
1018c2ecf20Sopenharmony_ci/*	RESET5					*/
1028c2ecf20Sopenharmony_ci/*					160-191	*/
1038c2ecf20Sopenharmony_ci/*	RESET6					*/
1048c2ecf20Sopenharmony_ci#define RESET_GEN			192
1058c2ecf20Sopenharmony_ci#define RESET_SPICC0			193
1068c2ecf20Sopenharmony_ci#define RESET_SC			194
1078c2ecf20Sopenharmony_ci#define RESET_SANA_3			195
1088c2ecf20Sopenharmony_ci#define RESET_I2C_M0			196
1098c2ecf20Sopenharmony_ci#define RESET_TS_PLL			197
1108c2ecf20Sopenharmony_ci#define RESET_SPICC1			198
1118c2ecf20Sopenharmony_ci#define RESET_STREAM			199
1128c2ecf20Sopenharmony_ci#define RESET_TS_CPU			200
1138c2ecf20Sopenharmony_ci#define RESET_UART0			201
1148c2ecf20Sopenharmony_ci#define RESET_UART1_2			202
1158c2ecf20Sopenharmony_ci#define RESET_ASYNC0			203
1168c2ecf20Sopenharmony_ci#define RESET_ASYNC1			204
1178c2ecf20Sopenharmony_ci#define RESET_SPIFC0			205
1188c2ecf20Sopenharmony_ci#define RESET_I2C_M3			206
1198c2ecf20Sopenharmony_ci/*					207-223	*/
1208c2ecf20Sopenharmony_ci/*	RESET7					*/
1218c2ecf20Sopenharmony_ci#define RESET_USB_DDR_0			224
1228c2ecf20Sopenharmony_ci#define RESET_USB_DDR_1			225
1238c2ecf20Sopenharmony_ci#define RESET_USB_DDR_2			226
1248c2ecf20Sopenharmony_ci#define RESET_USB_DDR_3			227
1258c2ecf20Sopenharmony_ci#define RESET_TS_GPU			228
1268c2ecf20Sopenharmony_ci#define RESET_DEVICE_MMC_ARB		229
1278c2ecf20Sopenharmony_ci#define RESET_DVALIN_DMC_PIPL		230
1288c2ecf20Sopenharmony_ci#define RESET_VID_LOCK			231
1298c2ecf20Sopenharmony_ci#define RESET_NIC_DMC_PIPL		232
1308c2ecf20Sopenharmony_ci#define RESET_DMC_VPU_PIPL		233
1318c2ecf20Sopenharmony_ci#define RESET_GE2D_DMC_PIPL		234
1328c2ecf20Sopenharmony_ci#define RESET_HCODEC_DMC_PIPL		235
1338c2ecf20Sopenharmony_ci#define RESET_WAVE420_DMC_PIPL		236
1348c2ecf20Sopenharmony_ci#define RESET_HEVCF_DMC_PIPL		237
1358c2ecf20Sopenharmony_ci/*					238-255	*/
1368c2ecf20Sopenharmony_ci
1378c2ecf20Sopenharmony_ci#endif
138