162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)*/
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2021 MediaTek Inc.
462306a36Sopenharmony_ci * Author: Christine Zhu <christine.zhu@mediatek.com>
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8195
862306a36Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_MT8195
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci/* TOPRGU resets */
1162306a36Sopenharmony_ci#define MT8195_TOPRGU_CONN_MCU_SW_RST          0
1262306a36Sopenharmony_ci#define MT8195_TOPRGU_INFRA_GRST_SW_RST        1
1362306a36Sopenharmony_ci#define MT8195_TOPRGU_APU_SW_RST               2
1462306a36Sopenharmony_ci#define MT8195_TOPRGU_INFRA_AO_GRST_SW_RST     6
1562306a36Sopenharmony_ci#define MT8195_TOPRGU_MMSYS_SW_RST             7
1662306a36Sopenharmony_ci#define MT8195_TOPRGU_MFG_SW_RST               8
1762306a36Sopenharmony_ci#define MT8195_TOPRGU_VENC_SW_RST              9
1862306a36Sopenharmony_ci#define MT8195_TOPRGU_VDEC_SW_RST              10
1962306a36Sopenharmony_ci#define MT8195_TOPRGU_IMG_SW_RST               11
2062306a36Sopenharmony_ci#define MT8195_TOPRGU_APMIXEDSYS_SW_RST        13
2162306a36Sopenharmony_ci#define MT8195_TOPRGU_AUDIO_SW_RST             14
2262306a36Sopenharmony_ci#define MT8195_TOPRGU_CAMSYS_SW_RST            15
2362306a36Sopenharmony_ci#define MT8195_TOPRGU_EDPTX_SW_RST             16
2462306a36Sopenharmony_ci#define MT8195_TOPRGU_ADSPSYS_SW_RST           21
2562306a36Sopenharmony_ci#define MT8195_TOPRGU_DPTX_SW_RST              22
2662306a36Sopenharmony_ci#define MT8195_TOPRGU_SPMI_MST_SW_RST          23
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci#define MT8195_TOPRGU_SW_RST_NUM               16
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci/* INFRA resets */
3162306a36Sopenharmony_ci#define MT8195_INFRA_RST0_THERM_CTRL_SWRST     0
3262306a36Sopenharmony_ci#define MT8195_INFRA_RST3_THERM_CTRL_PTP_SWRST 1
3362306a36Sopenharmony_ci#define MT8195_INFRA_RST4_THERM_CTRL_MCU_SWRST 2
3462306a36Sopenharmony_ci#define MT8195_INFRA_RST2_PCIE_P0_SWRST        3
3562306a36Sopenharmony_ci#define MT8195_INFRA_RST2_PCIE_P1_SWRST        4
3662306a36Sopenharmony_ci#define MT8195_INFRA_RST2_USBSIF_P1_SWRST      5
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci/* VDOSYS1 */
3962306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_SMI_LARB2                     0
4062306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_SMI_LARB3                     1
4162306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_GALS                          2
4262306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_FAKE_ENG0                     3
4362306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_FAKE_ENG1                     4
4462306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA0                     5
4562306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA1                     6
4662306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA2                     7
4762306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA3                     8
4862306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_VPP_MERGE0                    9
4962306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_VPP_MERGE1                    10
5062306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_VPP_MERGE2                    11
5162306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_VPP_MERGE3                    12
5262306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_VPP_MERGE4                    13
5362306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_VPP2_TO_VDO1_DL_ASYNC         14
5462306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_VPP3_TO_VDO1_DL_ASYNC         15
5562306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_DISP_MUTEX                    16
5662306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA4                     17
5762306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA5                     18
5862306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA6                     19
5962306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MDP_RDMA7                     20
6062306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_DP_INTF0                      21
6162306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_DPI0                          22
6262306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_DPI1                          23
6362306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_DISP_MONITOR                  24
6462306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MERGE0_DL_ASYNC               25
6562306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MERGE1_DL_ASYNC               26
6662306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MERGE2_DL_ASYNC               27
6762306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MERGE3_DL_ASYNC               28
6862306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_MERGE4_DL_ASYNC               29
6962306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_VDO0_DSC_TO_VDO1_DL_ASYNC     30
7062306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW0_RST_B_VDO0_MERGE_TO_VDO1_DL_ASYNC   31
7162306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_FE0                   32
7262306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW1_RST_B_HDR_GFX_FE0                   33
7362306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_BE                    34
7462306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_FE1                   48
7562306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW1_RST_B_HDR_GFX_FE1                   49
7662306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW1_RST_B_DISP_MIXER                    50
7762306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_FE0_DL_ASYNC          51
7862306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_FE1_DL_ASYNC          52
7962306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW1_RST_B_HDR_GFX_FE0_DL_ASYNC          53
8062306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW1_RST_B_HDR_GFX_FE1_DL_ASYNC          54
8162306a36Sopenharmony_ci#define MT8195_VDOSYS1_SW1_RST_B_HDR_VDO_BE_DL_ASYNC           55
8262306a36Sopenharmony_ci
8362306a36Sopenharmony_ci#endif  /* _DT_BINDINGS_RESET_CONTROLLER_MT8195 */
84