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_MT8135
862306a36Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_MT8135
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci/* INFRACFG resets */
1162306a36Sopenharmony_ci#define MT8135_INFRA_EMI_REG_RST        0
1262306a36Sopenharmony_ci#define MT8135_INFRA_DRAMC0_A0_RST      1
1362306a36Sopenharmony_ci#define MT8135_INFRA_CCIF0_RST          2
1462306a36Sopenharmony_ci#define MT8135_INFRA_APCIRQ_EINT_RST    3
1562306a36Sopenharmony_ci#define MT8135_INFRA_APXGPT_RST         4
1662306a36Sopenharmony_ci#define MT8135_INFRA_SCPSYS_RST         5
1762306a36Sopenharmony_ci#define MT8135_INFRA_CCIF1_RST          6
1862306a36Sopenharmony_ci#define MT8135_INFRA_PMIC_WRAP_RST      7
1962306a36Sopenharmony_ci#define MT8135_INFRA_KP_RST             8
2062306a36Sopenharmony_ci#define MT8135_INFRA_EMI_RST            32
2162306a36Sopenharmony_ci#define MT8135_INFRA_DRAMC0_RST         34
2262306a36Sopenharmony_ci#define MT8135_INFRA_SMI_RST            35
2362306a36Sopenharmony_ci#define MT8135_INFRA_M4U_RST            36
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci/*  PERICFG resets */
2662306a36Sopenharmony_ci#define MT8135_PERI_UART0_SW_RST        0
2762306a36Sopenharmony_ci#define MT8135_PERI_UART1_SW_RST        1
2862306a36Sopenharmony_ci#define MT8135_PERI_UART2_SW_RST        2
2962306a36Sopenharmony_ci#define MT8135_PERI_UART3_SW_RST        3
3062306a36Sopenharmony_ci#define MT8135_PERI_IRDA_SW_RST         4
3162306a36Sopenharmony_ci#define MT8135_PERI_PTP_SW_RST          5
3262306a36Sopenharmony_ci#define MT8135_PERI_AP_HIF_SW_RST       6
3362306a36Sopenharmony_ci#define MT8135_PERI_GPCU_SW_RST         7
3462306a36Sopenharmony_ci#define MT8135_PERI_MD_HIF_SW_RST       8
3562306a36Sopenharmony_ci#define MT8135_PERI_NLI_SW_RST          9
3662306a36Sopenharmony_ci#define MT8135_PERI_AUXADC_SW_RST       10
3762306a36Sopenharmony_ci#define MT8135_PERI_DMA_SW_RST          11
3862306a36Sopenharmony_ci#define MT8135_PERI_NFI_SW_RST          14
3962306a36Sopenharmony_ci#define MT8135_PERI_PWM_SW_RST          15
4062306a36Sopenharmony_ci#define MT8135_PERI_THERM_SW_RST        16
4162306a36Sopenharmony_ci#define MT8135_PERI_MSDC0_SW_RST        17
4262306a36Sopenharmony_ci#define MT8135_PERI_MSDC1_SW_RST        18
4362306a36Sopenharmony_ci#define MT8135_PERI_MSDC2_SW_RST        19
4462306a36Sopenharmony_ci#define MT8135_PERI_MSDC3_SW_RST        20
4562306a36Sopenharmony_ci#define MT8135_PERI_I2C0_SW_RST         22
4662306a36Sopenharmony_ci#define MT8135_PERI_I2C1_SW_RST         23
4762306a36Sopenharmony_ci#define MT8135_PERI_I2C2_SW_RST         24
4862306a36Sopenharmony_ci#define MT8135_PERI_I2C3_SW_RST         25
4962306a36Sopenharmony_ci#define MT8135_PERI_I2C4_SW_RST         26
5062306a36Sopenharmony_ci#define MT8135_PERI_I2C5_SW_RST         27
5162306a36Sopenharmony_ci#define MT8135_PERI_I2C6_SW_RST         28
5262306a36Sopenharmony_ci#define MT8135_PERI_USB_SW_RST          29
5362306a36Sopenharmony_ci#define MT8135_PERI_SPI1_SW_RST         33
5462306a36Sopenharmony_ci#define MT8135_PERI_PWRAP_BRIDGE_SW_RST 34
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ci#endif  /* _DT_BINDINGS_RESET_CONTROLLER_MT8135 */
57