1*827e6a7eSLey Foon Tan /* 2*827e6a7eSLey Foon Tan * Copyright (c) 2014, Steffen Trumtrar <s.trumtrar@pengutronix.de> 3*827e6a7eSLey Foon Tan * 4*827e6a7eSLey Foon Tan * This software is licensed under the terms of the GNU General Public 5*827e6a7eSLey Foon Tan * License version 2, as published by the Free Software Foundation, and 6*827e6a7eSLey Foon Tan * may be copied, distributed, and modified under those terms. 7*827e6a7eSLey Foon Tan * 8*827e6a7eSLey Foon Tan * This program is distributed in the hope that it will be useful, 9*827e6a7eSLey Foon Tan * but WITHOUT ANY WARRANTY; without even the implied warranty of 10*827e6a7eSLey Foon Tan * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11*827e6a7eSLey Foon Tan * GNU General Public License for more details. 12*827e6a7eSLey Foon Tan */ 13*827e6a7eSLey Foon Tan 14*827e6a7eSLey Foon Tan #ifndef _DT_BINDINGS_RESET_ALTR_RST_MGR_A10_H 15*827e6a7eSLey Foon Tan #define _DT_BINDINGS_RESET_ALTR_RST_MGR_A10_H 16*827e6a7eSLey Foon Tan 17*827e6a7eSLey Foon Tan /* MPUMODRST */ 18*827e6a7eSLey Foon Tan #define CPU0_RESET 0 19*827e6a7eSLey Foon Tan #define CPU1_RESET 1 20*827e6a7eSLey Foon Tan #define WDS_RESET 2 21*827e6a7eSLey Foon Tan #define SCUPER_RESET 3 22*827e6a7eSLey Foon Tan 23*827e6a7eSLey Foon Tan /* PER0MODRST */ 24*827e6a7eSLey Foon Tan #define EMAC0_RESET 32 25*827e6a7eSLey Foon Tan #define EMAC1_RESET 33 26*827e6a7eSLey Foon Tan #define EMAC2_RESET 34 27*827e6a7eSLey Foon Tan #define USB0_RESET 35 28*827e6a7eSLey Foon Tan #define USB1_RESET 36 29*827e6a7eSLey Foon Tan #define NAND_RESET 37 30*827e6a7eSLey Foon Tan #define QSPI_RESET 38 31*827e6a7eSLey Foon Tan #define SDMMC_RESET 39 32*827e6a7eSLey Foon Tan #define EMAC0_OCP_RESET 40 33*827e6a7eSLey Foon Tan #define EMAC1_OCP_RESET 41 34*827e6a7eSLey Foon Tan #define EMAC2_OCP_RESET 42 35*827e6a7eSLey Foon Tan #define USB0_OCP_RESET 43 36*827e6a7eSLey Foon Tan #define USB1_OCP_RESET 44 37*827e6a7eSLey Foon Tan #define NAND_OCP_RESET 45 38*827e6a7eSLey Foon Tan #define QSPI_OCP_RESET 46 39*827e6a7eSLey Foon Tan #define SDMMC_OCP_RESET 47 40*827e6a7eSLey Foon Tan #define DMA_RESET 48 41*827e6a7eSLey Foon Tan #define SPIM0_RESET 49 42*827e6a7eSLey Foon Tan #define SPIM1_RESET 50 43*827e6a7eSLey Foon Tan #define SPIS0_RESET 51 44*827e6a7eSLey Foon Tan #define SPIS1_RESET 52 45*827e6a7eSLey Foon Tan #define DMA_OCP_RESET 53 46*827e6a7eSLey Foon Tan #define EMAC_PTP_RESET 54 47*827e6a7eSLey Foon Tan /* 55 is empty*/ 48*827e6a7eSLey Foon Tan #define DMAIF0_RESET 56 49*827e6a7eSLey Foon Tan #define DMAIF1_RESET 57 50*827e6a7eSLey Foon Tan #define DMAIF2_RESET 58 51*827e6a7eSLey Foon Tan #define DMAIF3_RESET 59 52*827e6a7eSLey Foon Tan #define DMAIF4_RESET 60 53*827e6a7eSLey Foon Tan #define DMAIF5_RESET 61 54*827e6a7eSLey Foon Tan #define DMAIF6_RESET 62 55*827e6a7eSLey Foon Tan #define DMAIF7_RESET 63 56*827e6a7eSLey Foon Tan 57*827e6a7eSLey Foon Tan /* PER1MODRST */ 58*827e6a7eSLey Foon Tan #define L4WD0_RESET 64 59*827e6a7eSLey Foon Tan #define L4WD1_RESET 65 60*827e6a7eSLey Foon Tan #define L4SYSTIMER0_RESET 66 61*827e6a7eSLey Foon Tan #define L4SYSTIMER1_RESET 67 62*827e6a7eSLey Foon Tan #define SPTIMER0_RESET 68 63*827e6a7eSLey Foon Tan #define SPTIMER1_RESET 69 64*827e6a7eSLey Foon Tan /* 70-71 is reserved */ 65*827e6a7eSLey Foon Tan #define I2C0_RESET 72 66*827e6a7eSLey Foon Tan #define I2C1_RESET 73 67*827e6a7eSLey Foon Tan #define I2C2_RESET 74 68*827e6a7eSLey Foon Tan #define I2C3_RESET 75 69*827e6a7eSLey Foon Tan #define I2C4_RESET 76 70*827e6a7eSLey Foon Tan /* 77-79 is reserved */ 71*827e6a7eSLey Foon Tan #define UART0_RESET 80 72*827e6a7eSLey Foon Tan #define UART1_RESET 81 73*827e6a7eSLey Foon Tan /* 82-87 is reserved */ 74*827e6a7eSLey Foon Tan #define GPIO0_RESET 88 75*827e6a7eSLey Foon Tan #define GPIO1_RESET 89 76*827e6a7eSLey Foon Tan #define GPIO2_RESET 90 77*827e6a7eSLey Foon Tan 78*827e6a7eSLey Foon Tan /* BRGMODRST */ 79*827e6a7eSLey Foon Tan #define HPS2FPGA_RESET 96 80*827e6a7eSLey Foon Tan #define LWHPS2FPGA_RESET 97 81*827e6a7eSLey Foon Tan #define FPGA2HPS_RESET 98 82*827e6a7eSLey Foon Tan #define F2SSDRAM0_RESET 99 83*827e6a7eSLey Foon Tan #define F2SSDRAM1_RESET 100 84*827e6a7eSLey Foon Tan #define F2SSDRAM2_RESET 101 85*827e6a7eSLey Foon Tan #define DDRSCH_RESET 102 86*827e6a7eSLey Foon Tan 87*827e6a7eSLey Foon Tan /* SYSMODRST*/ 88*827e6a7eSLey Foon Tan #define ROM_RESET 128 89*827e6a7eSLey Foon Tan #define OCRAM_RESET 129 90*827e6a7eSLey Foon Tan /* 130 is reserved */ 91*827e6a7eSLey Foon Tan #define FPGAMGR_RESET 131 92*827e6a7eSLey Foon Tan #define S2F_RESET 132 93*827e6a7eSLey Foon Tan #define SYSDBG_RESET 133 94*827e6a7eSLey Foon Tan #define OCRAM_OCP_RESET 134 95*827e6a7eSLey Foon Tan 96*827e6a7eSLey Foon Tan /* COLDMODRST */ 97*827e6a7eSLey Foon Tan #define CLKMGRCOLD_RESET 160 98*827e6a7eSLey Foon Tan /* 161-162 is reserved */ 99*827e6a7eSLey Foon Tan #define S2FCOLD_RESET 163 100*827e6a7eSLey Foon Tan #define TIMESTAMPCOLD_RESET 164 101*827e6a7eSLey Foon Tan #define TAPCOLD_RESET 165 102*827e6a7eSLey Foon Tan #define HMCCOLD_RESET 166 103*827e6a7eSLey Foon Tan #define IOMGRCOLD_RESET 167 104*827e6a7eSLey Foon Tan 105*827e6a7eSLey Foon Tan /* NRSTMODRST */ 106*827e6a7eSLey Foon Tan #define NRSTPINOE_RESET 192 107*827e6a7eSLey Foon Tan 108*827e6a7eSLey Foon Tan /* DBGMODRST */ 109*827e6a7eSLey Foon Tan #define DBG_RESET 224 110*827e6a7eSLey Foon Tan #endif 111