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