amlogic,meson-gxbb-reset.h 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. /*
  2. * This file is provided under a dual BSD/GPLv2 license. When using or
  3. * redistributing this file, you may do so under either license.
  4. *
  5. * GPL LICENSE SUMMARY
  6. *
  7. * Copyright (c) 2016 BayLibre, SAS.
  8. * Author: Neil Armstrong <narmstrong@baylibre.com>
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of version 2 of the GNU General Public License as
  12. * published by the Free Software Foundation.
  13. *
  14. * This program is distributed in the hope that it will be useful, but
  15. * WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program; if not, see <http://www.gnu.org/licenses/>.
  21. * The full GNU General Public License is included in this distribution
  22. * in the file called COPYING.
  23. *
  24. * BSD LICENSE
  25. *
  26. * Copyright (c) 2016 BayLibre, SAS.
  27. * Author: Neil Armstrong <narmstrong@baylibre.com>
  28. *
  29. * Redistribution and use in source and binary forms, with or without
  30. * modification, are permitted provided that the following conditions
  31. * are met:
  32. *
  33. * * Redistributions of source code must retain the above copyright
  34. * notice, this list of conditions and the following disclaimer.
  35. * * Redistributions in binary form must reproduce the above copyright
  36. * notice, this list of conditions and the following disclaimer in
  37. * the documentation and/or other materials provided with the
  38. * distribution.
  39. * * Neither the name of Intel Corporation nor the names of its
  40. * contributors may be used to endorse or promote products derived
  41. * from this software without specific prior written permission.
  42. *
  43. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  44. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  45. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  46. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  47. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  48. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  49. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  50. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  51. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  52. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  53. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  54. */
  55. #ifndef _DT_BINDINGS_AMLOGIC_MESON_GXBB_RESET_H
  56. #define _DT_BINDINGS_AMLOGIC_MESON_GXBB_RESET_H
  57. /* RESET0 */
  58. #define RESET_HIU 0
  59. /* 1 */
  60. #define RESET_DOS_RESET 2
  61. #define RESET_DDR_TOP 3
  62. #define RESET_DCU_RESET 4
  63. #define RESET_VIU 5
  64. #define RESET_AIU 6
  65. #define RESET_VID_PLL_DIV 7
  66. /* 8 */
  67. #define RESET_PMUX 9
  68. #define RESET_VENC 10
  69. #define RESET_ASSIST 11
  70. #define RESET_AFIFO2 12
  71. #define RESET_VCBUS 13
  72. /* 14 */
  73. /* 15 */
  74. #define RESET_GIC 16
  75. #define RESET_CAPB3_DECODE 17
  76. #define RESET_NAND_CAPB3 18
  77. #define RESET_HDMITX_CAPB3 19
  78. #define RESET_MALI_CAPB3 20
  79. #define RESET_DOS_CAPB3 21
  80. #define RESET_SYS_CPU_CAPB3 22
  81. #define RESET_CBUS_CAPB3 23
  82. #define RESET_AHB_CNTL 24
  83. #define RESET_AHB_DATA 25
  84. #define RESET_VCBUS_CLK81 26
  85. #define RESET_MMC 27
  86. #define RESET_MIPI_0 28
  87. #define RESET_MIPI_1 29
  88. #define RESET_MIPI_2 30
  89. #define RESET_MIPI_3 31
  90. /* RESET1 */
  91. #define RESET_CPPM 32
  92. #define RESET_DEMUX 33
  93. #define RESET_USB_OTG 34
  94. #define RESET_DDR 35
  95. #define RESET_AO_RESET 36
  96. #define RESET_BT656 37
  97. #define RESET_AHB_SRAM 38
  98. /* 39 */
  99. #define RESET_PARSER 40
  100. #define RESET_BLKMV 41
  101. #define RESET_ISA 42
  102. #define RESET_ETHERNET 43
  103. #define RESET_SD_EMMC_A 44
  104. #define RESET_SD_EMMC_B 45
  105. #define RESET_SD_EMMC_C 46
  106. #define RESET_ROM_BOOT 47
  107. #define RESET_SYS_CPU_0 48
  108. #define RESET_SYS_CPU_1 49
  109. #define RESET_SYS_CPU_2 50
  110. #define RESET_SYS_CPU_3 51
  111. #define RESET_SYS_CPU_CORE_0 52
  112. #define RESET_SYS_CPU_CORE_1 53
  113. #define RESET_SYS_CPU_CORE_2 54
  114. #define RESET_SYS_CPU_CORE_3 55
  115. #define RESET_SYS_PLL_DIV 56
  116. #define RESET_SYS_CPU_AXI 57
  117. #define RESET_SYS_CPU_L2 58
  118. #define RESET_SYS_CPU_P 59
  119. #define RESET_SYS_CPU_MBIST 60
  120. /* 61 */
  121. /* 62 */
  122. /* 63 */
  123. /* RESET2 */
  124. #define RESET_VD_RMEM 64
  125. #define RESET_AUDIN 65
  126. #define RESET_HDMI_TX 66
  127. /* 67 */
  128. /* 68 */
  129. /* 69 */
  130. #define RESET_GE2D 70
  131. #define RESET_PARSER_REG 71
  132. #define RESET_PARSER_FETCH 72
  133. #define RESET_PARSER_CTL 73
  134. #define RESET_PARSER_TOP 74
  135. /* 75 */
  136. /* 76 */
  137. #define RESET_AO_CPU_RESET 77
  138. #define RESET_MALI 78
  139. #define RESET_HDMI_SYSTEM_RESET 79
  140. /* 80-95 */
  141. /* RESET3 */
  142. #define RESET_RING_OSCILLATOR 96
  143. #define RESET_SYS_CPU 97
  144. #define RESET_EFUSE 98
  145. #define RESET_SYS_CPU_BVCI 99
  146. #define RESET_AIFIFO 100
  147. #define RESET_TVFE 101
  148. #define RESET_AHB_BRIDGE_CNTL 102
  149. /* 103 */
  150. #define RESET_AUDIO_DAC 104
  151. #define RESET_DEMUX_TOP 105
  152. #define RESET_DEMUX_DES 106
  153. #define RESET_DEMUX_S2P_0 107
  154. #define RESET_DEMUX_S2P_1 108
  155. #define RESET_DEMUX_RESET_0 109
  156. #define RESET_DEMUX_RESET_1 110
  157. #define RESET_DEMUX_RESET_2 111
  158. /* 112-127 */
  159. /* RESET4 */
  160. /* 128 */
  161. /* 129 */
  162. /* 130 */
  163. /* 131 */
  164. #define RESET_DVIN_RESET 132
  165. #define RESET_RDMA 133
  166. #define RESET_VENCI 134
  167. #define RESET_VENCP 135
  168. /* 136 */
  169. #define RESET_VDAC 137
  170. #define RESET_RTC 138
  171. /* 139 */
  172. #define RESET_VDI6 140
  173. #define RESET_VENCL 141
  174. #define RESET_I2C_MASTER_2 142
  175. #define RESET_I2C_MASTER_1 143
  176. /* 144-159 */
  177. /* RESET5 */
  178. /* 160-191 */
  179. /* RESET6 */
  180. #define RESET_PERIPHS_GENERAL 192
  181. #define RESET_PERIPHS_SPICC 193
  182. #define RESET_PERIPHS_SMART_CARD 194
  183. #define RESET_PERIPHS_SAR_ADC 195
  184. #define RESET_PERIPHS_I2C_MASTER_0 196
  185. #define RESET_SANA 197
  186. /* 198 */
  187. #define RESET_PERIPHS_STREAM_INTERFACE 199
  188. #define RESET_PERIPHS_SDIO 200
  189. #define RESET_PERIPHS_UART_0 201
  190. #define RESET_PERIPHS_UART_1_2 202
  191. #define RESET_PERIPHS_ASYNC_0 203
  192. #define RESET_PERIPHS_ASYNC_1 204
  193. #define RESET_PERIPHS_SPI_0 205
  194. #define RESET_PERIPHS_SDHC 206
  195. #define RESET_UART_SLIP 207
  196. /* 208-223 */
  197. /* RESET7 */
  198. #define RESET_USB_DDR_0 224
  199. #define RESET_USB_DDR_1 225
  200. #define RESET_USB_DDR_2 226
  201. #define RESET_USB_DDR_3 227
  202. /* 228 */
  203. #define RESET_DEVICE_MMC_ARB 229
  204. /* 230 */
  205. #define RESET_VID_LOCK 231
  206. #define RESET_A9_DMC_PIPEL 232
  207. /* 233-255 */
  208. #endif