1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */ 2*c66ec88fSEmmanuel Vadot // Copyright (c) 2019 Nuvoton Technology corporation. 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_NPCM7XX_RESET_H 5*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_NPCM7XX_RESET_H 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_IPSRST1 0x20 8*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_IPSRST2 0x24 9*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_IPSRST3 0x34 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot /* Reset lines on IP1 reset module (NPCM7XX_RESET_IPSRST1) */ 12*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_FIU3 1 13*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_UDC1 5 14*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_EMC1 6 15*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_UART_2_3 7 16*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_UDC2 8 17*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_PECI 9 18*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_AES 10 19*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_UART_0_1 11 20*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_MC 12 21*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB2 13 22*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB3 14 23*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB4 15 24*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB5 16 25*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_PWM_M0 18 26*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_TIMER_0_4 19 27*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_TIMER_5_9 20 28*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_EMC2 21 29*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_UDC4 22 30*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_UDC5 23 31*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_UDC6 24 32*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_UDC3 25 33*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_ADC 27 34*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB6 28 35*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB7 29 36*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB0 30 37*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB1 31 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadot /* Reset lines on IP2 reset module (NPCM7XX_RESET_IPSRST2) */ 40*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_MFT0 0 41*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_MFT1 1 42*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_MFT2 2 43*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_MFT3 3 44*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_MFT4 4 45*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_MFT5 5 46*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_MFT6 6 47*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_MFT7 7 48*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_MMC 8 49*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SDHC 9 50*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_GFX_SYS 10 51*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_AHB_PCIBRG 11 52*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_VDMA 12 53*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_ECE 13 54*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_VCD 14 55*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_OTP 16 56*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SIOX1 18 57*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SIOX2 19 58*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_3DES 21 59*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_PSPI1 22 60*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_PSPI2 23 61*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_GMAC2 25 62*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_USB_HOST 26 63*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_GMAC1 28 64*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_CP 31 65*c66ec88fSEmmanuel Vadot 66*c66ec88fSEmmanuel Vadot /* Reset lines on IP3 reset module (NPCM7XX_RESET_IPSRST3) */ 67*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_PWM_M1 0 68*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB12 1 69*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SPIX 2 70*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB13 3 71*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_UDC0 4 72*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_UDC7 5 73*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_UDC8 6 74*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_UDC9 7 75*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_PCI_MAILBOX 9 76*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB14 12 77*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SHA 13 78*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SEC_ECC 14 79*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_PCIE_RC 15 80*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_TIMER_10_14 16 81*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_RNG 17 82*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB15 18 83*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB8 19 84*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB9 20 85*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB10 21 86*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_SMB11 22 87*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_ESPI 23 88*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_USB_PHY_1 24 89*c66ec88fSEmmanuel Vadot #define NPCM7XX_RESET_USB_PHY_2 25 90*c66ec88fSEmmanuel Vadot 91*c66ec88fSEmmanuel Vadot #endif 92