Home | History | Annotate | Line # | Download | only in reset
      1      1.1  jmcneill /*	$NetBSD: altr,rst-mgr-a10.h,v 1.1.1.2 2020/01/03 14:33:06 skrll Exp $	*/
      2      1.1  jmcneill 
      3  1.1.1.2     skrll /* SPDX-License-Identifier: GPL-2.0-only */
      4      1.1  jmcneill /*
      5      1.1  jmcneill  * Copyright (c) 2014, Steffen Trumtrar <s.trumtrar (at) pengutronix.de>
      6      1.1  jmcneill  */
      7      1.1  jmcneill 
      8      1.1  jmcneill #ifndef _DT_BINDINGS_RESET_ALTR_RST_MGR_A10_H
      9      1.1  jmcneill #define _DT_BINDINGS_RESET_ALTR_RST_MGR_A10_H
     10      1.1  jmcneill 
     11      1.1  jmcneill /* MPUMODRST */
     12      1.1  jmcneill #define CPU0_RESET		0
     13      1.1  jmcneill #define CPU1_RESET		1
     14      1.1  jmcneill #define WDS_RESET		2
     15      1.1  jmcneill #define SCUPER_RESET		3
     16      1.1  jmcneill 
     17      1.1  jmcneill /* PER0MODRST */
     18      1.1  jmcneill #define EMAC0_RESET		32
     19      1.1  jmcneill #define EMAC1_RESET		33
     20      1.1  jmcneill #define EMAC2_RESET		34
     21      1.1  jmcneill #define USB0_RESET		35
     22      1.1  jmcneill #define USB1_RESET		36
     23      1.1  jmcneill #define NAND_RESET		37
     24      1.1  jmcneill #define QSPI_RESET		38
     25      1.1  jmcneill #define SDMMC_RESET		39
     26      1.1  jmcneill #define EMAC0_OCP_RESET		40
     27      1.1  jmcneill #define EMAC1_OCP_RESET		41
     28      1.1  jmcneill #define EMAC2_OCP_RESET		42
     29      1.1  jmcneill #define USB0_OCP_RESET		43
     30      1.1  jmcneill #define USB1_OCP_RESET		44
     31      1.1  jmcneill #define NAND_OCP_RESET		45
     32      1.1  jmcneill #define QSPI_OCP_RESET		46
     33      1.1  jmcneill #define SDMMC_OCP_RESET		47
     34      1.1  jmcneill #define DMA_RESET		48
     35      1.1  jmcneill #define SPIM0_RESET		49
     36      1.1  jmcneill #define SPIM1_RESET		50
     37      1.1  jmcneill #define SPIS0_RESET		51
     38      1.1  jmcneill #define SPIS1_RESET		52
     39      1.1  jmcneill #define DMA_OCP_RESET		53
     40      1.1  jmcneill #define EMAC_PTP_RESET		54
     41      1.1  jmcneill /* 55 is empty*/
     42      1.1  jmcneill #define DMAIF0_RESET		56
     43      1.1  jmcneill #define DMAIF1_RESET		57
     44      1.1  jmcneill #define DMAIF2_RESET		58
     45      1.1  jmcneill #define DMAIF3_RESET		59
     46      1.1  jmcneill #define DMAIF4_RESET		60
     47      1.1  jmcneill #define DMAIF5_RESET		61
     48      1.1  jmcneill #define DMAIF6_RESET		62
     49      1.1  jmcneill #define DMAIF7_RESET		63
     50      1.1  jmcneill 
     51      1.1  jmcneill /* PER1MODRST */
     52      1.1  jmcneill #define L4WD0_RESET		64
     53      1.1  jmcneill #define L4WD1_RESET		65
     54      1.1  jmcneill #define L4SYSTIMER0_RESET	66
     55      1.1  jmcneill #define L4SYSTIMER1_RESET	67
     56      1.1  jmcneill #define SPTIMER0_RESET		68
     57      1.1  jmcneill #define SPTIMER1_RESET		69
     58      1.1  jmcneill /* 70-71 is reserved */
     59      1.1  jmcneill #define I2C0_RESET		72
     60      1.1  jmcneill #define I2C1_RESET		73
     61      1.1  jmcneill #define I2C2_RESET		74
     62      1.1  jmcneill #define I2C3_RESET		75
     63      1.1  jmcneill #define I2C4_RESET		76
     64      1.1  jmcneill /* 77-79 is reserved */
     65      1.1  jmcneill #define UART0_RESET		80
     66      1.1  jmcneill #define UART1_RESET		81
     67      1.1  jmcneill /* 82-87 is reserved */
     68      1.1  jmcneill #define GPIO0_RESET		88
     69      1.1  jmcneill #define GPIO1_RESET		89
     70      1.1  jmcneill #define GPIO2_RESET		90
     71      1.1  jmcneill 
     72      1.1  jmcneill /* BRGMODRST */
     73      1.1  jmcneill #define HPS2FPGA_RESET		96
     74      1.1  jmcneill #define LWHPS2FPGA_RESET	97
     75      1.1  jmcneill #define FPGA2HPS_RESET		98
     76      1.1  jmcneill #define F2SSDRAM0_RESET		99
     77      1.1  jmcneill #define F2SSDRAM1_RESET		100
     78      1.1  jmcneill #define F2SSDRAM2_RESET		101
     79      1.1  jmcneill #define DDRSCH_RESET		102
     80      1.1  jmcneill 
     81      1.1  jmcneill /* SYSMODRST*/
     82      1.1  jmcneill #define ROM_RESET		128
     83      1.1  jmcneill #define OCRAM_RESET		129
     84      1.1  jmcneill /* 130 is reserved */
     85      1.1  jmcneill #define FPGAMGR_RESET		131
     86      1.1  jmcneill #define S2F_RESET		132
     87      1.1  jmcneill #define SYSDBG_RESET		133
     88      1.1  jmcneill #define OCRAM_OCP_RESET		134
     89      1.1  jmcneill 
     90      1.1  jmcneill /* COLDMODRST */
     91      1.1  jmcneill #define CLKMGRCOLD_RESET	160
     92      1.1  jmcneill /* 161-162 is reserved */
     93      1.1  jmcneill #define S2FCOLD_RESET		163
     94      1.1  jmcneill #define TIMESTAMPCOLD_RESET	164
     95      1.1  jmcneill #define TAPCOLD_RESET		165
     96      1.1  jmcneill #define HMCCOLD_RESET		166
     97      1.1  jmcneill #define IOMGRCOLD_RESET		167
     98      1.1  jmcneill 
     99      1.1  jmcneill /* NRSTMODRST */
    100      1.1  jmcneill #define NRSTPINOE_RESET		192
    101      1.1  jmcneill 
    102      1.1  jmcneill /* DBGMODRST */
    103      1.1  jmcneill #define DBG_RESET		224
    104      1.1  jmcneill #endif
    105