18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2019 MediaTek Inc. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_RESET_CONTROLLER_MT7629 78c2ecf20Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_MT7629 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci/* INFRACFG resets */ 108c2ecf20Sopenharmony_ci#define MT7629_INFRA_EMI_MPU_RST 0 118c2ecf20Sopenharmony_ci#define MT7629_INFRA_UART5_RST 2 128c2ecf20Sopenharmony_ci#define MT7629_INFRA_CIRQ_EINT_RST 3 138c2ecf20Sopenharmony_ci#define MT7629_INFRA_APXGPT_RST 4 148c2ecf20Sopenharmony_ci#define MT7629_INFRA_SCPSYS_RST 5 158c2ecf20Sopenharmony_ci#define MT7629_INFRA_KP_RST 6 168c2ecf20Sopenharmony_ci#define MT7629_INFRA_SPI1_RST 7 178c2ecf20Sopenharmony_ci#define MT7629_INFRA_SPI4_RST 8 188c2ecf20Sopenharmony_ci#define MT7629_INFRA_SYSTIMER_RST 9 198c2ecf20Sopenharmony_ci#define MT7629_INFRA_IRRX_RST 10 208c2ecf20Sopenharmony_ci#define MT7629_INFRA_AO_BUS_RST 16 218c2ecf20Sopenharmony_ci#define MT7629_INFRA_EMI_RST 32 228c2ecf20Sopenharmony_ci#define MT7629_INFRA_APMIXED_RST 35 238c2ecf20Sopenharmony_ci#define MT7629_INFRA_MIPI_RST 36 248c2ecf20Sopenharmony_ci#define MT7629_INFRA_TRNG_RST 37 258c2ecf20Sopenharmony_ci#define MT7629_INFRA_SYSCIRQ_RST 38 268c2ecf20Sopenharmony_ci#define MT7629_INFRA_MIPI_CSI_RST 39 278c2ecf20Sopenharmony_ci#define MT7629_INFRA_GCE_FAXI_RST 40 288c2ecf20Sopenharmony_ci#define MT7629_INFRA_I2C_SRAM_RST 41 298c2ecf20Sopenharmony_ci#define MT7629_INFRA_IOMMU_RST 47 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci/* PERICFG resets */ 328c2ecf20Sopenharmony_ci#define MT7629_PERI_UART0_SW_RST 0 338c2ecf20Sopenharmony_ci#define MT7629_PERI_UART1_SW_RST 1 348c2ecf20Sopenharmony_ci#define MT7629_PERI_UART2_SW_RST 2 358c2ecf20Sopenharmony_ci#define MT7629_PERI_BTIF_SW_RST 6 368c2ecf20Sopenharmony_ci#define MT7629_PERI_PWN_SW_RST 8 378c2ecf20Sopenharmony_ci#define MT7629_PERI_DMA_SW_RST 11 388c2ecf20Sopenharmony_ci#define MT7629_PERI_NFI_SW_RST 14 398c2ecf20Sopenharmony_ci#define MT7629_PERI_I2C0_SW_RST 22 408c2ecf20Sopenharmony_ci#define MT7629_PERI_SPI0_SW_RST 33 418c2ecf20Sopenharmony_ci#define MT7629_PERI_SPI1_SW_RST 34 428c2ecf20Sopenharmony_ci#define MT7629_PERI_FLASHIF_SW_RST 36 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci/* PCIe Subsystem resets */ 458c2ecf20Sopenharmony_ci#define MT7629_PCIE1_CORE_RST 19 468c2ecf20Sopenharmony_ci#define MT7629_PCIE1_MMIO_RST 20 478c2ecf20Sopenharmony_ci#define MT7629_PCIE1_HRST 21 488c2ecf20Sopenharmony_ci#define MT7629_PCIE1_USER_RST 22 498c2ecf20Sopenharmony_ci#define MT7629_PCIE1_PIPE_RST 23 508c2ecf20Sopenharmony_ci#define MT7629_PCIE0_CORE_RST 27 518c2ecf20Sopenharmony_ci#define MT7629_PCIE0_MMIO_RST 28 528c2ecf20Sopenharmony_ci#define MT7629_PCIE0_HRST 29 538c2ecf20Sopenharmony_ci#define MT7629_PCIE0_USER_RST 30 548c2ecf20Sopenharmony_ci#define MT7629_PCIE0_PIPE_RST 31 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ci/* SSUSB Subsystem resets */ 578c2ecf20Sopenharmony_ci#define MT7629_SSUSB_PHY_PWR_RST 3 588c2ecf20Sopenharmony_ci#define MT7629_SSUSB_MAC_PWR_RST 4 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_ci/* ETH Subsystem resets */ 618c2ecf20Sopenharmony_ci#define MT7629_ETHSYS_SYS_RST 0 628c2ecf20Sopenharmony_ci#define MT7629_ETHSYS_MCM_RST 2 638c2ecf20Sopenharmony_ci#define MT7629_ETHSYS_HSDMA_RST 5 648c2ecf20Sopenharmony_ci#define MT7629_ETHSYS_FE_RST 6 658c2ecf20Sopenharmony_ci#define MT7629_ETHSYS_ESW_RST 16 668c2ecf20Sopenharmony_ci#define MT7629_ETHSYS_GMAC_RST 23 678c2ecf20Sopenharmony_ci#define MT7629_ETHSYS_EPHY_RST 24 688c2ecf20Sopenharmony_ci#define MT7629_ETHSYS_CRYPTO_RST 29 698c2ecf20Sopenharmony_ci#define MT7629_ETHSYS_PPE_RST 31 708c2ecf20Sopenharmony_ci 718c2ecf20Sopenharmony_ci#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT7629 */ 72