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_A10_H 7*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_RESET_ALTR_RST_MGR_A10_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 15*c66ec88fSEmmanuel Vadot /* PER0MODRST */ 16*c66ec88fSEmmanuel Vadot #define EMAC0_RESET 32 17*c66ec88fSEmmanuel Vadot #define EMAC1_RESET 33 18*c66ec88fSEmmanuel Vadot #define EMAC2_RESET 34 19*c66ec88fSEmmanuel Vadot #define USB0_RESET 35 20*c66ec88fSEmmanuel Vadot #define USB1_RESET 36 21*c66ec88fSEmmanuel Vadot #define NAND_RESET 37 22*c66ec88fSEmmanuel Vadot #define QSPI_RESET 38 23*c66ec88fSEmmanuel Vadot #define SDMMC_RESET 39 24*c66ec88fSEmmanuel Vadot #define EMAC0_OCP_RESET 40 25*c66ec88fSEmmanuel Vadot #define EMAC1_OCP_RESET 41 26*c66ec88fSEmmanuel Vadot #define EMAC2_OCP_RESET 42 27*c66ec88fSEmmanuel Vadot #define USB0_OCP_RESET 43 28*c66ec88fSEmmanuel Vadot #define USB1_OCP_RESET 44 29*c66ec88fSEmmanuel Vadot #define NAND_OCP_RESET 45 30*c66ec88fSEmmanuel Vadot #define QSPI_OCP_RESET 46 31*c66ec88fSEmmanuel Vadot #define SDMMC_OCP_RESET 47 32*c66ec88fSEmmanuel Vadot #define DMA_RESET 48 33*c66ec88fSEmmanuel Vadot #define SPIM0_RESET 49 34*c66ec88fSEmmanuel Vadot #define SPIM1_RESET 50 35*c66ec88fSEmmanuel Vadot #define SPIS0_RESET 51 36*c66ec88fSEmmanuel Vadot #define SPIS1_RESET 52 37*c66ec88fSEmmanuel Vadot #define DMA_OCP_RESET 53 38*c66ec88fSEmmanuel Vadot #define EMAC_PTP_RESET 54 39*c66ec88fSEmmanuel Vadot /* 55 is empty*/ 40*c66ec88fSEmmanuel Vadot #define DMAIF0_RESET 56 41*c66ec88fSEmmanuel Vadot #define DMAIF1_RESET 57 42*c66ec88fSEmmanuel Vadot #define DMAIF2_RESET 58 43*c66ec88fSEmmanuel Vadot #define DMAIF3_RESET 59 44*c66ec88fSEmmanuel Vadot #define DMAIF4_RESET 60 45*c66ec88fSEmmanuel Vadot #define DMAIF5_RESET 61 46*c66ec88fSEmmanuel Vadot #define DMAIF6_RESET 62 47*c66ec88fSEmmanuel Vadot #define DMAIF7_RESET 63 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel Vadot /* PER1MODRST */ 50*c66ec88fSEmmanuel Vadot #define L4WD0_RESET 64 51*c66ec88fSEmmanuel Vadot #define L4WD1_RESET 65 52*c66ec88fSEmmanuel Vadot #define L4SYSTIMER0_RESET 66 53*c66ec88fSEmmanuel Vadot #define L4SYSTIMER1_RESET 67 54*c66ec88fSEmmanuel Vadot #define SPTIMER0_RESET 68 55*c66ec88fSEmmanuel Vadot #define SPTIMER1_RESET 69 56*c66ec88fSEmmanuel Vadot /* 70-71 is reserved */ 57*c66ec88fSEmmanuel Vadot #define I2C0_RESET 72 58*c66ec88fSEmmanuel Vadot #define I2C1_RESET 73 59*c66ec88fSEmmanuel Vadot #define I2C2_RESET 74 60*c66ec88fSEmmanuel Vadot #define I2C3_RESET 75 61*c66ec88fSEmmanuel Vadot #define I2C4_RESET 76 62*c66ec88fSEmmanuel Vadot /* 77-79 is reserved */ 63*c66ec88fSEmmanuel Vadot #define UART0_RESET 80 64*c66ec88fSEmmanuel Vadot #define UART1_RESET 81 65*c66ec88fSEmmanuel Vadot /* 82-87 is reserved */ 66*c66ec88fSEmmanuel Vadot #define GPIO0_RESET 88 67*c66ec88fSEmmanuel Vadot #define GPIO1_RESET 89 68*c66ec88fSEmmanuel Vadot #define GPIO2_RESET 90 69*c66ec88fSEmmanuel Vadot 70*c66ec88fSEmmanuel Vadot /* BRGMODRST */ 71*c66ec88fSEmmanuel Vadot #define HPS2FPGA_RESET 96 72*c66ec88fSEmmanuel Vadot #define LWHPS2FPGA_RESET 97 73*c66ec88fSEmmanuel Vadot #define FPGA2HPS_RESET 98 74*c66ec88fSEmmanuel Vadot #define F2SSDRAM0_RESET 99 75*c66ec88fSEmmanuel Vadot #define F2SSDRAM1_RESET 100 76*c66ec88fSEmmanuel Vadot #define F2SSDRAM2_RESET 101 77*c66ec88fSEmmanuel Vadot #define DDRSCH_RESET 102 78*c66ec88fSEmmanuel Vadot 79*c66ec88fSEmmanuel Vadot /* SYSMODRST*/ 80*c66ec88fSEmmanuel Vadot #define ROM_RESET 128 81*c66ec88fSEmmanuel Vadot #define OCRAM_RESET 129 82*c66ec88fSEmmanuel Vadot /* 130 is reserved */ 83*c66ec88fSEmmanuel Vadot #define FPGAMGR_RESET 131 84*c66ec88fSEmmanuel Vadot #define S2F_RESET 132 85*c66ec88fSEmmanuel Vadot #define SYSDBG_RESET 133 86*c66ec88fSEmmanuel Vadot #define OCRAM_OCP_RESET 134 87*c66ec88fSEmmanuel Vadot 88*c66ec88fSEmmanuel Vadot /* COLDMODRST */ 89*c66ec88fSEmmanuel Vadot #define CLKMGRCOLD_RESET 160 90*c66ec88fSEmmanuel Vadot /* 161-162 is reserved */ 91*c66ec88fSEmmanuel Vadot #define S2FCOLD_RESET 163 92*c66ec88fSEmmanuel Vadot #define TIMESTAMPCOLD_RESET 164 93*c66ec88fSEmmanuel Vadot #define TAPCOLD_RESET 165 94*c66ec88fSEmmanuel Vadot #define HMCCOLD_RESET 166 95*c66ec88fSEmmanuel Vadot #define IOMGRCOLD_RESET 167 96*c66ec88fSEmmanuel Vadot 97*c66ec88fSEmmanuel Vadot /* NRSTMODRST */ 98*c66ec88fSEmmanuel Vadot #define NRSTPINOE_RESET 192 99*c66ec88fSEmmanuel Vadot 100*c66ec88fSEmmanuel Vadot /* DBGMODRST */ 101*c66ec88fSEmmanuel Vadot #define DBG_RESET 224 102*c66ec88fSEmmanuel Vadot #endif 103