1*e74c15bcSDinh Nguyen /* 2*e74c15bcSDinh Nguyen * Copyright (C) 2016-2018 Intel Corporation. All rights reserved 3*e74c15bcSDinh Nguyen * Copyright (C) 2016 Altera Corporation. All rights reserved 4*e74c15bcSDinh Nguyen * 5*e74c15bcSDinh Nguyen * SPDX-License-Identifier: GPL-2.0 6*e74c15bcSDinh Nguyen * derived from Steffen Trumtrar's "altr,rst-mgr-a10.h" 7*e74c15bcSDinh Nguyen */ 8*e74c15bcSDinh Nguyen 9*e74c15bcSDinh Nguyen #ifndef _DT_BINDINGS_RESET_ALTR_RST_MGR_S10_H 10*e74c15bcSDinh Nguyen #define _DT_BINDINGS_RESET_ALTR_RST_MGR_S10_H 11*e74c15bcSDinh Nguyen 12*e74c15bcSDinh Nguyen /* MPUMODRST */ 13*e74c15bcSDinh Nguyen #define CPU0_RESET 0 14*e74c15bcSDinh Nguyen #define CPU1_RESET 1 15*e74c15bcSDinh Nguyen #define CPU2_RESET 2 16*e74c15bcSDinh Nguyen #define CPU3_RESET 3 17*e74c15bcSDinh Nguyen 18*e74c15bcSDinh Nguyen /* PER0MODRST */ 19*e74c15bcSDinh Nguyen #define EMAC0_RESET 32 20*e74c15bcSDinh Nguyen #define EMAC1_RESET 33 21*e74c15bcSDinh Nguyen #define EMAC2_RESET 34 22*e74c15bcSDinh Nguyen #define USB0_RESET 35 23*e74c15bcSDinh Nguyen #define USB1_RESET 36 24*e74c15bcSDinh Nguyen #define NAND_RESET 37 25*e74c15bcSDinh Nguyen /* 38 is empty */ 26*e74c15bcSDinh Nguyen #define SDMMC_RESET 39 27*e74c15bcSDinh Nguyen #define EMAC0_OCP_RESET 40 28*e74c15bcSDinh Nguyen #define EMAC1_OCP_RESET 41 29*e74c15bcSDinh Nguyen #define EMAC2_OCP_RESET 42 30*e74c15bcSDinh Nguyen #define USB0_OCP_RESET 43 31*e74c15bcSDinh Nguyen #define USB1_OCP_RESET 44 32*e74c15bcSDinh Nguyen #define NAND_OCP_RESET 45 33*e74c15bcSDinh Nguyen /* 46 is empty */ 34*e74c15bcSDinh Nguyen #define SDMMC_OCP_RESET 47 35*e74c15bcSDinh Nguyen #define DMA_RESET 48 36*e74c15bcSDinh Nguyen #define SPIM0_RESET 49 37*e74c15bcSDinh Nguyen #define SPIM1_RESET 50 38*e74c15bcSDinh Nguyen #define SPIS0_RESET 51 39*e74c15bcSDinh Nguyen #define SPIS1_RESET 52 40*e74c15bcSDinh Nguyen #define DMA_OCP_RESET 53 41*e74c15bcSDinh Nguyen #define EMAC_PTP_RESET 54 42*e74c15bcSDinh Nguyen /* 55 is empty*/ 43*e74c15bcSDinh Nguyen #define DMAIF0_RESET 56 44*e74c15bcSDinh Nguyen #define DMAIF1_RESET 57 45*e74c15bcSDinh Nguyen #define DMAIF2_RESET 58 46*e74c15bcSDinh Nguyen #define DMAIF3_RESET 59 47*e74c15bcSDinh Nguyen #define DMAIF4_RESET 60 48*e74c15bcSDinh Nguyen #define DMAIF5_RESET 61 49*e74c15bcSDinh Nguyen #define DMAIF6_RESET 62 50*e74c15bcSDinh Nguyen #define DMAIF7_RESET 63 51*e74c15bcSDinh Nguyen 52*e74c15bcSDinh Nguyen /* PER1MODRST */ 53*e74c15bcSDinh Nguyen #define WATCHDOG0_RESET 64 54*e74c15bcSDinh Nguyen #define WATCHDOG1_RESET 65 55*e74c15bcSDinh Nguyen #define WATCHDOG2_RESET 66 56*e74c15bcSDinh Nguyen #define WATCHDOG3_RESET 67 57*e74c15bcSDinh Nguyen #define L4SYSTIMER0_RESET 68 58*e74c15bcSDinh Nguyen #define L4SYSTIMER1_RESET 69 59*e74c15bcSDinh Nguyen #define SPTIMER0_RESET 70 60*e74c15bcSDinh Nguyen #define SPTIMER1_RESET 71 61*e74c15bcSDinh Nguyen #define I2C0_RESET 72 62*e74c15bcSDinh Nguyen #define I2C1_RESET 73 63*e74c15bcSDinh Nguyen #define I2C2_RESET 74 64*e74c15bcSDinh Nguyen #define I2C3_RESET 75 65*e74c15bcSDinh Nguyen #define I2C4_RESET 76 66*e74c15bcSDinh Nguyen /* 77-79 is empty */ 67*e74c15bcSDinh Nguyen #define UART0_RESET 80 68*e74c15bcSDinh Nguyen #define UART1_RESET 81 69*e74c15bcSDinh Nguyen /* 82-87 is empty */ 70*e74c15bcSDinh Nguyen #define GPIO0_RESET 88 71*e74c15bcSDinh Nguyen #define GPIO1_RESET 89 72*e74c15bcSDinh Nguyen 73*e74c15bcSDinh Nguyen /* BRGMODRST */ 74*e74c15bcSDinh Nguyen #define SOC2FPGA_RESET 96 75*e74c15bcSDinh Nguyen #define LWHPS2FPGA_RESET 97 76*e74c15bcSDinh Nguyen #define FPGA2SOC_RESET 98 77*e74c15bcSDinh Nguyen #define F2SSDRAM0_RESET 99 78*e74c15bcSDinh Nguyen #define F2SSDRAM1_RESET 100 79*e74c15bcSDinh Nguyen #define F2SSDRAM2_RESET 101 80*e74c15bcSDinh Nguyen #define DDRSCH_RESET 102 81*e74c15bcSDinh Nguyen 82*e74c15bcSDinh Nguyen /* COLDMODRST */ 83*e74c15bcSDinh Nguyen #define CPUPO0_RESET 160 84*e74c15bcSDinh Nguyen #define CPUPO1_RESET 161 85*e74c15bcSDinh Nguyen #define CPUPO2_RESET 162 86*e74c15bcSDinh Nguyen #define CPUPO3_RESET 163 87*e74c15bcSDinh Nguyen /* 164-167 is empty */ 88*e74c15bcSDinh Nguyen #define L2_RESET 168 89*e74c15bcSDinh Nguyen 90*e74c15bcSDinh Nguyen /* DBGMODRST */ 91*e74c15bcSDinh Nguyen #define DBG_RESET 224 92*e74c15bcSDinh Nguyen #define CSDAP_RESET 225 93*e74c15bcSDinh Nguyen 94*e74c15bcSDinh Nguyen /* TAPMODRST */ 95*e74c15bcSDinh Nguyen #define TAP_RESET 256 96*e74c15bcSDinh Nguyen 97*e74c15bcSDinh Nguyen #endif 98