amlogic,meson8b-reset.h revision 1.1.1.1.8.2 1 /* $NetBSD: amlogic,meson8b-reset.h,v 1.1.1.1.8.2 2017/12/03 11:38:40 jdolecek Exp $ */
2
3 /*
4 * This file is provided under a dual BSD/GPLv2 license. When using or
5 * redistributing this file, you may do so under either license.
6 *
7 * GPL LICENSE SUMMARY
8 *
9 * Copyright (c) 2016 BayLibre, SAS.
10 * Author: Neil Armstrong <narmstrong (at) baylibre.com>
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of version 2 of the GNU General Public License as
14 * published by the Free Software Foundation.
15 *
16 * This program is distributed in the hope that it will be useful, but
17 * WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, see <http://www.gnu.org/licenses/>.
23 * The full GNU General Public License is included in this distribution
24 * in the file called COPYING.
25 *
26 * BSD LICENSE
27 *
28 * Copyright (c) 2016 BayLibre, SAS.
29 * Author: Neil Armstrong <narmstrong (at) baylibre.com>
30 *
31 * Redistribution and use in source and binary forms, with or without
32 * modification, are permitted provided that the following conditions
33 * are met:
34 *
35 * * Redistributions of source code must retain the above copyright
36 * notice, this list of conditions and the following disclaimer.
37 * * Redistributions in binary form must reproduce the above copyright
38 * notice, this list of conditions and the following disclaimer in
39 * the documentation and/or other materials provided with the
40 * distribution.
41 * * Neither the name of Intel Corporation nor the names of its
42 * contributors may be used to endorse or promote products derived
43 * from this software without specific prior written permission.
44 *
45 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
46 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
47 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
48 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
49 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
50 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
51 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
52 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
53 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
54 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
55 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
56 */
57 #ifndef _DT_BINDINGS_AMLOGIC_MESON8B_RESET_H
58 #define _DT_BINDINGS_AMLOGIC_MESON8B_RESET_H
59
60 /* RESET0 */
61 #define RESET_HIU 0
62 #define RESET_VLD 1
63 #define RESET_IQIDCT 2
64 #define RESET_MC 3
65 /* 8 */
66 #define RESET_VIU 5
67 #define RESET_AIU 6
68 #define RESET_MCPU 7
69 #define RESET_CCPU 8
70 #define RESET_PMUX 9
71 #define RESET_VENC 10
72 #define RESET_ASSIST 11
73 #define RESET_AFIFO2 12
74 #define RESET_MDEC 13
75 #define RESET_VLD_PART 14
76 #define RESET_VIFIFO 15
77 /* 16-31 */
78 /* RESET1 */
79 /* 32 */
80 #define RESET_DEMUX 33
81 #define RESET_USB_OTG 34
82 #define RESET_DDR 35
83 #define RESET_VDAC_1 36
84 #define RESET_BT656 37
85 #define RESET_AHB_SRAM 38
86 #define RESET_AHB_BRIDGE 39
87 #define RESET_PARSER 40
88 #define RESET_BLKMV 41
89 #define RESET_ISA 42
90 #define RESET_ETHERNET 43
91 #define RESET_ABUF 44
92 #define RESET_AHB_DATA 45
93 #define RESET_AHB_CNTL 46
94 #define RESET_ROM_BOOT 47
95 /* 48-63 */
96 /* RESET2 */
97 #define RESET_VD_RMEM 64
98 #define RESET_AUDIN 65
99 #define RESET_DBLK 66
100 #define RESET_PIC_DC 66
101 #define RESET_PSC 66
102 #define RESET_NAND 66
103 #define RESET_GE2D 70
104 #define RESET_PARSER_REG 71
105 #define RESET_PARSER_FETCH 72
106 #define RESET_PARSER_CTL 73
107 #define RESET_PARSER_TOP 74
108 #define RESET_HDMI_APB 75
109 #define RESET_AUDIO_APB 76
110 #define RESET_MEDIA_CPU 77
111 #define RESET_MALI 78
112 #define RESET_HDMI_SYSTEM_RESET 79
113 /* 80-95 */
114 /* RESET3 */
115 #define RESET_RING_OSCILLATOR 96
116 #define RESET_SYS_CPU_0 97
117 #define RESET_EFUSE 98
118 #define RESET_SYS_CPU_BVCI 99
119 #define RESET_AIFIFO 100
120 #define RESET_AUDIO_PLL_MODULATOR 101
121 #define RESET_AHB_BRIDGE_CNTL 102
122 #define RESET_SYS_CPU_1 103
123 #define RESET_AUDIO_DAC 104
124 #define RESET_DEMUX_TOP 105
125 #define RESET_DEMUX_DES 106
126 #define RESET_DEMUX_S2P_0 107
127 #define RESET_DEMUX_S2P_1 108
128 #define RESET_DEMUX_RESET_0 109
129 #define RESET_DEMUX_RESET_1 110
130 #define RESET_DEMUX_RESET_2 111
131 /* 112-127 */
132 /* RESET4 */
133 #define RESET_PL310 128
134 #define RESET_A5_APB 129
135 #define RESET_A5_AXI 130
136 #define RESET_A5 131
137 #define RESET_DVIN 132
138 #define RESET_RDMA 133
139 #define RESET_VENCI 134
140 #define RESET_VENCP 135
141 #define RESET_VENCT 136
142 #define RESET_VDAC_4 137
143 #define RESET_RTC 138
144 #define RESET_A5_DEBUG 139
145 #define RESET_VDI6 140
146 #define RESET_VENCL 141
147 /* 142-159 */
148 /* RESET5 */
149 #define RESET_DDR_PLL 160
150 #define RESET_MISC_PLL 161
151 #define RESET_SYS_PLL 162
152 #define RESET_HPLL_PLL 163
153 #define RESET_AUDIO_PLL 164
154 #define RESET_VID2_PLL 165
155 /* 166-191 */
156 /* RESET6 */
157 #define RESET_PERIPHS_GENERAL 192
158 #define RESET_PERIPHS_IR_REMOTE 193
159 #define RESET_PERIPHS_SMART_CARD 194
160 #define RESET_PERIPHS_SAR_ADC 195
161 #define RESET_PERIPHS_I2C_MASTER_0 196
162 #define RESET_PERIPHS_I2C_MASTER_1 197
163 #define RESET_PERIPHS_I2C_SLAVE 198
164 #define RESET_PERIPHS_STREAM_INTERFACE 199
165 #define RESET_PERIPHS_SDIO 200
166 #define RESET_PERIPHS_UART_0 201
167 #define RESET_PERIPHS_UART_1 202
168 #define RESET_PERIPHS_ASYNC_0 203
169 #define RESET_PERIPHS_ASYNC_1 204
170 #define RESET_PERIPHS_SPI_0 205
171 #define RESET_PERIPHS_SPI_1 206
172 #define RESET_PERIPHS_LED_PWM 207
173 /* 208-223 */
174 /* RESET7 */
175 /* 224-255 */
176
177 #endif
178