162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2014, Steffen Trumtrar <s.trumtrar@pengutronix.de> 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_RESET_ALTR_RST_MGR_A10_H 762306a36Sopenharmony_ci#define _DT_BINDINGS_RESET_ALTR_RST_MGR_A10_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci/* MPUMODRST */ 1062306a36Sopenharmony_ci#define CPU0_RESET 0 1162306a36Sopenharmony_ci#define CPU1_RESET 1 1262306a36Sopenharmony_ci#define WDS_RESET 2 1362306a36Sopenharmony_ci#define SCUPER_RESET 3 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci/* PER0MODRST */ 1662306a36Sopenharmony_ci#define EMAC0_RESET 32 1762306a36Sopenharmony_ci#define EMAC1_RESET 33 1862306a36Sopenharmony_ci#define EMAC2_RESET 34 1962306a36Sopenharmony_ci#define USB0_RESET 35 2062306a36Sopenharmony_ci#define USB1_RESET 36 2162306a36Sopenharmony_ci#define NAND_RESET 37 2262306a36Sopenharmony_ci#define QSPI_RESET 38 2362306a36Sopenharmony_ci#define SDMMC_RESET 39 2462306a36Sopenharmony_ci#define EMAC0_OCP_RESET 40 2562306a36Sopenharmony_ci#define EMAC1_OCP_RESET 41 2662306a36Sopenharmony_ci#define EMAC2_OCP_RESET 42 2762306a36Sopenharmony_ci#define USB0_OCP_RESET 43 2862306a36Sopenharmony_ci#define USB1_OCP_RESET 44 2962306a36Sopenharmony_ci#define NAND_OCP_RESET 45 3062306a36Sopenharmony_ci#define QSPI_OCP_RESET 46 3162306a36Sopenharmony_ci#define SDMMC_OCP_RESET 47 3262306a36Sopenharmony_ci#define DMA_RESET 48 3362306a36Sopenharmony_ci#define SPIM0_RESET 49 3462306a36Sopenharmony_ci#define SPIM1_RESET 50 3562306a36Sopenharmony_ci#define SPIS0_RESET 51 3662306a36Sopenharmony_ci#define SPIS1_RESET 52 3762306a36Sopenharmony_ci#define DMA_OCP_RESET 53 3862306a36Sopenharmony_ci#define EMAC_PTP_RESET 54 3962306a36Sopenharmony_ci/* 55 is empty*/ 4062306a36Sopenharmony_ci#define DMAIF0_RESET 56 4162306a36Sopenharmony_ci#define DMAIF1_RESET 57 4262306a36Sopenharmony_ci#define DMAIF2_RESET 58 4362306a36Sopenharmony_ci#define DMAIF3_RESET 59 4462306a36Sopenharmony_ci#define DMAIF4_RESET 60 4562306a36Sopenharmony_ci#define DMAIF5_RESET 61 4662306a36Sopenharmony_ci#define DMAIF6_RESET 62 4762306a36Sopenharmony_ci#define DMAIF7_RESET 63 4862306a36Sopenharmony_ci 4962306a36Sopenharmony_ci/* PER1MODRST */ 5062306a36Sopenharmony_ci#define L4WD0_RESET 64 5162306a36Sopenharmony_ci#define L4WD1_RESET 65 5262306a36Sopenharmony_ci#define L4SYSTIMER0_RESET 66 5362306a36Sopenharmony_ci#define L4SYSTIMER1_RESET 67 5462306a36Sopenharmony_ci#define SPTIMER0_RESET 68 5562306a36Sopenharmony_ci#define SPTIMER1_RESET 69 5662306a36Sopenharmony_ci/* 70-71 is reserved */ 5762306a36Sopenharmony_ci#define I2C0_RESET 72 5862306a36Sopenharmony_ci#define I2C1_RESET 73 5962306a36Sopenharmony_ci#define I2C2_RESET 74 6062306a36Sopenharmony_ci#define I2C3_RESET 75 6162306a36Sopenharmony_ci#define I2C4_RESET 76 6262306a36Sopenharmony_ci/* 77-79 is reserved */ 6362306a36Sopenharmony_ci#define UART0_RESET 80 6462306a36Sopenharmony_ci#define UART1_RESET 81 6562306a36Sopenharmony_ci/* 82-87 is reserved */ 6662306a36Sopenharmony_ci#define GPIO0_RESET 88 6762306a36Sopenharmony_ci#define GPIO1_RESET 89 6862306a36Sopenharmony_ci#define GPIO2_RESET 90 6962306a36Sopenharmony_ci 7062306a36Sopenharmony_ci/* BRGMODRST */ 7162306a36Sopenharmony_ci#define HPS2FPGA_RESET 96 7262306a36Sopenharmony_ci#define LWHPS2FPGA_RESET 97 7362306a36Sopenharmony_ci#define FPGA2HPS_RESET 98 7462306a36Sopenharmony_ci#define F2SSDRAM0_RESET 99 7562306a36Sopenharmony_ci#define F2SSDRAM1_RESET 100 7662306a36Sopenharmony_ci#define F2SSDRAM2_RESET 101 7762306a36Sopenharmony_ci#define DDRSCH_RESET 102 7862306a36Sopenharmony_ci 7962306a36Sopenharmony_ci/* SYSMODRST*/ 8062306a36Sopenharmony_ci#define ROM_RESET 128 8162306a36Sopenharmony_ci#define OCRAM_RESET 129 8262306a36Sopenharmony_ci/* 130 is reserved */ 8362306a36Sopenharmony_ci#define FPGAMGR_RESET 131 8462306a36Sopenharmony_ci#define S2F_RESET 132 8562306a36Sopenharmony_ci#define SYSDBG_RESET 133 8662306a36Sopenharmony_ci#define OCRAM_OCP_RESET 134 8762306a36Sopenharmony_ci 8862306a36Sopenharmony_ci/* COLDMODRST */ 8962306a36Sopenharmony_ci#define CLKMGRCOLD_RESET 160 9062306a36Sopenharmony_ci/* 161-162 is reserved */ 9162306a36Sopenharmony_ci#define S2FCOLD_RESET 163 9262306a36Sopenharmony_ci#define TIMESTAMPCOLD_RESET 164 9362306a36Sopenharmony_ci#define TAPCOLD_RESET 165 9462306a36Sopenharmony_ci#define HMCCOLD_RESET 166 9562306a36Sopenharmony_ci#define IOMGRCOLD_RESET 167 9662306a36Sopenharmony_ci 9762306a36Sopenharmony_ci/* NRSTMODRST */ 9862306a36Sopenharmony_ci#define NRSTPINOE_RESET 192 9962306a36Sopenharmony_ci 10062306a36Sopenharmony_ci/* DBGMODRST */ 10162306a36Sopenharmony_ci#define DBG_RESET 224 10262306a36Sopenharmony_ci#endif 103