stm32mp25-resets.h 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. /* SPDX-License-Identifier: GPL-2.0-or-later or BSD-3-Clause */
  2. /*
  3. * Copyright (C) 2023-2024, STMicroelectronics - All Rights Reserved
  4. * Author(s): Gabriel Fernandez <gabriel.fernandez@foss.st.com> for STMicroelectronics.
  5. */
  6. #ifndef _DT_BINDINGS_STM32MP25_RESET_H_
  7. #define _DT_BINDINGS_STM32MP25_RESET_H_
  8. #define SYS_R 8192
  9. #define C1_R 8224
  10. #define C1P1POR_R 8256
  11. #define C1P1_R 8257
  12. #define C2_R 8288
  13. #define C2_HOLDBOOT_R 8608
  14. #define C1_HOLDBOOT_R 8609
  15. #define VSW_R 8735
  16. #define C1MS_R 8840
  17. #define IWDG2_KER_R 9106
  18. #define IWDG4_KER_R 9234
  19. #define C3_R 9344
  20. #define DDRCP_R 9888
  21. #define DDRCAPB_R 9920
  22. #define DDRPHYCAPB_R 9952
  23. #define DDRCFG_R 10016
  24. #define DDR_R 10048
  25. #define OSPI1_R 10400
  26. #define OSPI1DLL_R 10416
  27. #define OSPI2_R 10432
  28. #define OSPI2DLL_R 10448
  29. #define FMC_R 10464
  30. #define DBG_R 10508
  31. #define GPIOA_R 10592
  32. #define GPIOB_R 10624
  33. #define GPIOC_R 10656
  34. #define GPIOD_R 10688
  35. #define GPIOE_R 10720
  36. #define GPIOF_R 10752
  37. #define GPIOG_R 10784
  38. #define GPIOH_R 10816
  39. #define GPIOI_R 10848
  40. #define GPIOJ_R 10880
  41. #define GPIOK_R 10912
  42. #define GPIOZ_R 10944
  43. #define HPDMA1_R 10976
  44. #define HPDMA2_R 11008
  45. #define HPDMA3_R 11040
  46. #define LPDMA_R 11072
  47. #define HSEM_R 11104
  48. #define IPCC1_R 11136
  49. #define IPCC2_R 11168
  50. #define IS2M_R 11360
  51. #define SSMOD_R 11392
  52. #define TIM1_R 14336
  53. #define TIM2_R 14368
  54. #define TIM3_R 14400
  55. #define TIM4_R 14432
  56. #define TIM5_R 14464
  57. #define TIM6_R 14496
  58. #define TIM7_R 14528
  59. #define TIM8_R 14560
  60. #define TIM10_R 14592
  61. #define TIM11_R 14624
  62. #define TIM12_R 14656
  63. #define TIM13_R 14688
  64. #define TIM14_R 14720
  65. #define TIM15_R 14752
  66. #define TIM16_R 14784
  67. #define TIM17_R 14816
  68. #define TIM20_R 14848
  69. #define LPTIM1_R 14880
  70. #define LPTIM2_R 14912
  71. #define LPTIM3_R 14944
  72. #define LPTIM4_R 14976
  73. #define LPTIM5_R 15008
  74. #define SPI1_R 15040
  75. #define SPI2_R 15072
  76. #define SPI3_R 15104
  77. #define SPI4_R 15136
  78. #define SPI5_R 15168
  79. #define SPI6_R 15200
  80. #define SPI7_R 15232
  81. #define SPI8_R 15264
  82. #define SPDIFRX_R 15296
  83. #define USART1_R 15328
  84. #define USART2_R 15360
  85. #define USART3_R 15392
  86. #define UART4_R 15424
  87. #define UART5_R 15456
  88. #define USART6_R 15488
  89. #define UART7_R 15520
  90. #define UART8_R 15552
  91. #define UART9_R 15584
  92. #define LPUART1_R 15616
  93. #define I2C1_R 15648
  94. #define I2C2_R 15680
  95. #define I2C3_R 15712
  96. #define I2C4_R 15744
  97. #define I2C5_R 15776
  98. #define I2C6_R 15808
  99. #define I2C7_R 15840
  100. #define I2C8_R 15872
  101. #define SAI1_R 15904
  102. #define SAI2_R 15936
  103. #define SAI3_R 15968
  104. #define SAI4_R 16000
  105. #define MDF1_R 16064
  106. #define MDF2_R 16096
  107. #define FDCAN_R 16128
  108. #define HDP_R 16160
  109. #define ADC12_R 16192
  110. #define ADC3_R 16224
  111. #define ETH1_R 16256
  112. #define ETH2_R 16288
  113. #define USB2_R 16352
  114. #define USB2PHY1_R 16384
  115. #define USB2PHY2_R 16416
  116. #define USB3DR_R 16448
  117. #define USB3PCIEPHY_R 16480
  118. #define PCIE_R 16512
  119. #define USBTC_R 16544
  120. #define ETHSW_R 16576
  121. #define SDMMC1_R 16768
  122. #define SDMMC1DLL_R 16784
  123. #define SDMMC2_R 16800
  124. #define SDMMC2DLL_R 16816
  125. #define SDMMC3_R 16832
  126. #define SDMMC3DLL_R 16848
  127. #define GPU_R 16864
  128. #define LTDC_R 16896
  129. #define DSI_R 16928
  130. #define LVDS_R 17024
  131. #define CSI_R 17088
  132. #define DCMIPP_R 17120
  133. #define CCI_R 17152
  134. #define VDEC_R 17184
  135. #define VENC_R 17216
  136. #define RNG_R 17280
  137. #define PKA_R 17312
  138. #define SAES_R 17344
  139. #define HASH_R 17376
  140. #define CRYP1_R 17408
  141. #define CRYP2_R 17440
  142. #define WWDG1_R 17632
  143. #define WWDG2_R 17664
  144. #define VREF_R 17728
  145. #define DTS_R 17760
  146. #define CRC_R 17824
  147. #define SERC_R 17856
  148. #define OSPIIOM_R 17888
  149. #define I3C1_R 17984
  150. #define I3C2_R 18016
  151. #define I3C3_R 18048
  152. #define I3C4_R 18080
  153. #define RST_SCMI_C1_R 0
  154. #define RST_SCMI_C2_R 1
  155. #define RST_SCMI_C1_HOLDBOOT_R 2
  156. #define RST_SCMI_C2_HOLDBOOT_R 3
  157. #define RST_SCMI_FMC 4
  158. #define RST_SCMI_OSPI1 5
  159. #define RST_SCMI_OSPI1DLL 6
  160. #define RST_SCMI_OSPI2 7
  161. #define RST_SCMI_OSPI2DLL 8
  162. #endif /* _DT_BINDINGS_STM32MP25_RESET_H_ */