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_MT8186 862306a36Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_MT8186 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci/* TOPRGU resets */ 1162306a36Sopenharmony_ci#define MT8186_TOPRGU_INFRA_SW_RST 0 1262306a36Sopenharmony_ci#define MT8186_TOPRGU_MM_SW_RST 1 1362306a36Sopenharmony_ci#define MT8186_TOPRGU_MFG_SW_RST 2 1462306a36Sopenharmony_ci#define MT8186_TOPRGU_VENC_SW_RST 3 1562306a36Sopenharmony_ci#define MT8186_TOPRGU_VDEC_SW_RST 4 1662306a36Sopenharmony_ci#define MT8186_TOPRGU_IMG_SW_RST 5 1762306a36Sopenharmony_ci#define MT8186_TOPRGU_DDR_SW_RST 6 1862306a36Sopenharmony_ci#define MT8186_TOPRGU_INFRA_AO_SW_RST 8 1962306a36Sopenharmony_ci#define MT8186_TOPRGU_CONNSYS_SW_RST 9 2062306a36Sopenharmony_ci#define MT8186_TOPRGU_APMIXED_SW_RST 10 2162306a36Sopenharmony_ci#define MT8186_TOPRGU_PWRAP_SW_RST 11 2262306a36Sopenharmony_ci#define MT8186_TOPRGU_CONN_MCU_SW_RST 12 2362306a36Sopenharmony_ci#define MT8186_TOPRGU_IPNNA_SW_RST 13 2462306a36Sopenharmony_ci#define MT8186_TOPRGU_WPE_SW_RST 14 2562306a36Sopenharmony_ci#define MT8186_TOPRGU_ADSP_SW_RST 15 2662306a36Sopenharmony_ci#define MT8186_TOPRGU_AUDIO_SW_RST 17 2762306a36Sopenharmony_ci#define MT8186_TOPRGU_CAM_MAIN_SW_RST 18 2862306a36Sopenharmony_ci#define MT8186_TOPRGU_CAM_RAWA_SW_RST 19 2962306a36Sopenharmony_ci#define MT8186_TOPRGU_CAM_RAWB_SW_RST 20 3062306a36Sopenharmony_ci#define MT8186_TOPRGU_IPE_SW_RST 21 3162306a36Sopenharmony_ci#define MT8186_TOPRGU_IMG2_SW_RST 22 3262306a36Sopenharmony_ci#define MT8186_TOPRGU_SW_RST_NUM 23 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ci/* MMSYS resets */ 3562306a36Sopenharmony_ci#define MT8186_MMSYS_SW0_RST_B_DISP_DSI0 19 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ci/* INFRA resets */ 3862306a36Sopenharmony_ci#define MT8186_INFRA_THERMAL_CTRL_RST 0 3962306a36Sopenharmony_ci#define MT8186_INFRA_PTP_CTRL_RST 1 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ci#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT8186 */ 42