blob: 8f13266d9cf899cdaa7def848a52ffa8763d3789 [file] [log] [blame]
Googler9398cc32022-12-02 17:21:52 +08001/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
2/*
3 * Copyright (c) 2019 Amlogic, Inc. All rights reserved.
4 */
5
6#ifndef _DT_BINDINGS_AMLOGIC_MESON_T5_RESET_H
7#define _DT_BINDINGS_AMLOGIC_MESON_T5_RESET_H
8
9/* RESET0 */
10#define RESET_HIU 0
11#define RESET_HDMI_ARBAXI 1
12#define RESET_DOS 2
13#define RESET_DDR_TOP 3
14#define RESET_PL301_ADB400_PWRDNREQN 4
15#define RESET_VIU 5
16#define RESET_AFIFO 6
17#define RESET_VID_PLL_DIV 7
18#define RESET_DEMOD 8
19#define RESET_HDMIRX 9
20#define RESET_VENC 10
21#define RESET_ASSIST 11
22/* 12 */
23#define RESET_VCBUS 13
24/* 14-15 */
25#define RESET_GIC 16
26#define RESET_CAPB3_DECODE 17
27#define RESET_HDMIRX_APB 18
28/* 19 */
29#define RESET_MALI_CAPB3 20
30#define RESET_DOS_CAPB3 21
31#define RESET_CLK_RST 22
32#define RESET_CBUS_CAPB3 23
33#define RESET_AHB_CNTL 24
34#define RESET_AHB_DATA 25
35#define RESET_VCBUS_CLK81 26
36#define RESET_NIC_AXI 27
37/* 28-30 */
38#define RESET_HDMI_ARBAXI_RG 31
39/* RESET1 */
40/* 32 */
41#define RESET_DEMUX 33
42#define RESET_USB 34
43#define RESET_DDR 35
44#define RESET_AML_TCON 36
45/* 37 */
46#define RESET_AHB_SRAM 38
47#define RESET_TVFE_TOP 39
48#define RESET_PARSER 40
49#define RESET_AVT_DMD 41
50#define RESET_ISA 42
51#define RESET_ETHERNET 43
52#define RESET_HDMI_ARBAXI_APB 44
53#define RESET_PWR_CTRL 45
54#define RESET_SD_EMMC_C 46
55/* 47 */
56#define RESET_USB_PHY20 48
57#define RESET_USB_PHY21 49
58#define RESET_USB_PHY22 50
59#define RESET_USB_PHY23 51
60/* 52-60 */
61#define RESET_AUDIO_CODEC 61
62/* 62-63 */
63/* RESET2 */
64/* 64 */
65#define RESET_AUDIO 65
66/* 66 */
67#define RESET_ADEC_TOP_WRAP 67
68/* 68-69 */
69#define RESET_GE2D 70
70#define RESET_PARSER_REG 71
71#define RESET_PARSER_FETCH 72
72#define RESET_CTL 73
73#define RESET_PARSER_TOP 74
74/* 75-57 */
75#define RESET_MALI 78
76/* 79-95 */
77/* RESET3 */
78#define RESET_DMUX_S2P_2 96
79/* 97-99 */
80#define RESET_PARSER1_TOP 100
81#define RESET_PARSER1 101
82#define RESET_PARSER1_REG 102
83#define RESET_PARSER1_FETCH 103
84#define RESET_PARSER1_CTL 104
85#define RESET_DEMUX_TOP 105
86#define RESET_DEMUX_DES_PL 106
87#define RESET_DEMUX_S2P_0 107
88#define RESET_DEMUX_S2P_1 108
89#define RESET_DEMUX_0 109
90#define RESET_DEMUX_1 110
91#define RESET_DEMUX_2 111
92/* 112-127 */
93/* RESET4 */
94/* 128-132 */
95#define RESET_RDMA 133
96#define RESET_VENCI 134
97#define RESET_VENCP 135
98/* 136 */
99#define RESET_VDAC 137
100/* 138-139 */
101#define RESET_VDI6 140
102#define RESET_VENCL 141
103#define RESET_I2C_M1 142
104#define RESET_I2C_M2 143
105/* 144-159 */
106/* RESET5 */
107/* 160-191 */
108/* RESET6 */
109#define RESET_GEN 192
110#define RESET_SPICC0 193
111/* 194 */
112#define RESET_SANA_3 195
113#define RESET_I2C_M0 196
114#define RESET_TS_PLL 197
115/* 198 */
116#define RESET_STREAM 199
117/* 200 */
118#define RESET_UART0 201
119#define RESET_UART1_2 202
120#define RESET_ASYNC0 203
121#define RESET_ASYNC1 204
122#define RESET_SPIFC0 205
123/* 208 */
124#define RESET_ASYNC3 207
125/* 208-223 */
126/* RESET7 */
127#define RESET_USB_DDR_0 224
128#define RESET_USB_DDR_1 225
129#define RESET_USB_DDR_2 226
130#define RESET_USB_DDR_3 227
131/* 228 */
132#define RESET_DEVICE_MMC_ARB 229
133#define RESET_MALI_DMC_PIPL 230
134#define RESET_VPU_VID_LOCK 231
135/* 232 */
136#define RESET_DMC_VPU_PIPL 233
137#define RESET_GE2D_DMC_PIPL 234
138#define RESET_HCODEC_PIPL 235
139/* 236 */
140#define RESET_HEVCF_DM_PIPL 237
141/* 238-255 */
142
143#endif