Home | History | Annotate | Line # | Download | only in reset
      1      1.1  jmcneill /*	$NetBSD: altr,rst-mgr.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_H
      9      1.1  jmcneill #define _DT_BINDINGS_RESET_ALTR_RST_MGR_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 #define L2_RESET		4
     17      1.1  jmcneill 
     18      1.1  jmcneill /* PERMODRST */
     19      1.1  jmcneill #define EMAC0_RESET		32
     20      1.1  jmcneill #define EMAC1_RESET		33
     21      1.1  jmcneill #define USB0_RESET		34
     22      1.1  jmcneill #define USB1_RESET		35
     23      1.1  jmcneill #define NAND_RESET		36
     24      1.1  jmcneill #define QSPI_RESET		37
     25      1.1  jmcneill #define L4WD0_RESET		38
     26      1.1  jmcneill #define L4WD1_RESET		39
     27      1.1  jmcneill #define OSC1TIMER0_RESET	40
     28      1.1  jmcneill #define OSC1TIMER1_RESET	41
     29      1.1  jmcneill #define SPTIMER0_RESET		42
     30      1.1  jmcneill #define SPTIMER1_RESET		43
     31      1.1  jmcneill #define I2C0_RESET		44
     32      1.1  jmcneill #define I2C1_RESET		45
     33      1.1  jmcneill #define I2C2_RESET		46
     34      1.1  jmcneill #define I2C3_RESET		47
     35      1.1  jmcneill #define UART0_RESET		48
     36      1.1  jmcneill #define UART1_RESET		49
     37      1.1  jmcneill #define SPIM0_RESET		50
     38      1.1  jmcneill #define SPIM1_RESET		51
     39      1.1  jmcneill #define SPIS0_RESET		52
     40      1.1  jmcneill #define SPIS1_RESET		53
     41      1.1  jmcneill #define SDMMC_RESET		54
     42      1.1  jmcneill #define CAN0_RESET		55
     43      1.1  jmcneill #define CAN1_RESET		56
     44      1.1  jmcneill #define GPIO0_RESET		57
     45      1.1  jmcneill #define GPIO1_RESET		58
     46      1.1  jmcneill #define GPIO2_RESET		59
     47      1.1  jmcneill #define DMA_RESET		60
     48      1.1  jmcneill #define SDR_RESET		61
     49      1.1  jmcneill 
     50      1.1  jmcneill /* PER2MODRST */
     51      1.1  jmcneill #define DMAIF0_RESET		64
     52      1.1  jmcneill #define DMAIF1_RESET		65
     53      1.1  jmcneill #define DMAIF2_RESET		66
     54      1.1  jmcneill #define DMAIF3_RESET		67
     55      1.1  jmcneill #define DMAIF4_RESET		68
     56      1.1  jmcneill #define DMAIF5_RESET		69
     57      1.1  jmcneill #define DMAIF6_RESET		70
     58      1.1  jmcneill #define DMAIF7_RESET		71
     59      1.1  jmcneill 
     60      1.1  jmcneill /* BRGMODRST */
     61      1.1  jmcneill #define HPS2FPGA_RESET		96
     62      1.1  jmcneill #define LWHPS2FPGA_RESET	97
     63      1.1  jmcneill #define FPGA2HPS_RESET		98
     64      1.1  jmcneill 
     65      1.1  jmcneill /* MISCMODRST*/
     66      1.1  jmcneill #define ROM_RESET		128
     67      1.1  jmcneill #define OCRAM_RESET		129
     68      1.1  jmcneill #define SYSMGR_RESET		130
     69      1.1  jmcneill #define SYSMGRCOLD_RESET	131
     70      1.1  jmcneill #define FPGAMGR_RESET		132
     71      1.1  jmcneill #define ACPIDMAP_RESET		133
     72      1.1  jmcneill #define S2F_RESET		134
     73      1.1  jmcneill #define S2FCOLD_RESET		135
     74      1.1  jmcneill #define NRSTPIN_RESET		136
     75      1.1  jmcneill #define TIMESTAMPCOLD_RESET	137
     76      1.1  jmcneill #define CLKMGRCOLD_RESET	138
     77      1.1  jmcneill #define SCANMGR_RESET		139
     78      1.1  jmcneill #define FRZCTRLCOLD_RESET	140
     79      1.1  jmcneill #define SYSDBG_RESET		141
     80      1.1  jmcneill #define DBG_RESET		142
     81      1.1  jmcneill #define TAPCOLD_RESET		143
     82      1.1  jmcneill #define SDRCOLD_RESET		144
     83      1.1  jmcneill 
     84      1.1  jmcneill #endif
     85