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