162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2014 MediaTek Inc. 462306a36Sopenharmony_ci * Author: Flora Fu, MediaTek 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8173 862306a36Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_MT8173 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci/* INFRACFG resets */ 1162306a36Sopenharmony_ci#define MT8173_INFRA_EMI_REG_RST 0 1262306a36Sopenharmony_ci#define MT8173_INFRA_DRAMC0_A0_RST 1 1362306a36Sopenharmony_ci#define MT8173_INFRA_APCIRQ_EINT_RST 3 1462306a36Sopenharmony_ci#define MT8173_INFRA_APXGPT_RST 4 1562306a36Sopenharmony_ci#define MT8173_INFRA_SCPSYS_RST 5 1662306a36Sopenharmony_ci#define MT8173_INFRA_KP_RST 6 1762306a36Sopenharmony_ci#define MT8173_INFRA_PMIC_WRAP_RST 7 1862306a36Sopenharmony_ci#define MT8173_INFRA_MPIP_RST 8 1962306a36Sopenharmony_ci#define MT8173_INFRA_CEC_RST 9 2062306a36Sopenharmony_ci#define MT8173_INFRA_EMI_RST 32 2162306a36Sopenharmony_ci#define MT8173_INFRA_DRAMC0_RST 34 2262306a36Sopenharmony_ci#define MT8173_INFRA_APMIXEDSYS_RST 35 2362306a36Sopenharmony_ci#define MT8173_INFRA_MIPI_DSI_RST 36 2462306a36Sopenharmony_ci#define MT8173_INFRA_TRNG_RST 37 2562306a36Sopenharmony_ci#define MT8173_INFRA_SYSIRQ_RST 38 2662306a36Sopenharmony_ci#define MT8173_INFRA_MIPI_CSI_RST 39 2762306a36Sopenharmony_ci#define MT8173_INFRA_GCE_FAXI_RST 40 2862306a36Sopenharmony_ci#define MT8173_INFRA_MMIOMMURST 47 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci/* MMSYS resets */ 3162306a36Sopenharmony_ci#define MT8173_MMSYS_SW0_RST_B_DISP_DSI0 25 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ci/* PERICFG resets */ 3462306a36Sopenharmony_ci#define MT8173_PERI_UART0_SW_RST 0 3562306a36Sopenharmony_ci#define MT8173_PERI_UART1_SW_RST 1 3662306a36Sopenharmony_ci#define MT8173_PERI_UART2_SW_RST 2 3762306a36Sopenharmony_ci#define MT8173_PERI_UART3_SW_RST 3 3862306a36Sopenharmony_ci#define MT8173_PERI_IRRX_SW_RST 4 3962306a36Sopenharmony_ci#define MT8173_PERI_PWM_SW_RST 8 4062306a36Sopenharmony_ci#define MT8173_PERI_AUXADC_SW_RST 10 4162306a36Sopenharmony_ci#define MT8173_PERI_DMA_SW_RST 11 4262306a36Sopenharmony_ci#define MT8173_PERI_I2C6_SW_RST 13 4362306a36Sopenharmony_ci#define MT8173_PERI_NFI_SW_RST 14 4462306a36Sopenharmony_ci#define MT8173_PERI_THERM_SW_RST 16 4562306a36Sopenharmony_ci#define MT8173_PERI_MSDC2_SW_RST 17 4662306a36Sopenharmony_ci#define MT8173_PERI_MSDC3_SW_RST 18 4762306a36Sopenharmony_ci#define MT8173_PERI_MSDC0_SW_RST 19 4862306a36Sopenharmony_ci#define MT8173_PERI_MSDC1_SW_RST 20 4962306a36Sopenharmony_ci#define MT8173_PERI_I2C0_SW_RST 22 5062306a36Sopenharmony_ci#define MT8173_PERI_I2C1_SW_RST 23 5162306a36Sopenharmony_ci#define MT8173_PERI_I2C2_SW_RST 24 5262306a36Sopenharmony_ci#define MT8173_PERI_I2C3_SW_RST 25 5362306a36Sopenharmony_ci#define MT8173_PERI_I2C4_SW_RST 26 5462306a36Sopenharmony_ci#define MT8173_PERI_HDMI_SW_RST 29 5562306a36Sopenharmony_ci#define MT8173_PERI_SPI0_SW_RST 33 5662306a36Sopenharmony_ci 5762306a36Sopenharmony_ci#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT8173 */ 58