11.1Sjmcneill/* $NetBSD: altr,rst-mgr-a10.h,v 1.1.1.2 2020/01/03 14:33:06 skrll Exp $ */ 21.1Sjmcneill 31.1.1.2Sskrll/* SPDX-License-Identifier: GPL-2.0-only */ 41.1Sjmcneill/* 51.1Sjmcneill * Copyright (c) 2014, Steffen Trumtrar <s.trumtrar@pengutronix.de> 61.1Sjmcneill */ 71.1Sjmcneill 81.1Sjmcneill#ifndef _DT_BINDINGS_RESET_ALTR_RST_MGR_A10_H 91.1Sjmcneill#define _DT_BINDINGS_RESET_ALTR_RST_MGR_A10_H 101.1Sjmcneill 111.1Sjmcneill/* MPUMODRST */ 121.1Sjmcneill#define CPU0_RESET 0 131.1Sjmcneill#define CPU1_RESET 1 141.1Sjmcneill#define WDS_RESET 2 151.1Sjmcneill#define SCUPER_RESET 3 161.1Sjmcneill 171.1Sjmcneill/* PER0MODRST */ 181.1Sjmcneill#define EMAC0_RESET 32 191.1Sjmcneill#define EMAC1_RESET 33 201.1Sjmcneill#define EMAC2_RESET 34 211.1Sjmcneill#define USB0_RESET 35 221.1Sjmcneill#define USB1_RESET 36 231.1Sjmcneill#define NAND_RESET 37 241.1Sjmcneill#define QSPI_RESET 38 251.1Sjmcneill#define SDMMC_RESET 39 261.1Sjmcneill#define EMAC0_OCP_RESET 40 271.1Sjmcneill#define EMAC1_OCP_RESET 41 281.1Sjmcneill#define EMAC2_OCP_RESET 42 291.1Sjmcneill#define USB0_OCP_RESET 43 301.1Sjmcneill#define USB1_OCP_RESET 44 311.1Sjmcneill#define NAND_OCP_RESET 45 321.1Sjmcneill#define QSPI_OCP_RESET 46 331.1Sjmcneill#define SDMMC_OCP_RESET 47 341.1Sjmcneill#define DMA_RESET 48 351.1Sjmcneill#define SPIM0_RESET 49 361.1Sjmcneill#define SPIM1_RESET 50 371.1Sjmcneill#define SPIS0_RESET 51 381.1Sjmcneill#define SPIS1_RESET 52 391.1Sjmcneill#define DMA_OCP_RESET 53 401.1Sjmcneill#define EMAC_PTP_RESET 54 411.1Sjmcneill/* 55 is empty*/ 421.1Sjmcneill#define DMAIF0_RESET 56 431.1Sjmcneill#define DMAIF1_RESET 57 441.1Sjmcneill#define DMAIF2_RESET 58 451.1Sjmcneill#define DMAIF3_RESET 59 461.1Sjmcneill#define DMAIF4_RESET 60 471.1Sjmcneill#define DMAIF5_RESET 61 481.1Sjmcneill#define DMAIF6_RESET 62 491.1Sjmcneill#define DMAIF7_RESET 63 501.1Sjmcneill 511.1Sjmcneill/* PER1MODRST */ 521.1Sjmcneill#define L4WD0_RESET 64 531.1Sjmcneill#define L4WD1_RESET 65 541.1Sjmcneill#define L4SYSTIMER0_RESET 66 551.1Sjmcneill#define L4SYSTIMER1_RESET 67 561.1Sjmcneill#define SPTIMER0_RESET 68 571.1Sjmcneill#define SPTIMER1_RESET 69 581.1Sjmcneill/* 70-71 is reserved */ 591.1Sjmcneill#define I2C0_RESET 72 601.1Sjmcneill#define I2C1_RESET 73 611.1Sjmcneill#define I2C2_RESET 74 621.1Sjmcneill#define I2C3_RESET 75 631.1Sjmcneill#define I2C4_RESET 76 641.1Sjmcneill/* 77-79 is reserved */ 651.1Sjmcneill#define UART0_RESET 80 661.1Sjmcneill#define UART1_RESET 81 671.1Sjmcneill/* 82-87 is reserved */ 681.1Sjmcneill#define GPIO0_RESET 88 691.1Sjmcneill#define GPIO1_RESET 89 701.1Sjmcneill#define GPIO2_RESET 90 711.1Sjmcneill 721.1Sjmcneill/* BRGMODRST */ 731.1Sjmcneill#define HPS2FPGA_RESET 96 741.1Sjmcneill#define LWHPS2FPGA_RESET 97 751.1Sjmcneill#define FPGA2HPS_RESET 98 761.1Sjmcneill#define F2SSDRAM0_RESET 99 771.1Sjmcneill#define F2SSDRAM1_RESET 100 781.1Sjmcneill#define F2SSDRAM2_RESET 101 791.1Sjmcneill#define DDRSCH_RESET 102 801.1Sjmcneill 811.1Sjmcneill/* SYSMODRST*/ 821.1Sjmcneill#define ROM_RESET 128 831.1Sjmcneill#define OCRAM_RESET 129 841.1Sjmcneill/* 130 is reserved */ 851.1Sjmcneill#define FPGAMGR_RESET 131 861.1Sjmcneill#define S2F_RESET 132 871.1Sjmcneill#define SYSDBG_RESET 133 881.1Sjmcneill#define OCRAM_OCP_RESET 134 891.1Sjmcneill 901.1Sjmcneill/* COLDMODRST */ 911.1Sjmcneill#define CLKMGRCOLD_RESET 160 921.1Sjmcneill/* 161-162 is reserved */ 931.1Sjmcneill#define S2FCOLD_RESET 163 941.1Sjmcneill#define TIMESTAMPCOLD_RESET 164 951.1Sjmcneill#define TAPCOLD_RESET 165 961.1Sjmcneill#define HMCCOLD_RESET 166 971.1Sjmcneill#define IOMGRCOLD_RESET 167 981.1Sjmcneill 991.1Sjmcneill/* NRSTMODRST */ 1001.1Sjmcneill#define NRSTPINOE_RESET 192 1011.1Sjmcneill 1021.1Sjmcneill/* DBGMODRST */ 1031.1Sjmcneill#define DBG_RESET 224 1041.1Sjmcneill#endif 105