162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2019 MediaTek Inc.
462306a36Sopenharmony_ci * Author: Yong Liang <yong.liang@mediatek.com>
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8183
862306a36Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_MT8183
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci/* INFRACFG AO resets */
1162306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_THERM_SW_RST				0
1262306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_USB_TOP_SW_RST			1
1362306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_MM_IOMMU_SW_RST			3
1462306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_MSDC3_SW_RST				4
1562306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_MSDC2_SW_RST				5
1662306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_MSDC1_SW_RST				6
1762306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_MSDC0_SW_RST				7
1862306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_APDMA_SW_RST				9
1962306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_MIMP_D_SW_RST			10
2062306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_BTIF_SW_RST				12
2162306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_DISP_PWM_SW_RST			14
2262306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_AUXADC_SW_RST			15
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_IRTX_SW_RST				32
2562306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_SPI0_SW_RST				33
2662306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C0_SW_RST				34
2762306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C1_SW_RST				35
2862306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C2_SW_RST				36
2962306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C3_SW_RST				37
3062306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_UART0_SW_RST				38
3162306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_UART1_SW_RST				39
3262306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_UART2_SW_RST				40
3362306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_PWM_SW_RST				41
3462306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_SPI1_SW_RST				42
3562306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C4_SW_RST				43
3662306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_DVFSP_SW_RST				44
3762306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_SPI2_SW_RST				45
3862306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_SPI3_SW_RST				46
3962306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_UFSHCI_SW_RST			47
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_PMIC_WRAP_SW_RST			64
4262306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_SPM_SW_RST				65
4362306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_USBSIF_SW_RST			66
4462306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_KP_SW_RST				68
4562306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_APXGPT_SW_RST			69
4662306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_CLDMA_AO_SW_RST			70
4762306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_UNIPRO_UFS_SW_RST			71
4862306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_DX_CC_SW_RST				72
4962306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_UFSPHY_SW_RST			73
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_DX_CC_SEC_SW_RST			96
5262306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_GCE_SW_RST				97
5362306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_CLDMA_SW_RST				98
5462306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_TRNG_SW_RST				99
5562306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_AP_MD_CCIF_1_SW_RST			103
5662306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_AP_MD_CCIF_SW_RST			104
5762306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C1_IMM_SW_RST			105
5862306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C1_ARB_SW_RST			106
5962306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C2_IMM_SW_RST			107
6062306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C2_ARB_SW_RST			108
6162306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C5_SW_RST				109
6262306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C5_IMM_SW_RST			110
6362306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C5_ARB_SW_RST			111
6462306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_SPI4_SW_RST				112
6562306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_SPI5_SW_RST				113
6662306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_INFRA2MFGAXI_CBIP_CLAS_SW_RST	114
6762306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_MFGAXI2INFRA_M0_CBIP_GLAS_OUT_SW_RST	115
6862306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_MFGAXI2INFRA_M1_CBIP_GLAS_OUT_SW_RST	116
6962306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_UFS_AES_SW_RST			117
7062306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_CCU_I2C_IRQ_SW_RST			118
7162306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_CCU_I2C_DMA_SW_RST			119
7262306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C6_SW_RST				120
7362306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_CCU_GALS_SW_RST			121
7462306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_IPU_GALS_SW_RST			122
7562306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_CONN2AP_GALS_SW_RST			123
7662306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_AP_MD_CCIF2_SW_RST			124
7762306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_AP_MD_CCIF3_SW_RST			125
7862306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C7_SW_RST				126
7962306a36Sopenharmony_ci#define MT8183_INFRACFG_AO_I2C8_SW_RST				127
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ci#define MT8183_INFRACFG_SW_RST_NUM				128
8262306a36Sopenharmony_ci
8362306a36Sopenharmony_ci/* MMSYS resets */
8462306a36Sopenharmony_ci#define MT8183_MMSYS_SW0_RST_B_DISP_DSI0			25
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ci#define MT8183_TOPRGU_MM_SW_RST					1
8762306a36Sopenharmony_ci#define MT8183_TOPRGU_MFG_SW_RST				2
8862306a36Sopenharmony_ci#define MT8183_TOPRGU_VENC_SW_RST				3
8962306a36Sopenharmony_ci#define MT8183_TOPRGU_VDEC_SW_RST				4
9062306a36Sopenharmony_ci#define MT8183_TOPRGU_IMG_SW_RST				5
9162306a36Sopenharmony_ci#define MT8183_TOPRGU_MD_SW_RST					7
9262306a36Sopenharmony_ci#define MT8183_TOPRGU_CONN_SW_RST				9
9362306a36Sopenharmony_ci#define MT8183_TOPRGU_CONN_MCU_SW_RST				12
9462306a36Sopenharmony_ci#define MT8183_TOPRGU_IPU0_SW_RST				14
9562306a36Sopenharmony_ci#define MT8183_TOPRGU_IPU1_SW_RST				15
9662306a36Sopenharmony_ci#define MT8183_TOPRGU_AUDIO_SW_RST				17
9762306a36Sopenharmony_ci#define MT8183_TOPRGU_CAMSYS_SW_RST				18
9862306a36Sopenharmony_ci
9962306a36Sopenharmony_ci#define MT8183_TOPRGU_SW_RST_NUM				19
10062306a36Sopenharmony_ci
10162306a36Sopenharmony_ci#endif  /* _DT_BINDINGS_RESET_CONTROLLER_MT8183 */
102