tegra234-reset.h 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved. */
  3. #ifndef DT_BINDINGS_RESET_TEGRA234_RESET_H
  4. #define DT_BINDINGS_RESET_TEGRA234_RESET_H
  5. /**
  6. * @file
  7. * @defgroup bpmp_reset_ids Reset ID's
  8. * @brief Identifiers for Resets controllable by firmware
  9. * @{
  10. */
  11. #define TEGRA234_RESET_ACTMON 1U
  12. #define TEGRA234_RESET_ADSP_ALL 2U
  13. #define TEGRA234_RESET_DSI_CORE 3U
  14. #define TEGRA234_RESET_CAN1 4U
  15. #define TEGRA234_RESET_CAN2 5U
  16. #define TEGRA234_RESET_DLA0 6U
  17. #define TEGRA234_RESET_DLA1 7U
  18. #define TEGRA234_RESET_DPAUX 8U
  19. #define TEGRA234_RESET_OFA 9U
  20. #define TEGRA234_RESET_NVJPG1 10U
  21. #define TEGRA234_RESET_PEX1_CORE_6 11U
  22. #define TEGRA234_RESET_PEX1_CORE_6_APB 12U
  23. #define TEGRA234_RESET_PEX1_COMMON_APB 13U
  24. #define TEGRA234_RESET_PEX2_CORE_7 14U
  25. #define TEGRA234_RESET_PEX2_CORE_7_APB 15U
  26. #define TEGRA234_RESET_NVDISPLAY 16U
  27. #define TEGRA234_RESET_EQOS 17U
  28. #define TEGRA234_RESET_GPCDMA 18U
  29. #define TEGRA234_RESET_GPU 19U
  30. #define TEGRA234_RESET_HDA 20U
  31. #define TEGRA234_RESET_HDACODEC 21U
  32. #define TEGRA234_RESET_EQOS_MACSEC 22U
  33. #define TEGRA234_RESET_EQOS_MACSEC_SECURE 23U
  34. #define TEGRA234_RESET_I2C1 24U
  35. #define TEGRA234_RESET_PEX2_CORE_8 25U
  36. #define TEGRA234_RESET_PEX2_CORE_8_APB 26U
  37. #define TEGRA234_RESET_PEX2_CORE_9 27U
  38. #define TEGRA234_RESET_PEX2_CORE_9_APB 28U
  39. #define TEGRA234_RESET_I2C2 29U
  40. #define TEGRA234_RESET_I2C3 30U
  41. #define TEGRA234_RESET_I2C4 31U
  42. #define TEGRA234_RESET_I2C6 32U
  43. #define TEGRA234_RESET_I2C7 33U
  44. #define TEGRA234_RESET_I2C8 34U
  45. #define TEGRA234_RESET_I2C9 35U
  46. #define TEGRA234_RESET_ISP 36U
  47. #define TEGRA234_RESET_MIPI_CAL 37U
  48. #define TEGRA234_RESET_MPHY_CLK_CTL 38U
  49. #define TEGRA234_RESET_MPHY_L0_RX 39U
  50. #define TEGRA234_RESET_MPHY_L0_TX 40U
  51. #define TEGRA234_RESET_MPHY_L1_RX 41U
  52. #define TEGRA234_RESET_MPHY_L1_TX 42U
  53. #define TEGRA234_RESET_NVCSI 43U
  54. #define TEGRA234_RESET_NVDEC 44U
  55. #define TEGRA234_RESET_MGBE0_PCS 45U
  56. #define TEGRA234_RESET_MGBE0_MAC 46U
  57. #define TEGRA234_RESET_MGBE0_MACSEC 47U
  58. #define TEGRA234_RESET_MGBE0_MACSEC_SECURE 48U
  59. #define TEGRA234_RESET_MGBE1_PCS 49U
  60. #define TEGRA234_RESET_MGBE1_MAC 50U
  61. #define TEGRA234_RESET_MGBE1_MACSEC 51U
  62. #define TEGRA234_RESET_MGBE1_MACSEC_SECURE 52U
  63. #define TEGRA234_RESET_MGBE2_PCS 53U
  64. #define TEGRA234_RESET_MGBE2_MAC 54U
  65. #define TEGRA234_RESET_MGBE2_MACSEC 55U
  66. #define TEGRA234_RESET_PEX2_CORE_10 56U
  67. #define TEGRA234_RESET_PEX2_CORE_10_APB 57U
  68. #define TEGRA234_RESET_PEX2_COMMON_APB 58U
  69. #define TEGRA234_RESET_NVENC 59U
  70. #define TEGRA234_RESET_MGBE2_MACSEC_SECURE 60U
  71. #define TEGRA234_RESET_NVJPG 61U
  72. #define TEGRA234_RESET_LA 64U
  73. #define TEGRA234_RESET_HWPM 65U
  74. #define TEGRA234_RESET_PVA0_ALL 66U
  75. #define TEGRA234_RESET_CEC 67U
  76. #define TEGRA234_RESET_PWM1 68U
  77. #define TEGRA234_RESET_PWM2 69U
  78. #define TEGRA234_RESET_PWM3 70U
  79. #define TEGRA234_RESET_PWM4 71U
  80. #define TEGRA234_RESET_PWM5 72U
  81. #define TEGRA234_RESET_PWM6 73U
  82. #define TEGRA234_RESET_PWM7 74U
  83. #define TEGRA234_RESET_PWM8 75U
  84. #define TEGRA234_RESET_QSPI0 76U
  85. #define TEGRA234_RESET_QSPI1 77U
  86. #define TEGRA234_RESET_I2S7 78U
  87. #define TEGRA234_RESET_I2S8 79U
  88. #define TEGRA234_RESET_SCE_ALL 80U
  89. #define TEGRA234_RESET_RCE_ALL 81U
  90. #define TEGRA234_RESET_SDMMC1 82U
  91. #define TEGRA234_RESET_RSVD_83 83U
  92. #define TEGRA234_RESET_RSVD_84 84U
  93. #define TEGRA234_RESET_SDMMC4 85U
  94. #define TEGRA234_RESET_MGBE3_PCS 87U
  95. #define TEGRA234_RESET_MGBE3_MAC 88U
  96. #define TEGRA234_RESET_MGBE3_MACSEC 89U
  97. #define TEGRA234_RESET_MGBE3_MACSEC_SECURE 90U
  98. #define TEGRA234_RESET_SPI1 91U
  99. #define TEGRA234_RESET_SPI2 92U
  100. #define TEGRA234_RESET_SPI3 93U
  101. #define TEGRA234_RESET_SPI4 94U
  102. #define TEGRA234_RESET_TACH0 95U
  103. #define TEGRA234_RESET_TACH1 96U
  104. #define TEGRA234_RESET_SPI5 97U
  105. #define TEGRA234_RESET_TSEC 98U
  106. #define TEGRA234_RESET_UARTI 99U
  107. #define TEGRA234_RESET_UARTA 100U
  108. #define TEGRA234_RESET_UARTB 101U
  109. #define TEGRA234_RESET_UARTC 102U
  110. #define TEGRA234_RESET_UARTD 103U
  111. #define TEGRA234_RESET_UARTE 104U
  112. #define TEGRA234_RESET_UARTF 105U
  113. #define TEGRA234_RESET_UARTJ 106U
  114. #define TEGRA234_RESET_UARTH 107U
  115. #define TEGRA234_RESET_UFSHC 108U
  116. #define TEGRA234_RESET_UFSHC_AXI_M 109U
  117. #define TEGRA234_RESET_UFSHC_LP_SEQ 110U
  118. #define TEGRA234_RESET_RSVD_111 111U
  119. #define TEGRA234_RESET_VI 112U
  120. #define TEGRA234_RESET_VIC 113U
  121. #define TEGRA234_RESET_XUSB_PADCTL 114U
  122. #define TEGRA234_RESET_VI2 115U
  123. #define TEGRA234_RESET_PEX0_CORE_0 116U
  124. #define TEGRA234_RESET_PEX0_CORE_1 117U
  125. #define TEGRA234_RESET_PEX0_CORE_2 118U
  126. #define TEGRA234_RESET_PEX0_CORE_3 119U
  127. #define TEGRA234_RESET_PEX0_CORE_4 120U
  128. #define TEGRA234_RESET_PEX0_CORE_0_APB 121U
  129. #define TEGRA234_RESET_PEX0_CORE_1_APB 122U
  130. #define TEGRA234_RESET_PEX0_CORE_2_APB 123U
  131. #define TEGRA234_RESET_PEX0_CORE_3_APB 124U
  132. #define TEGRA234_RESET_PEX0_CORE_4_APB 125U
  133. #define TEGRA234_RESET_PEX0_COMMON_APB 126U
  134. #define TEGRA234_RESET_RSVD_127 127U
  135. #define TEGRA234_RESET_NVHS_UPHY_PLL1 128U
  136. #define TEGRA234_RESET_PEX1_CORE_5 129U
  137. #define TEGRA234_RESET_PEX1_CORE_5_APB 130U
  138. #define TEGRA234_RESET_GBE_UPHY 131U
  139. #define TEGRA234_RESET_GBE_UPHY_PM 132U
  140. #define TEGRA234_RESET_NVHS_UPHY 133U
  141. #define TEGRA234_RESET_NVHS_UPHY_PLL0 134U
  142. #define TEGRA234_RESET_NVHS_UPHY_L0 135U
  143. #define TEGRA234_RESET_NVHS_UPHY_L1 136U
  144. #define TEGRA234_RESET_NVHS_UPHY_L2 137U
  145. #define TEGRA234_RESET_NVHS_UPHY_L3 138U
  146. #define TEGRA234_RESET_NVHS_UPHY_L4 139U
  147. #define TEGRA234_RESET_NVHS_UPHY_L5 140U
  148. #define TEGRA234_RESET_NVHS_UPHY_L6 141U
  149. #define TEGRA234_RESET_NVHS_UPHY_L7 142U
  150. #define TEGRA234_RESET_NVHS_UPHY_PM 143U
  151. #define TEGRA234_RESET_DMIC5 144U
  152. #define TEGRA234_RESET_APE 145U
  153. #define TEGRA234_RESET_PEX_USB_UPHY 146U
  154. #define TEGRA234_RESET_PEX_USB_UPHY_L0 147U
  155. #define TEGRA234_RESET_PEX_USB_UPHY_L1 148U
  156. #define TEGRA234_RESET_PEX_USB_UPHY_L2 149U
  157. #define TEGRA234_RESET_PEX_USB_UPHY_L3 150U
  158. #define TEGRA234_RESET_PEX_USB_UPHY_L4 151U
  159. #define TEGRA234_RESET_PEX_USB_UPHY_L5 152U
  160. #define TEGRA234_RESET_PEX_USB_UPHY_L6 153U
  161. #define TEGRA234_RESET_PEX_USB_UPHY_L7 154U
  162. #define TEGRA234_RESET_PEX_USB_UPHY_PLL0 159U
  163. #define TEGRA234_RESET_PEX_USB_UPHY_PLL1 160U
  164. #define TEGRA234_RESET_PEX_USB_UPHY_PLL2 161U
  165. #define TEGRA234_RESET_PEX_USB_UPHY_PLL3 162U
  166. #define TEGRA234_RESET_GBE_UPHY_L0 163U
  167. #define TEGRA234_RESET_GBE_UPHY_L1 164U
  168. #define TEGRA234_RESET_GBE_UPHY_L2 165U
  169. #define TEGRA234_RESET_GBE_UPHY_L3 166U
  170. #define TEGRA234_RESET_GBE_UPHY_L4 167U
  171. #define TEGRA234_RESET_GBE_UPHY_L5 168U
  172. #define TEGRA234_RESET_GBE_UPHY_L6 169U
  173. #define TEGRA234_RESET_GBE_UPHY_L7 170U
  174. #define TEGRA234_RESET_GBE_UPHY_PLL0 171U
  175. #define TEGRA234_RESET_GBE_UPHY_PLL1 172U
  176. #define TEGRA234_RESET_GBE_UPHY_PLL2 173U
  177. /** @} */
  178. #endif