162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (C) 2019 MediaTek Inc. 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT7629 762306a36Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_MT7629 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci/* INFRACFG resets */ 1062306a36Sopenharmony_ci#define MT7629_INFRA_EMI_MPU_RST 0 1162306a36Sopenharmony_ci#define MT7629_INFRA_UART5_RST 2 1262306a36Sopenharmony_ci#define MT7629_INFRA_CIRQ_EINT_RST 3 1362306a36Sopenharmony_ci#define MT7629_INFRA_APXGPT_RST 4 1462306a36Sopenharmony_ci#define MT7629_INFRA_SCPSYS_RST 5 1562306a36Sopenharmony_ci#define MT7629_INFRA_KP_RST 6 1662306a36Sopenharmony_ci#define MT7629_INFRA_SPI1_RST 7 1762306a36Sopenharmony_ci#define MT7629_INFRA_SPI4_RST 8 1862306a36Sopenharmony_ci#define MT7629_INFRA_SYSTIMER_RST 9 1962306a36Sopenharmony_ci#define MT7629_INFRA_IRRX_RST 10 2062306a36Sopenharmony_ci#define MT7629_INFRA_AO_BUS_RST 16 2162306a36Sopenharmony_ci#define MT7629_INFRA_EMI_RST 32 2262306a36Sopenharmony_ci#define MT7629_INFRA_APMIXED_RST 35 2362306a36Sopenharmony_ci#define MT7629_INFRA_MIPI_RST 36 2462306a36Sopenharmony_ci#define MT7629_INFRA_TRNG_RST 37 2562306a36Sopenharmony_ci#define MT7629_INFRA_SYSCIRQ_RST 38 2662306a36Sopenharmony_ci#define MT7629_INFRA_MIPI_CSI_RST 39 2762306a36Sopenharmony_ci#define MT7629_INFRA_GCE_FAXI_RST 40 2862306a36Sopenharmony_ci#define MT7629_INFRA_I2C_SRAM_RST 41 2962306a36Sopenharmony_ci#define MT7629_INFRA_IOMMU_RST 47 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci/* PERICFG resets */ 3262306a36Sopenharmony_ci#define MT7629_PERI_UART0_SW_RST 0 3362306a36Sopenharmony_ci#define MT7629_PERI_UART1_SW_RST 1 3462306a36Sopenharmony_ci#define MT7629_PERI_UART2_SW_RST 2 3562306a36Sopenharmony_ci#define MT7629_PERI_BTIF_SW_RST 6 3662306a36Sopenharmony_ci#define MT7629_PERI_PWN_SW_RST 8 3762306a36Sopenharmony_ci#define MT7629_PERI_DMA_SW_RST 11 3862306a36Sopenharmony_ci#define MT7629_PERI_NFI_SW_RST 14 3962306a36Sopenharmony_ci#define MT7629_PERI_I2C0_SW_RST 22 4062306a36Sopenharmony_ci#define MT7629_PERI_SPI0_SW_RST 33 4162306a36Sopenharmony_ci#define MT7629_PERI_SPI1_SW_RST 34 4262306a36Sopenharmony_ci#define MT7629_PERI_FLASHIF_SW_RST 36 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ci/* PCIe Subsystem resets */ 4562306a36Sopenharmony_ci#define MT7629_PCIE1_CORE_RST 19 4662306a36Sopenharmony_ci#define MT7629_PCIE1_MMIO_RST 20 4762306a36Sopenharmony_ci#define MT7629_PCIE1_HRST 21 4862306a36Sopenharmony_ci#define MT7629_PCIE1_USER_RST 22 4962306a36Sopenharmony_ci#define MT7629_PCIE1_PIPE_RST 23 5062306a36Sopenharmony_ci#define MT7629_PCIE0_CORE_RST 27 5162306a36Sopenharmony_ci#define MT7629_PCIE0_MMIO_RST 28 5262306a36Sopenharmony_ci#define MT7629_PCIE0_HRST 29 5362306a36Sopenharmony_ci#define MT7629_PCIE0_USER_RST 30 5462306a36Sopenharmony_ci#define MT7629_PCIE0_PIPE_RST 31 5562306a36Sopenharmony_ci 5662306a36Sopenharmony_ci/* SSUSB Subsystem resets */ 5762306a36Sopenharmony_ci#define MT7629_SSUSB_PHY_PWR_RST 3 5862306a36Sopenharmony_ci#define MT7629_SSUSB_MAC_PWR_RST 4 5962306a36Sopenharmony_ci 6062306a36Sopenharmony_ci/* ETH Subsystem resets */ 6162306a36Sopenharmony_ci#define MT7629_ETHSYS_SYS_RST 0 6262306a36Sopenharmony_ci#define MT7629_ETHSYS_MCM_RST 2 6362306a36Sopenharmony_ci#define MT7629_ETHSYS_HSDMA_RST 5 6462306a36Sopenharmony_ci#define MT7629_ETHSYS_FE_RST 6 6562306a36Sopenharmony_ci#define MT7629_ETHSYS_ESW_RST 16 6662306a36Sopenharmony_ci#define MT7629_ETHSYS_GMAC_RST 23 6762306a36Sopenharmony_ci#define MT7629_ETHSYS_EPHY_RST 24 6862306a36Sopenharmony_ci#define MT7629_ETHSYS_CRYPTO_RST 29 6962306a36Sopenharmony_ci#define MT7629_ETHSYS_PPE_RST 31 7062306a36Sopenharmony_ci 7162306a36Sopenharmony_ci#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT7629 */ 72