amlogic,meson-s4-reset.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
  2. /*
  3. * Copyright (c) 2021 Amlogic, Inc. All rights reserved.
  4. * Author: Zelong Dong <[email protected]>
  5. *
  6. */
  7. #ifndef _DT_BINDINGS_AMLOGIC_MESON_S4_RESET_H
  8. #define _DT_BINDINGS_AMLOGIC_MESON_S4_RESET_H
  9. /* RESET0 */
  10. #define RESET_USB_DDR0 0
  11. #define RESET_USB_DDR1 1
  12. #define RESET_USB_DDR2 2
  13. #define RESET_USB_DDR3 3
  14. #define RESET_USBCTRL 4
  15. /* 5-7 */
  16. #define RESET_USBPHY20 8
  17. #define RESET_USBPHY21 9
  18. /* 10-15 */
  19. #define RESET_HDMITX_APB 16
  20. #define RESET_BRG_VCBUS_DEC 17
  21. #define RESET_VCBUS 18
  22. #define RESET_VID_PLL_DIV 19
  23. #define RESET_VDI6 20
  24. #define RESET_GE2D 21
  25. #define RESET_HDMITXPHY 22
  26. #define RESET_VID_LOCK 23
  27. #define RESET_VENCL 24
  28. #define RESET_VDAC 25
  29. #define RESET_VENCP 26
  30. #define RESET_VENCI 27
  31. #define RESET_RDMA 28
  32. #define RESET_HDMI_TX 29
  33. #define RESET_VIU 30
  34. #define RESET_VENC 31
  35. /* RESET1 */
  36. #define RESET_AUDIO 32
  37. #define RESET_MALI_APB 33
  38. #define RESET_MALI 34
  39. #define RESET_DDR_APB 35
  40. #define RESET_DDR 36
  41. #define RESET_DOS_APB 37
  42. #define RESET_DOS 38
  43. /* 39-47 */
  44. #define RESET_ETH 48
  45. /* 49-51 */
  46. #define RESET_DEMOD 52
  47. /* 53-63 */
  48. /* RESET2 */
  49. #define RESET_ABUS_ARB 64
  50. #define RESET_IR_CTRL 65
  51. #define RESET_TEMPSENSOR_DDR 66
  52. #define RESET_TEMPSENSOR_PLL 67
  53. /* 68-71 */
  54. #define RESET_SMART_CARD 72
  55. #define RESET_SPICC0 73
  56. /* 74 */
  57. #define RESET_RSA 75
  58. /* 76-79 */
  59. #define RESET_MSR_CLK 80
  60. #define RESET_SPIFC 81
  61. #define RESET_SARADC 82
  62. /* 83-87 */
  63. #define RESET_ACODEC 88
  64. #define RESET_CEC 89
  65. #define RESET_AFIFO 90
  66. #define RESET_WATCHDOG 91
  67. /* 92-95 */
  68. /* RESET3 */
  69. /* 96-127 */
  70. /* RESET4 */
  71. /* 128-131 */
  72. #define RESET_PWM_AB 132
  73. #define RESET_PWM_CD 133
  74. #define RESET_PWM_EF 134
  75. #define RESET_PWM_GH 135
  76. #define RESET_PWM_IJ 136
  77. /* 137 */
  78. #define RESET_UART_A 138
  79. #define RESET_UART_B 139
  80. #define RESET_UART_C 140
  81. #define RESET_UART_D 141
  82. #define RESET_UART_E 142
  83. /* 143 */
  84. #define RESET_I2C_S_A 144
  85. #define RESET_I2C_M_A 145
  86. #define RESET_I2C_M_B 146
  87. #define RESET_I2C_M_C 147
  88. #define RESET_I2C_M_D 148
  89. #define RESET_I2C_M_E 149
  90. /* 150-151 */
  91. #define RESET_SD_EMMC_A 152
  92. #define RESET_SD_EMMC_B 153
  93. #define RESET_NAND_EMMC 154
  94. /* 155-159 */
  95. /* RESET5 */
  96. #define RESET_BRG_VDEC_PIPL0 160
  97. #define RESET_BRG_HEVCF_PIPL0 161
  98. /* 162 */
  99. #define RESET_BRG_HCODEC_PIPL0 163
  100. #define RESET_BRG_GE2D_PIPL0 164
  101. #define RESET_BRG_VPU_PIPL0 165
  102. #define RESET_BRG_CPU_PIPL0 166
  103. #define RESET_BRG_MALI_PIPL0 167
  104. /* 168 */
  105. #define RESET_BRG_MALI_PIPL1 169
  106. /* 170-171 */
  107. #define RESET_BRG_HEVCF_PIPL1 172
  108. #define RESET_BRG_HEVCB_PIPL1 173
  109. /* 174-183 */
  110. #define RESET_RAMA 184
  111. /* 185-186 */
  112. #define RESET_BRG_NIC_VAPB 187
  113. #define RESET_BRG_NIC_DSU 188
  114. #define RESET_BRG_NIC_SYSCLK 189
  115. #define RESET_BRG_NIC_MAIN 190
  116. #define RESET_BRG_NIC_ALL 191
  117. #endif