altr,rst-mgr.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /*
  2. * Copyright (c) 2014, Steffen Trumtrar <s.trumtrar@pengutronix.de>
  3. *
  4. * SPDX-License-Identifier: GPL-2.0
  5. */
  6. #ifndef _DT_BINDINGS_RESET_ALTR_RST_MGR_H
  7. #define _DT_BINDINGS_RESET_ALTR_RST_MGR_H
  8. /* MPUMODRST */
  9. #define CPU0_RESET 0
  10. #define CPU1_RESET 1
  11. #define WDS_RESET 2
  12. #define SCUPER_RESET 3
  13. #define L2_RESET 4
  14. /* PERMODRST */
  15. #define EMAC0_RESET 32
  16. #define EMAC1_RESET 33
  17. #define USB0_RESET 34
  18. #define USB1_RESET 35
  19. #define NAND_RESET 36
  20. #define QSPI_RESET 37
  21. #define L4WD0_RESET 38
  22. #define L4WD1_RESET 39
  23. #define OSC1TIMER0_RESET 40
  24. #define OSC1TIMER1_RESET 41
  25. #define SPTIMER0_RESET 42
  26. #define SPTIMER1_RESET 43
  27. #define I2C0_RESET 44
  28. #define I2C1_RESET 45
  29. #define I2C2_RESET 46
  30. #define I2C3_RESET 47
  31. #define UART0_RESET 48
  32. #define UART1_RESET 49
  33. #define SPIM0_RESET 50
  34. #define SPIM1_RESET 51
  35. #define SPIS0_RESET 52
  36. #define SPIS1_RESET 53
  37. #define SDMMC_RESET 54
  38. #define CAN0_RESET 55
  39. #define CAN1_RESET 56
  40. #define GPIO0_RESET 57
  41. #define GPIO1_RESET 58
  42. #define GPIO2_RESET 59
  43. #define DMA_RESET 60
  44. #define SDR_RESET 61
  45. /* PER2MODRST */
  46. #define DMAIF0_RESET 64
  47. #define DMAIF1_RESET 65
  48. #define DMAIF2_RESET 66
  49. #define DMAIF3_RESET 67
  50. #define DMAIF4_RESET 68
  51. #define DMAIF5_RESET 69
  52. #define DMAIF6_RESET 70
  53. #define DMAIF7_RESET 71
  54. /* BRGMODRST */
  55. #define HPS2FPGA_RESET 96
  56. #define LWHPS2FPGA_RESET 97
  57. #define FPGA2HPS_RESET 98
  58. /* MISCMODRST*/
  59. #define ROM_RESET 128
  60. #define OCRAM_RESET 129
  61. #define SYSMGR_RESET 130
  62. #define SYSMGRCOLD_RESET 131
  63. #define FPGAMGR_RESET 132
  64. #define ACPIDMAP_RESET 133
  65. #define S2F_RESET 134
  66. #define S2FCOLD_RESET 135
  67. #define NRSTPIN_RESET 136
  68. #define TIMESTAMPCOLD_RESET 137
  69. #define CLKMGRCOLD_RESET 138
  70. #define SCANMGR_RESET 139
  71. #define FRZCTRLCOLD_RESET 140
  72. #define SYSDBG_RESET 141
  73. #define DBG_RESET 142
  74. #define TAPCOLD_RESET 143
  75. #define SDRCOLD_RESET 144
  76. #endif