altr,rst-mgr-s10.h 2.2 KB

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