162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)*/
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2022 MediaTek Inc.
462306a36Sopenharmony_ci * Author: Runyang Chen <runyang.chen@mediatek.com>
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8188
862306a36Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_MT8188
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#define MT8188_TOPRGU_CONN_MCU_SW_RST          0
1162306a36Sopenharmony_ci#define MT8188_TOPRGU_INFRA_GRST_SW_RST        1
1262306a36Sopenharmony_ci#define MT8188_TOPRGU_IPU0_SW_RST              2
1362306a36Sopenharmony_ci#define MT8188_TOPRGU_IPU1_SW_RST              3
1462306a36Sopenharmony_ci#define MT8188_TOPRGU_IPU2_SW_RST              4
1562306a36Sopenharmony_ci#define MT8188_TOPRGU_AUD_ASRC_SW_RST          5
1662306a36Sopenharmony_ci#define MT8188_TOPRGU_INFRA_SW_RST             6
1762306a36Sopenharmony_ci#define MT8188_TOPRGU_MMSYS_SW_RST             7
1862306a36Sopenharmony_ci#define MT8188_TOPRGU_MFG_SW_RST               8
1962306a36Sopenharmony_ci#define MT8188_TOPRGU_VENC_SW_RST              9
2062306a36Sopenharmony_ci#define MT8188_TOPRGU_VDEC_SW_RST              10
2162306a36Sopenharmony_ci#define MT8188_TOPRGU_CAM_VCORE_SW_RST         11
2262306a36Sopenharmony_ci#define MT8188_TOPRGU_SCP_SW_RST               12
2362306a36Sopenharmony_ci#define MT8188_TOPRGU_APMIXEDSYS_SW_RST        13
2462306a36Sopenharmony_ci#define MT8188_TOPRGU_AUDIO_SW_RST             14
2562306a36Sopenharmony_ci#define MT8188_TOPRGU_CAMSYS_SW_RST            15
2662306a36Sopenharmony_ci#define MT8188_TOPRGU_MJC_SW_RST               16
2762306a36Sopenharmony_ci#define MT8188_TOPRGU_PERI_SW_RST              17
2862306a36Sopenharmony_ci#define MT8188_TOPRGU_PERI_AO_SW_RST           18
2962306a36Sopenharmony_ci#define MT8188_TOPRGU_PCIE_SW_RST              19
3062306a36Sopenharmony_ci#define MT8188_TOPRGU_ADSPSYS_SW_RST           21
3162306a36Sopenharmony_ci#define MT8188_TOPRGU_DPTX_SW_RST              22
3262306a36Sopenharmony_ci#define MT8188_TOPRGU_SPMI_MST_SW_RST          23
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci#define MT8188_TOPRGU_SW_RST_NUM               24
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci/* INFRA resets */
3762306a36Sopenharmony_ci#define MT8188_INFRA_RST1_THERMAL_MCU_RST          0
3862306a36Sopenharmony_ci#define MT8188_INFRA_RST1_THERMAL_CTRL_RST         1
3962306a36Sopenharmony_ci#define MT8188_INFRA_RST3_PTP_CTRL_RST             2
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ci#endif  /* _DT_BINDINGS_RESET_CONTROLLER_MT8188 */
42