18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci// Copyright (c) 2019 Nuvoton Technology corporation. 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_NPCM7XX_RESET_H 58c2ecf20Sopenharmony_ci#define _DT_BINDINGS_NPCM7XX_RESET_H 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_IPSRST1 0x20 88c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_IPSRST2 0x24 98c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_IPSRST3 0x34 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci/* Reset lines on IP1 reset module (NPCM7XX_RESET_IPSRST1) */ 128c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_FIU3 1 138c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_UDC1 5 148c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_EMC1 6 158c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_UART_2_3 7 168c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_UDC2 8 178c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_PECI 9 188c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_AES 10 198c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_UART_0_1 11 208c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_MC 12 218c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB2 13 228c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB3 14 238c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB4 15 248c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB5 16 258c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_PWM_M0 18 268c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_TIMER_0_4 19 278c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_TIMER_5_9 20 288c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_EMC2 21 298c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_UDC4 22 308c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_UDC5 23 318c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_UDC6 24 328c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_UDC3 25 338c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_ADC 27 348c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB6 28 358c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB7 29 368c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB0 30 378c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB1 31 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci/* Reset lines on IP2 reset module (NPCM7XX_RESET_IPSRST2) */ 408c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_MFT0 0 418c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_MFT1 1 428c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_MFT2 2 438c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_MFT3 3 448c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_MFT4 4 458c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_MFT5 5 468c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_MFT6 6 478c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_MFT7 7 488c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_MMC 8 498c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SDHC 9 508c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_GFX_SYS 10 518c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_AHB_PCIBRG 11 528c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_VDMA 12 538c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_ECE 13 548c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_VCD 14 558c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_OTP 16 568c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SIOX1 18 578c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SIOX2 19 588c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_3DES 21 598c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_PSPI1 22 608c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_PSPI2 23 618c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_GMAC2 25 628c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_USB_HOST 26 638c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_GMAC1 28 648c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_CP 31 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ci/* Reset lines on IP3 reset module (NPCM7XX_RESET_IPSRST3) */ 678c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_PWM_M1 0 688c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB12 1 698c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SPIX 2 708c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB13 3 718c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_UDC0 4 728c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_UDC7 5 738c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_UDC8 6 748c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_UDC9 7 758c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_PCI_MAILBOX 9 768c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB14 12 778c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SHA 13 788c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SEC_ECC 14 798c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_PCIE_RC 15 808c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_TIMER_10_14 16 818c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_RNG 17 828c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB15 18 838c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB8 19 848c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB9 20 858c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB10 21 868c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_SMB11 22 878c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_ESPI 23 888c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_USB_PHY_1 24 898c2ecf20Sopenharmony_ci#define NPCM7XX_RESET_USB_PHY_2 25 908c2ecf20Sopenharmony_ci 918c2ecf20Sopenharmony_ci#endif 92