/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */


#ifndef _DT_BINDINGS_AMLOGIC_MESON_S4_RESET_H
#define _DT_BINDINGS_AMLOGIC_MESON_S4_RESET_H


#define RESET_USB_DDR0			0
#define RESET_USB_DDR1			1
#define RESET_USB_DDR2			2
#define RESET_USB_DDR3			3
#define RESET_USBCTRL			4

#define RESET_USBPHY20			8
#define RESET_USBPHY21			9

#define RESET_HDMITX_APB		16
#define RESET_BRG_VCBUS_DEC		17
#define RESET_VCBUS			18
#define RESET_VID_PLL_DIV		19
#define RESET_VDI6			20
#define RESET_GE2D			21
#define RESET_HDMITXPHY			22
#define RESET_VID_LOCK			23
#define RESET_VENCL			24
#define RESET_VDAC			25
#define RESET_VENCP			26
#define RESET_VENCI			27
#define RESET_RDMA			28
#define RESET_HDMI_TX			29
#define RESET_VIU			30
#define RESET_VENC			31


#define RESET_AUDIO			32
#define RESET_MALI_APB			33
#define RESET_MALI			34
#define RESET_DDR_APB			35
#define RESET_DDR			36
#define RESET_DOS_APB			37
#define RESET_DOS			38

#define RESET_ETH			48

#define RESET_DEMOD			52



#define RESET_ABUS_ARB			64
#define RESET_IR_CTRL			65
#define RESET_TEMPSENSOR_DDR		66
#define RESET_TEMPSENSOR_PLL		67

#define RESET_SMART_CARD		72
#define RESET_SPICC0			73

#define RESET_RSA			75

#define RESET_MSR_CLK			80
#define RESET_SPIFC			81
#define RESET_SARADC			82

#define RESET_ACODEC			88
#define RESET_CEC			89
#define RESET_AFIFO			90
#define RESET_WATCHDOG			91







#define RESET_PWM_AB			132
#define RESET_PWM_CD			133
#define RESET_PWM_EF			134
#define RESET_PWM_GH			135
#define RESET_PWM_IJ			136

#define RESET_UART_A			138
#define RESET_UART_B			139
#define RESET_UART_C			140
#define RESET_UART_D			141
#define RESET_UART_E			142

#define RESET_I2C_S_A			144
#define RESET_I2C_M_A			145
#define RESET_I2C_M_B			146
#define RESET_I2C_M_C			147
#define RESET_I2C_M_D			148
#define RESET_I2C_M_E			149

#define RESET_SD_EMMC_A			152
#define RESET_SD_EMMC_B			153
#define RESET_NAND_EMMC			154



#define RESET_BRG_VDEC_PIPL0		160
#define RESET_BRG_HEVCF_PIPL0		161

#define RESET_BRG_HCODEC_PIPL0		163
#define RESET_BRG_GE2D_PIPL0		164
#define RESET_BRG_VPU_PIPL0		165
#define RESET_BRG_CPU_PIPL0		166
#define RESET_BRG_MALI_PIPL0		167

#define RESET_BRG_MALI_PIPL1		169

#define RESET_BRG_HEVCF_PIPL1		172
#define RESET_BRG_HEVCB_PIPL1		173

#define RESET_RAMA			184

#define RESET_BRG_NIC_VAPB		187
#define RESET_BRG_NIC_DSU		188
#define RESET_BRG_NIC_SYSCLK		189
#define RESET_BRG_NIC_MAIN		190
#define RESET_BRG_NIC_ALL		191

#endif
