162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2021 Amlogic, Inc. All rights reserved.
462306a36Sopenharmony_ci * Author: Zelong Dong <zelong.dong@amlogic.com>
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef _DT_BINDINGS_AMLOGIC_MESON_S4_RESET_H
962306a36Sopenharmony_ci#define _DT_BINDINGS_AMLOGIC_MESON_S4_RESET_H
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci/*	RESET0					*/
1262306a36Sopenharmony_ci#define RESET_USB_DDR0			0
1362306a36Sopenharmony_ci#define RESET_USB_DDR1			1
1462306a36Sopenharmony_ci#define RESET_USB_DDR2			2
1562306a36Sopenharmony_ci#define RESET_USB_DDR3			3
1662306a36Sopenharmony_ci#define RESET_USBCTRL			4
1762306a36Sopenharmony_ci/*					5-7	*/
1862306a36Sopenharmony_ci#define RESET_USBPHY20			8
1962306a36Sopenharmony_ci#define RESET_USBPHY21			9
2062306a36Sopenharmony_ci/*					10-15	*/
2162306a36Sopenharmony_ci#define RESET_HDMITX_APB		16
2262306a36Sopenharmony_ci#define RESET_BRG_VCBUS_DEC		17
2362306a36Sopenharmony_ci#define RESET_VCBUS			18
2462306a36Sopenharmony_ci#define RESET_VID_PLL_DIV		19
2562306a36Sopenharmony_ci#define RESET_VDI6			20
2662306a36Sopenharmony_ci#define RESET_GE2D			21
2762306a36Sopenharmony_ci#define RESET_HDMITXPHY			22
2862306a36Sopenharmony_ci#define RESET_VID_LOCK			23
2962306a36Sopenharmony_ci#define RESET_VENCL			24
3062306a36Sopenharmony_ci#define RESET_VDAC			25
3162306a36Sopenharmony_ci#define RESET_VENCP			26
3262306a36Sopenharmony_ci#define RESET_VENCI			27
3362306a36Sopenharmony_ci#define RESET_RDMA			28
3462306a36Sopenharmony_ci#define RESET_HDMI_TX			29
3562306a36Sopenharmony_ci#define RESET_VIU			30
3662306a36Sopenharmony_ci#define RESET_VENC			31
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci/*	RESET1					*/
3962306a36Sopenharmony_ci#define RESET_AUDIO			32
4062306a36Sopenharmony_ci#define RESET_MALI_APB			33
4162306a36Sopenharmony_ci#define RESET_MALI			34
4262306a36Sopenharmony_ci#define RESET_DDR_APB			35
4362306a36Sopenharmony_ci#define RESET_DDR			36
4462306a36Sopenharmony_ci#define RESET_DOS_APB			37
4562306a36Sopenharmony_ci#define RESET_DOS			38
4662306a36Sopenharmony_ci/*					39-47	*/
4762306a36Sopenharmony_ci#define RESET_ETH			48
4862306a36Sopenharmony_ci/*					49-51	*/
4962306a36Sopenharmony_ci#define RESET_DEMOD			52
5062306a36Sopenharmony_ci/*					53-63	*/
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci/*	RESET2					*/
5362306a36Sopenharmony_ci#define RESET_ABUS_ARB			64
5462306a36Sopenharmony_ci#define RESET_IR_CTRL			65
5562306a36Sopenharmony_ci#define RESET_TEMPSENSOR_DDR		66
5662306a36Sopenharmony_ci#define RESET_TEMPSENSOR_PLL		67
5762306a36Sopenharmony_ci/*					68-71	*/
5862306a36Sopenharmony_ci#define RESET_SMART_CARD		72
5962306a36Sopenharmony_ci#define RESET_SPICC0			73
6062306a36Sopenharmony_ci/*					74	*/
6162306a36Sopenharmony_ci#define RESET_RSA			75
6262306a36Sopenharmony_ci/*					76-79	*/
6362306a36Sopenharmony_ci#define RESET_MSR_CLK			80
6462306a36Sopenharmony_ci#define RESET_SPIFC			81
6562306a36Sopenharmony_ci#define RESET_SARADC			82
6662306a36Sopenharmony_ci/*					83-87	*/
6762306a36Sopenharmony_ci#define RESET_ACODEC			88
6862306a36Sopenharmony_ci#define RESET_CEC			89
6962306a36Sopenharmony_ci#define RESET_AFIFO			90
7062306a36Sopenharmony_ci#define RESET_WATCHDOG			91
7162306a36Sopenharmony_ci/*					92-95	*/
7262306a36Sopenharmony_ci
7362306a36Sopenharmony_ci/*	RESET3					*/
7462306a36Sopenharmony_ci/*					96-127	*/
7562306a36Sopenharmony_ci
7662306a36Sopenharmony_ci/*	RESET4					*/
7762306a36Sopenharmony_ci/*					128-131	*/
7862306a36Sopenharmony_ci#define RESET_PWM_AB			132
7962306a36Sopenharmony_ci#define RESET_PWM_CD			133
8062306a36Sopenharmony_ci#define RESET_PWM_EF			134
8162306a36Sopenharmony_ci#define RESET_PWM_GH			135
8262306a36Sopenharmony_ci#define RESET_PWM_IJ			136
8362306a36Sopenharmony_ci/*					137	*/
8462306a36Sopenharmony_ci#define RESET_UART_A			138
8562306a36Sopenharmony_ci#define RESET_UART_B			139
8662306a36Sopenharmony_ci#define RESET_UART_C			140
8762306a36Sopenharmony_ci#define RESET_UART_D			141
8862306a36Sopenharmony_ci#define RESET_UART_E			142
8962306a36Sopenharmony_ci/*					143	*/
9062306a36Sopenharmony_ci#define RESET_I2C_S_A			144
9162306a36Sopenharmony_ci#define RESET_I2C_M_A			145
9262306a36Sopenharmony_ci#define RESET_I2C_M_B			146
9362306a36Sopenharmony_ci#define RESET_I2C_M_C			147
9462306a36Sopenharmony_ci#define RESET_I2C_M_D			148
9562306a36Sopenharmony_ci#define RESET_I2C_M_E			149
9662306a36Sopenharmony_ci/*					150-151	*/
9762306a36Sopenharmony_ci#define RESET_SD_EMMC_A			152
9862306a36Sopenharmony_ci#define RESET_SD_EMMC_B			153
9962306a36Sopenharmony_ci#define RESET_NAND_EMMC			154
10062306a36Sopenharmony_ci/*					155-159	*/
10162306a36Sopenharmony_ci
10262306a36Sopenharmony_ci/* RESET5 */
10362306a36Sopenharmony_ci#define RESET_BRG_VDEC_PIPL0		160
10462306a36Sopenharmony_ci#define RESET_BRG_HEVCF_PIPL0		161
10562306a36Sopenharmony_ci/*					162	*/
10662306a36Sopenharmony_ci#define RESET_BRG_HCODEC_PIPL0		163
10762306a36Sopenharmony_ci#define RESET_BRG_GE2D_PIPL0		164
10862306a36Sopenharmony_ci#define RESET_BRG_VPU_PIPL0		165
10962306a36Sopenharmony_ci#define RESET_BRG_CPU_PIPL0		166
11062306a36Sopenharmony_ci#define RESET_BRG_MALI_PIPL0		167
11162306a36Sopenharmony_ci/*					168	*/
11262306a36Sopenharmony_ci#define RESET_BRG_MALI_PIPL1		169
11362306a36Sopenharmony_ci/*					170-171	*/
11462306a36Sopenharmony_ci#define RESET_BRG_HEVCF_PIPL1		172
11562306a36Sopenharmony_ci#define RESET_BRG_HEVCB_PIPL1		173
11662306a36Sopenharmony_ci/*					174-183	*/
11762306a36Sopenharmony_ci#define RESET_RAMA			184
11862306a36Sopenharmony_ci/*					185-186	*/
11962306a36Sopenharmony_ci#define RESET_BRG_NIC_VAPB		187
12062306a36Sopenharmony_ci#define RESET_BRG_NIC_DSU		188
12162306a36Sopenharmony_ci#define RESET_BRG_NIC_SYSCLK		189
12262306a36Sopenharmony_ci#define RESET_BRG_NIC_MAIN		190
12362306a36Sopenharmony_ci#define RESET_BRG_NIC_ALL		191
12462306a36Sopenharmony_ci
12562306a36Sopenharmony_ci#endif
126