1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */ 2*c66ec88fSEmmanuel Vadot /* 3*c66ec88fSEmmanuel Vadot * Copyright (C) 2019 MediaTek Inc. 4*c66ec88fSEmmanuel Vadot */ 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_RESET_CONTROLLER_MT7629 7*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_RESET_CONTROLLER_MT7629 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadot /* INFRACFG resets */ 10*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_EMI_MPU_RST 0 11*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_UART5_RST 2 12*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_CIRQ_EINT_RST 3 13*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_APXGPT_RST 4 14*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_SCPSYS_RST 5 15*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_KP_RST 6 16*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_SPI1_RST 7 17*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_SPI4_RST 8 18*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_SYSTIMER_RST 9 19*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_IRRX_RST 10 20*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_AO_BUS_RST 16 21*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_EMI_RST 32 22*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_APMIXED_RST 35 23*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_MIPI_RST 36 24*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_TRNG_RST 37 25*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_SYSCIRQ_RST 38 26*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_MIPI_CSI_RST 39 27*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_GCE_FAXI_RST 40 28*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_I2C_SRAM_RST 41 29*c66ec88fSEmmanuel Vadot #define MT7629_INFRA_IOMMU_RST 47 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot /* PERICFG resets */ 32*c66ec88fSEmmanuel Vadot #define MT7629_PERI_UART0_SW_RST 0 33*c66ec88fSEmmanuel Vadot #define MT7629_PERI_UART1_SW_RST 1 34*c66ec88fSEmmanuel Vadot #define MT7629_PERI_UART2_SW_RST 2 35*c66ec88fSEmmanuel Vadot #define MT7629_PERI_BTIF_SW_RST 6 36*c66ec88fSEmmanuel Vadot #define MT7629_PERI_PWN_SW_RST 8 37*c66ec88fSEmmanuel Vadot #define MT7629_PERI_DMA_SW_RST 11 38*c66ec88fSEmmanuel Vadot #define MT7629_PERI_NFI_SW_RST 14 39*c66ec88fSEmmanuel Vadot #define MT7629_PERI_I2C0_SW_RST 22 40*c66ec88fSEmmanuel Vadot #define MT7629_PERI_SPI0_SW_RST 33 41*c66ec88fSEmmanuel Vadot #define MT7629_PERI_SPI1_SW_RST 34 42*c66ec88fSEmmanuel Vadot #define MT7629_PERI_FLASHIF_SW_RST 36 43*c66ec88fSEmmanuel Vadot 44*c66ec88fSEmmanuel Vadot /* PCIe Subsystem resets */ 45*c66ec88fSEmmanuel Vadot #define MT7629_PCIE1_CORE_RST 19 46*c66ec88fSEmmanuel Vadot #define MT7629_PCIE1_MMIO_RST 20 47*c66ec88fSEmmanuel Vadot #define MT7629_PCIE1_HRST 21 48*c66ec88fSEmmanuel Vadot #define MT7629_PCIE1_USER_RST 22 49*c66ec88fSEmmanuel Vadot #define MT7629_PCIE1_PIPE_RST 23 50*c66ec88fSEmmanuel Vadot #define MT7629_PCIE0_CORE_RST 27 51*c66ec88fSEmmanuel Vadot #define MT7629_PCIE0_MMIO_RST 28 52*c66ec88fSEmmanuel Vadot #define MT7629_PCIE0_HRST 29 53*c66ec88fSEmmanuel Vadot #define MT7629_PCIE0_USER_RST 30 54*c66ec88fSEmmanuel Vadot #define MT7629_PCIE0_PIPE_RST 31 55*c66ec88fSEmmanuel Vadot 56*c66ec88fSEmmanuel Vadot /* SSUSB Subsystem resets */ 57*c66ec88fSEmmanuel Vadot #define MT7629_SSUSB_PHY_PWR_RST 3 58*c66ec88fSEmmanuel Vadot #define MT7629_SSUSB_MAC_PWR_RST 4 59*c66ec88fSEmmanuel Vadot 60*c66ec88fSEmmanuel Vadot /* ETH Subsystem resets */ 61*c66ec88fSEmmanuel Vadot #define MT7629_ETHSYS_SYS_RST 0 62*c66ec88fSEmmanuel Vadot #define MT7629_ETHSYS_MCM_RST 2 63*c66ec88fSEmmanuel Vadot #define MT7629_ETHSYS_HSDMA_RST 5 64*c66ec88fSEmmanuel Vadot #define MT7629_ETHSYS_FE_RST 6 65*c66ec88fSEmmanuel Vadot #define MT7629_ETHSYS_ESW_RST 16 66*c66ec88fSEmmanuel Vadot #define MT7629_ETHSYS_GMAC_RST 23 67*c66ec88fSEmmanuel Vadot #define MT7629_ETHSYS_EPHY_RST 24 68*c66ec88fSEmmanuel Vadot #define MT7629_ETHSYS_CRYPTO_RST 29 69*c66ec88fSEmmanuel Vadot #define MT7629_ETHSYS_PPE_RST 31 70*c66ec88fSEmmanuel Vadot 71*c66ec88fSEmmanuel Vadot #endif /* _DT_BINDINGS_RESET_CONTROLLER_MT7629 */ 72