xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/mt8135-resets.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * Copyright (c) 2014 MediaTek Inc.
4*c66ec88fSEmmanuel Vadot  * Author: Flora Fu, MediaTek
5*c66ec88fSEmmanuel Vadot  */
6*c66ec88fSEmmanuel Vadot 
7*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8135
8*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_RESET_CONTROLLER_MT8135
9*c66ec88fSEmmanuel Vadot 
10*c66ec88fSEmmanuel Vadot /* INFRACFG resets */
11*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_EMI_REG_RST        0
12*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_DRAMC0_A0_RST      1
13*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_CCIF0_RST          2
14*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_APCIRQ_EINT_RST    3
15*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_APXGPT_RST         4
16*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_SCPSYS_RST         5
17*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_CCIF1_RST          6
18*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_PMIC_WRAP_RST      7
19*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_KP_RST             8
20*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_EMI_RST            32
21*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_DRAMC0_RST         34
22*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_SMI_RST            35
23*c66ec88fSEmmanuel Vadot #define MT8135_INFRA_M4U_RST            36
24*c66ec88fSEmmanuel Vadot 
25*c66ec88fSEmmanuel Vadot /*  PERICFG resets */
26*c66ec88fSEmmanuel Vadot #define MT8135_PERI_UART0_SW_RST        0
27*c66ec88fSEmmanuel Vadot #define MT8135_PERI_UART1_SW_RST        1
28*c66ec88fSEmmanuel Vadot #define MT8135_PERI_UART2_SW_RST        2
29*c66ec88fSEmmanuel Vadot #define MT8135_PERI_UART3_SW_RST        3
30*c66ec88fSEmmanuel Vadot #define MT8135_PERI_IRDA_SW_RST         4
31*c66ec88fSEmmanuel Vadot #define MT8135_PERI_PTP_SW_RST          5
32*c66ec88fSEmmanuel Vadot #define MT8135_PERI_AP_HIF_SW_RST       6
33*c66ec88fSEmmanuel Vadot #define MT8135_PERI_GPCU_SW_RST         7
34*c66ec88fSEmmanuel Vadot #define MT8135_PERI_MD_HIF_SW_RST       8
35*c66ec88fSEmmanuel Vadot #define MT8135_PERI_NLI_SW_RST          9
36*c66ec88fSEmmanuel Vadot #define MT8135_PERI_AUXADC_SW_RST       10
37*c66ec88fSEmmanuel Vadot #define MT8135_PERI_DMA_SW_RST          11
38*c66ec88fSEmmanuel Vadot #define MT8135_PERI_NFI_SW_RST          14
39*c66ec88fSEmmanuel Vadot #define MT8135_PERI_PWM_SW_RST          15
40*c66ec88fSEmmanuel Vadot #define MT8135_PERI_THERM_SW_RST        16
41*c66ec88fSEmmanuel Vadot #define MT8135_PERI_MSDC0_SW_RST        17
42*c66ec88fSEmmanuel Vadot #define MT8135_PERI_MSDC1_SW_RST        18
43*c66ec88fSEmmanuel Vadot #define MT8135_PERI_MSDC2_SW_RST        19
44*c66ec88fSEmmanuel Vadot #define MT8135_PERI_MSDC3_SW_RST        20
45*c66ec88fSEmmanuel Vadot #define MT8135_PERI_I2C0_SW_RST         22
46*c66ec88fSEmmanuel Vadot #define MT8135_PERI_I2C1_SW_RST         23
47*c66ec88fSEmmanuel Vadot #define MT8135_PERI_I2C2_SW_RST         24
48*c66ec88fSEmmanuel Vadot #define MT8135_PERI_I2C3_SW_RST         25
49*c66ec88fSEmmanuel Vadot #define MT8135_PERI_I2C4_SW_RST         26
50*c66ec88fSEmmanuel Vadot #define MT8135_PERI_I2C5_SW_RST         27
51*c66ec88fSEmmanuel Vadot #define MT8135_PERI_I2C6_SW_RST         28
52*c66ec88fSEmmanuel Vadot #define MT8135_PERI_USB_SW_RST          29
53*c66ec88fSEmmanuel Vadot #define MT8135_PERI_SPI1_SW_RST         33
54*c66ec88fSEmmanuel Vadot #define MT8135_PERI_PWRAP_BRIDGE_SW_RST 34
55*c66ec88fSEmmanuel Vadot 
56*c66ec88fSEmmanuel Vadot #endif  /* _DT_BINDINGS_RESET_CONTROLLER_MT8135 */
57