18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2019 MediaTek Inc.
48c2ecf20Sopenharmony_ci * Author: Yong Liang <yong.liang@mediatek.com>
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8183
88c2ecf20Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_MT8183
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci/* INFRACFG AO resets */
118c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_THERM_SW_RST				0
128c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_USB_TOP_SW_RST			1
138c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_MM_IOMMU_SW_RST			3
148c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_MSDC3_SW_RST				4
158c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_MSDC2_SW_RST				5
168c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_MSDC1_SW_RST				6
178c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_MSDC0_SW_RST				7
188c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_APDMA_SW_RST				9
198c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_MIMP_D_SW_RST			10
208c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_BTIF_SW_RST				12
218c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_DISP_PWM_SW_RST			14
228c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_AUXADC_SW_RST			15
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_IRTX_SW_RST				32
258c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_SPI0_SW_RST				33
268c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C0_SW_RST				34
278c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C1_SW_RST				35
288c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C2_SW_RST				36
298c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C3_SW_RST				37
308c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_UART0_SW_RST				38
318c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_UART1_SW_RST				39
328c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_UART2_SW_RST				40
338c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_PWM_SW_RST				41
348c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_SPI1_SW_RST				42
358c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C4_SW_RST				43
368c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_DVFSP_SW_RST				44
378c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_SPI2_SW_RST				45
388c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_SPI3_SW_RST				46
398c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_UFSHCI_SW_RST			47
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_PMIC_WRAP_SW_RST			64
428c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_SPM_SW_RST				65
438c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_USBSIF_SW_RST			66
448c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_KP_SW_RST				68
458c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_APXGPT_SW_RST			69
468c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_CLDMA_AO_SW_RST			70
478c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_UNIPRO_UFS_SW_RST			71
488c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_DX_CC_SW_RST				72
498c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_UFSPHY_SW_RST			73
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_DX_CC_SEC_SW_RST			96
528c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_GCE_SW_RST				97
538c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_CLDMA_SW_RST				98
548c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_TRNG_SW_RST				99
558c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_AP_MD_CCIF_1_SW_RST			103
568c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_AP_MD_CCIF_SW_RST			104
578c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C1_IMM_SW_RST			105
588c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C1_ARB_SW_RST			106
598c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C2_IMM_SW_RST			107
608c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C2_ARB_SW_RST			108
618c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C5_SW_RST				109
628c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C5_IMM_SW_RST			110
638c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C5_ARB_SW_RST			111
648c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_SPI4_SW_RST				112
658c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_SPI5_SW_RST				113
668c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_INFRA2MFGAXI_CBIP_CLAS_SW_RST	114
678c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_MFGAXI2INFRA_M0_CBIP_GLAS_OUT_SW_RST	115
688c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_MFGAXI2INFRA_M1_CBIP_GLAS_OUT_SW_RST	116
698c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_UFS_AES_SW_RST			117
708c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_CCU_I2C_IRQ_SW_RST			118
718c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_CCU_I2C_DMA_SW_RST			119
728c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C6_SW_RST				120
738c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_CCU_GALS_SW_RST			121
748c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_IPU_GALS_SW_RST			122
758c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_CONN2AP_GALS_SW_RST			123
768c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_AP_MD_CCIF2_SW_RST			124
778c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_AP_MD_CCIF3_SW_RST			125
788c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C7_SW_RST				126
798c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C8_SW_RST				127
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ci#define MT8183_INFRACFG_SW_RST_NUM				128
828c2ecf20Sopenharmony_ci
838c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_MM_SW_RST					1
848c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_MFG_SW_RST				2
858c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_VENC_SW_RST				3
868c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_VDEC_SW_RST				4
878c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_IMG_SW_RST				5
888c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_MD_SW_RST					7
898c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_CONN_SW_RST				9
908c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_CONN_MCU_SW_RST				12
918c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_IPU0_SW_RST				14
928c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_IPU1_SW_RST				15
938c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_AUDIO_SW_RST				17
948c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_CAMSYS_SW_RST				18
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci#define MT8183_TOPRGU_SW_RST_NUM				19
978c2ecf20Sopenharmony_ci
988c2ecf20Sopenharmony_ci#endif  /* _DT_BINDINGS_RESET_CONTROLLER_MT8183 */
99