linux/include/dt-bindings/reset/mt8183-resets.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2019 MediaTek Inc.
 * Author: Yong Liang <[email protected]>
 */

#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8183
#define _DT_BINDINGS_RESET_CONTROLLER_MT8183

/* INFRACFG AO resets */
#define MT8183_INFRACFG_AO_THERM_SW_RST
#define MT8183_INFRACFG_AO_USB_TOP_SW_RST
#define MT8183_INFRACFG_AO_MM_IOMMU_SW_RST
#define MT8183_INFRACFG_AO_MSDC3_SW_RST
#define MT8183_INFRACFG_AO_MSDC2_SW_RST
#define MT8183_INFRACFG_AO_MSDC1_SW_RST
#define MT8183_INFRACFG_AO_MSDC0_SW_RST
#define MT8183_INFRACFG_AO_APDMA_SW_RST
#define MT8183_INFRACFG_AO_MIMP_D_SW_RST
#define MT8183_INFRACFG_AO_BTIF_SW_RST
#define MT8183_INFRACFG_AO_DISP_PWM_SW_RST
#define MT8183_INFRACFG_AO_AUXADC_SW_RST

#define MT8183_INFRACFG_AO_IRTX_SW_RST
#define MT8183_INFRACFG_AO_SPI0_SW_RST
#define MT8183_INFRACFG_AO_I2C0_SW_RST
#define MT8183_INFRACFG_AO_I2C1_SW_RST
#define MT8183_INFRACFG_AO_I2C2_SW_RST
#define MT8183_INFRACFG_AO_I2C3_SW_RST
#define MT8183_INFRACFG_AO_UART0_SW_RST
#define MT8183_INFRACFG_AO_UART1_SW_RST
#define MT8183_INFRACFG_AO_UART2_SW_RST
#define MT8183_INFRACFG_AO_PWM_SW_RST
#define MT8183_INFRACFG_AO_SPI1_SW_RST
#define MT8183_INFRACFG_AO_I2C4_SW_RST
#define MT8183_INFRACFG_AO_DVFSP_SW_RST
#define MT8183_INFRACFG_AO_SPI2_SW_RST
#define MT8183_INFRACFG_AO_SPI3_SW_RST
#define MT8183_INFRACFG_AO_UFSHCI_SW_RST

#define MT8183_INFRACFG_AO_PMIC_WRAP_SW_RST
#define MT8183_INFRACFG_AO_SPM_SW_RST
#define MT8183_INFRACFG_AO_USBSIF_SW_RST
#define MT8183_INFRACFG_AO_KP_SW_RST
#define MT8183_INFRACFG_AO_APXGPT_SW_RST
#define MT8183_INFRACFG_AO_CLDMA_AO_SW_RST
#define MT8183_INFRACFG_AO_UNIPRO_UFS_SW_RST
#define MT8183_INFRACFG_AO_DX_CC_SW_RST
#define MT8183_INFRACFG_AO_UFSPHY_SW_RST

#define MT8183_INFRACFG_AO_DX_CC_SEC_SW_RST
#define MT8183_INFRACFG_AO_GCE_SW_RST
#define MT8183_INFRACFG_AO_CLDMA_SW_RST
#define MT8183_INFRACFG_AO_TRNG_SW_RST
#define MT8183_INFRACFG_AO_AP_MD_CCIF_1_SW_RST
#define MT8183_INFRACFG_AO_AP_MD_CCIF_SW_RST
#define MT8183_INFRACFG_AO_I2C1_IMM_SW_RST
#define MT8183_INFRACFG_AO_I2C1_ARB_SW_RST
#define MT8183_INFRACFG_AO_I2C2_IMM_SW_RST
#define MT8183_INFRACFG_AO_I2C2_ARB_SW_RST
#define MT8183_INFRACFG_AO_I2C5_SW_RST
#define MT8183_INFRACFG_AO_I2C5_IMM_SW_RST
#define MT8183_INFRACFG_AO_I2C5_ARB_SW_RST
#define MT8183_INFRACFG_AO_SPI4_SW_RST
#define MT8183_INFRACFG_AO_SPI5_SW_RST
#define MT8183_INFRACFG_AO_INFRA2MFGAXI_CBIP_CLAS_SW_RST
#define MT8183_INFRACFG_AO_MFGAXI2INFRA_M0_CBIP_GLAS_OUT_SW_RST
#define MT8183_INFRACFG_AO_MFGAXI2INFRA_M1_CBIP_GLAS_OUT_SW_RST
#define MT8183_INFRACFG_AO_UFS_AES_SW_RST
#define MT8183_INFRACFG_AO_CCU_I2C_IRQ_SW_RST
#define MT8183_INFRACFG_AO_CCU_I2C_DMA_SW_RST
#define MT8183_INFRACFG_AO_I2C6_SW_RST
#define MT8183_INFRACFG_AO_CCU_GALS_SW_RST
#define MT8183_INFRACFG_AO_IPU_GALS_SW_RST
#define MT8183_INFRACFG_AO_CONN2AP_GALS_SW_RST
#define MT8183_INFRACFG_AO_AP_MD_CCIF2_SW_RST
#define MT8183_INFRACFG_AO_AP_MD_CCIF3_SW_RST
#define MT8183_INFRACFG_AO_I2C7_SW_RST
#define MT8183_INFRACFG_AO_I2C8_SW_RST

#define MT8183_INFRACFG_SW_RST_NUM

/* MMSYS resets */
#define MT8183_MMSYS_SW0_RST_B_DISP_DSI0

#define MT8183_TOPRGU_MM_SW_RST
#define MT8183_TOPRGU_MFG_SW_RST
#define MT8183_TOPRGU_VENC_SW_RST
#define MT8183_TOPRGU_VDEC_SW_RST
#define MT8183_TOPRGU_IMG_SW_RST
#define MT8183_TOPRGU_MD_SW_RST
#define MT8183_TOPRGU_CONN_SW_RST
#define MT8183_TOPRGU_CONN_MCU_SW_RST
#define MT8183_TOPRGU_IPU0_SW_RST
#define MT8183_TOPRGU_IPU1_SW_RST
#define MT8183_TOPRGU_AUDIO_SW_RST
#define MT8183_TOPRGU_CAMSYS_SW_RST

#define MT8183_TOPRGU_SW_RST_NUM

#endif  /* _DT_BINDINGS_RESET_CONTROLLER_MT8183 */