1c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */ 2c66ec88fSEmmanuel Vadot /* 3c66ec88fSEmmanuel Vadot * Copyright (c) 2014 MediaTek Inc. 4c66ec88fSEmmanuel Vadot * Author: Flora Fu, MediaTek 5c66ec88fSEmmanuel Vadot */ 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8173 8c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_RESET_CONTROLLER_MT8173 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadot /* INFRACFG resets */ 11c66ec88fSEmmanuel Vadot #define MT8173_INFRA_EMI_REG_RST 0 12c66ec88fSEmmanuel Vadot #define MT8173_INFRA_DRAMC0_A0_RST 1 13c66ec88fSEmmanuel Vadot #define MT8173_INFRA_APCIRQ_EINT_RST 3 14c66ec88fSEmmanuel Vadot #define MT8173_INFRA_APXGPT_RST 4 15c66ec88fSEmmanuel Vadot #define MT8173_INFRA_SCPSYS_RST 5 16c66ec88fSEmmanuel Vadot #define MT8173_INFRA_KP_RST 6 17c66ec88fSEmmanuel Vadot #define MT8173_INFRA_PMIC_WRAP_RST 7 18c66ec88fSEmmanuel Vadot #define MT8173_INFRA_MPIP_RST 8 19c66ec88fSEmmanuel Vadot #define MT8173_INFRA_CEC_RST 9 20c66ec88fSEmmanuel Vadot #define MT8173_INFRA_EMI_RST 32 21c66ec88fSEmmanuel Vadot #define MT8173_INFRA_DRAMC0_RST 34 22c66ec88fSEmmanuel Vadot #define MT8173_INFRA_APMIXEDSYS_RST 35 23c66ec88fSEmmanuel Vadot #define MT8173_INFRA_MIPI_DSI_RST 36 24c66ec88fSEmmanuel Vadot #define MT8173_INFRA_TRNG_RST 37 25c66ec88fSEmmanuel Vadot #define MT8173_INFRA_SYSIRQ_RST 38 26c66ec88fSEmmanuel Vadot #define MT8173_INFRA_MIPI_CSI_RST 39 27c66ec88fSEmmanuel Vadot #define MT8173_INFRA_GCE_FAXI_RST 40 28c66ec88fSEmmanuel Vadot #define MT8173_INFRA_MMIOMMURST 47 29c66ec88fSEmmanuel Vadot 30*8cc087a1SEmmanuel Vadot /* MMSYS resets */ 31*8cc087a1SEmmanuel Vadot #define MT8173_MMSYS_SW0_RST_B_DISP_DSI0 25 32c66ec88fSEmmanuel Vadot 33c66ec88fSEmmanuel Vadot /* PERICFG resets */ 34c66ec88fSEmmanuel Vadot #define MT8173_PERI_UART0_SW_RST 0 35c66ec88fSEmmanuel Vadot #define MT8173_PERI_UART1_SW_RST 1 36c66ec88fSEmmanuel Vadot #define MT8173_PERI_UART2_SW_RST 2 37c66ec88fSEmmanuel Vadot #define MT8173_PERI_UART3_SW_RST 3 38c66ec88fSEmmanuel Vadot #define MT8173_PERI_IRRX_SW_RST 4 39c66ec88fSEmmanuel Vadot #define MT8173_PERI_PWM_SW_RST 8 40c66ec88fSEmmanuel Vadot #define MT8173_PERI_AUXADC_SW_RST 10 41c66ec88fSEmmanuel Vadot #define MT8173_PERI_DMA_SW_RST 11 42c66ec88fSEmmanuel Vadot #define MT8173_PERI_I2C6_SW_RST 13 43c66ec88fSEmmanuel Vadot #define MT8173_PERI_NFI_SW_RST 14 44c66ec88fSEmmanuel Vadot #define MT8173_PERI_THERM_SW_RST 16 45c66ec88fSEmmanuel Vadot #define MT8173_PERI_MSDC2_SW_RST 17 46c66ec88fSEmmanuel Vadot #define MT8173_PERI_MSDC3_SW_RST 18 47c66ec88fSEmmanuel Vadot #define MT8173_PERI_MSDC0_SW_RST 19 48c66ec88fSEmmanuel Vadot #define MT8173_PERI_MSDC1_SW_RST 20 49c66ec88fSEmmanuel Vadot #define MT8173_PERI_I2C0_SW_RST 22 50c66ec88fSEmmanuel Vadot #define MT8173_PERI_I2C1_SW_RST 23 51c66ec88fSEmmanuel Vadot #define MT8173_PERI_I2C2_SW_RST 24 52c66ec88fSEmmanuel Vadot #define MT8173_PERI_I2C3_SW_RST 25 53c66ec88fSEmmanuel Vadot #define MT8173_PERI_I2C4_SW_RST 26 54c66ec88fSEmmanuel Vadot #define MT8173_PERI_HDMI_SW_RST 29 55c66ec88fSEmmanuel Vadot #define MT8173_PERI_SPI0_SW_RST 33 56c66ec88fSEmmanuel Vadot 57c66ec88fSEmmanuel Vadot #endif /* _DT_BINDINGS_RESET_CONTROLLER_MT8173 */ 58