xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/altr,rst-mgr.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * Copyright (c) 2014, Steffen Trumtrar <s.trumtrar@pengutronix.de>
4*c66ec88fSEmmanuel Vadot  */
5*c66ec88fSEmmanuel Vadot 
6*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_RESET_ALTR_RST_MGR_H
7*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_RESET_ALTR_RST_MGR_H
8*c66ec88fSEmmanuel Vadot 
9*c66ec88fSEmmanuel Vadot /* MPUMODRST */
10*c66ec88fSEmmanuel Vadot #define CPU0_RESET		0
11*c66ec88fSEmmanuel Vadot #define CPU1_RESET		1
12*c66ec88fSEmmanuel Vadot #define WDS_RESET		2
13*c66ec88fSEmmanuel Vadot #define SCUPER_RESET		3
14*c66ec88fSEmmanuel Vadot #define L2_RESET		4
15*c66ec88fSEmmanuel Vadot 
16*c66ec88fSEmmanuel Vadot /* PERMODRST */
17*c66ec88fSEmmanuel Vadot #define EMAC0_RESET		32
18*c66ec88fSEmmanuel Vadot #define EMAC1_RESET		33
19*c66ec88fSEmmanuel Vadot #define USB0_RESET		34
20*c66ec88fSEmmanuel Vadot #define USB1_RESET		35
21*c66ec88fSEmmanuel Vadot #define NAND_RESET		36
22*c66ec88fSEmmanuel Vadot #define QSPI_RESET		37
23*c66ec88fSEmmanuel Vadot #define L4WD0_RESET		38
24*c66ec88fSEmmanuel Vadot #define L4WD1_RESET		39
25*c66ec88fSEmmanuel Vadot #define OSC1TIMER0_RESET	40
26*c66ec88fSEmmanuel Vadot #define OSC1TIMER1_RESET	41
27*c66ec88fSEmmanuel Vadot #define SPTIMER0_RESET		42
28*c66ec88fSEmmanuel Vadot #define SPTIMER1_RESET		43
29*c66ec88fSEmmanuel Vadot #define I2C0_RESET		44
30*c66ec88fSEmmanuel Vadot #define I2C1_RESET		45
31*c66ec88fSEmmanuel Vadot #define I2C2_RESET		46
32*c66ec88fSEmmanuel Vadot #define I2C3_RESET		47
33*c66ec88fSEmmanuel Vadot #define UART0_RESET		48
34*c66ec88fSEmmanuel Vadot #define UART1_RESET		49
35*c66ec88fSEmmanuel Vadot #define SPIM0_RESET		50
36*c66ec88fSEmmanuel Vadot #define SPIM1_RESET		51
37*c66ec88fSEmmanuel Vadot #define SPIS0_RESET		52
38*c66ec88fSEmmanuel Vadot #define SPIS1_RESET		53
39*c66ec88fSEmmanuel Vadot #define SDMMC_RESET		54
40*c66ec88fSEmmanuel Vadot #define CAN0_RESET		55
41*c66ec88fSEmmanuel Vadot #define CAN1_RESET		56
42*c66ec88fSEmmanuel Vadot #define GPIO0_RESET		57
43*c66ec88fSEmmanuel Vadot #define GPIO1_RESET		58
44*c66ec88fSEmmanuel Vadot #define GPIO2_RESET		59
45*c66ec88fSEmmanuel Vadot #define DMA_RESET		60
46*c66ec88fSEmmanuel Vadot #define SDR_RESET		61
47*c66ec88fSEmmanuel Vadot 
48*c66ec88fSEmmanuel Vadot /* PER2MODRST */
49*c66ec88fSEmmanuel Vadot #define DMAIF0_RESET		64
50*c66ec88fSEmmanuel Vadot #define DMAIF1_RESET		65
51*c66ec88fSEmmanuel Vadot #define DMAIF2_RESET		66
52*c66ec88fSEmmanuel Vadot #define DMAIF3_RESET		67
53*c66ec88fSEmmanuel Vadot #define DMAIF4_RESET		68
54*c66ec88fSEmmanuel Vadot #define DMAIF5_RESET		69
55*c66ec88fSEmmanuel Vadot #define DMAIF6_RESET		70
56*c66ec88fSEmmanuel Vadot #define DMAIF7_RESET		71
57*c66ec88fSEmmanuel Vadot 
58*c66ec88fSEmmanuel Vadot /* BRGMODRST */
59*c66ec88fSEmmanuel Vadot #define HPS2FPGA_RESET		96
60*c66ec88fSEmmanuel Vadot #define LWHPS2FPGA_RESET	97
61*c66ec88fSEmmanuel Vadot #define FPGA2HPS_RESET		98
62*c66ec88fSEmmanuel Vadot 
63*c66ec88fSEmmanuel Vadot /* MISCMODRST*/
64*c66ec88fSEmmanuel Vadot #define ROM_RESET		128
65*c66ec88fSEmmanuel Vadot #define OCRAM_RESET		129
66*c66ec88fSEmmanuel Vadot #define SYSMGR_RESET		130
67*c66ec88fSEmmanuel Vadot #define SYSMGRCOLD_RESET	131
68*c66ec88fSEmmanuel Vadot #define FPGAMGR_RESET		132
69*c66ec88fSEmmanuel Vadot #define ACPIDMAP_RESET		133
70*c66ec88fSEmmanuel Vadot #define S2F_RESET		134
71*c66ec88fSEmmanuel Vadot #define S2FCOLD_RESET		135
72*c66ec88fSEmmanuel Vadot #define NRSTPIN_RESET		136
73*c66ec88fSEmmanuel Vadot #define TIMESTAMPCOLD_RESET	137
74*c66ec88fSEmmanuel Vadot #define CLKMGRCOLD_RESET	138
75*c66ec88fSEmmanuel Vadot #define SCANMGR_RESET		139
76*c66ec88fSEmmanuel Vadot #define FRZCTRLCOLD_RESET	140
77*c66ec88fSEmmanuel Vadot #define SYSDBG_RESET		141
78*c66ec88fSEmmanuel Vadot #define DBG_RESET		142
79*c66ec88fSEmmanuel Vadot #define TAPCOLD_RESET		143
80*c66ec88fSEmmanuel Vadot #define SDRCOLD_RESET		144
81*c66ec88fSEmmanuel Vadot 
82*c66ec88fSEmmanuel Vadot #endif
83