xref: /linux/include/dt-bindings/reset/amlogic,meson-g12a-reset.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
2 /*
3  * Copyright (c) 2019 BayLibre, SAS.
4  * Author: Jerome Brunet <jbrunet@baylibre.com>
5  *
6  */
7 
8 #ifndef _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_H
9 #define _DT_BINDINGS_AMLOGIC_MESON_G12A_RESET_H
10 
11 /*	RESET0					*/
12 #define RESET_HIU			0
13 /*					1	*/
14 #define RESET_DOS			2
15 /*					3-4	*/
16 #define RESET_VIU			5
17 #define RESET_AFIFO			6
18 #define RESET_VID_PLL_DIV		7
19 /*					8-9	*/
20 #define RESET_VENC			10
21 #define RESET_ASSIST			11
22 #define RESET_PCIE_CTRL_A		12
23 #define RESET_VCBUS			13
24 #define RESET_PCIE_PHY			14
25 #define RESET_PCIE_APB			15
26 #define RESET_GIC			16
27 #define RESET_CAPB3_DECODE		17
28 /*					18	*/
29 #define RESET_HDMITX_CAPB3		19
30 #define RESET_DVALIN_CAPB3		20
31 #define RESET_DOS_CAPB3			21
32 /*					22	*/
33 #define RESET_CBUS_CAPB3		23
34 #define RESET_AHB_CNTL			24
35 #define RESET_AHB_DATA			25
36 #define RESET_VCBUS_CLK81		26
37 /*					27-31	*/
38 /*	RESET1					*/
39 /*					32	*/
40 #define RESET_DEMUX			33
41 #define RESET_USB			34
42 #define RESET_DDR			35
43 /*					36	*/
44 #define RESET_BT656			37
45 #define RESET_AHB_SRAM			38
46 /*					39	*/
47 #define RESET_PARSER			40
48 /*					41	*/
49 #define RESET_ISA			42
50 #define RESET_ETHERNET			43
51 #define RESET_SD_EMMC_A			44
52 #define RESET_SD_EMMC_B			45
53 #define RESET_SD_EMMC_C			46
54 /*					47	*/
55 #define RESET_USB_PHY20			48
56 #define RESET_USB_PHY21			49
57 /*					50-60	*/
58 #define RESET_AUDIO_CODEC		61
59 /*					62-63	*/
60 /*	RESET2					*/
61 /*					64	*/
62 #define RESET_AUDIO			65
63 #define RESET_HDMITX_PHY		66
64 /*					67	*/
65 #define RESET_MIPI_DSI_HOST		68
66 #define RESET_ALOCKER			69
67 #define RESET_GE2D			70
68 #define RESET_PARSER_REG		71
69 #define RESET_PARSER_FETCH		72
70 #define RESET_CTL			73
71 #define RESET_PARSER_TOP		74
72 /*					75	*/
73 #define RESET_NNA			76
74 /*					77	*/
75 #define RESET_DVALIN			78
76 #define RESET_HDMITX			79
77 /*					80-95	*/
78 /*	RESET3					*/
79 /*					96-95	*/
80 #define RESET_DEMUX_TOP			105
81 #define RESET_DEMUX_DES_PL		106
82 #define RESET_DEMUX_S2P_0		107
83 #define RESET_DEMUX_S2P_1		108
84 #define RESET_DEMUX_0			109
85 #define RESET_DEMUX_1			110
86 #define RESET_DEMUX_2			111
87 /*					112-127	*/
88 /*	RESET4					*/
89 /*					128-129	*/
90 #define RESET_MIPI_DSI_PHY		130
91 /*					131-132	*/
92 #define RESET_RDMA			133
93 #define RESET_VENCI			134
94 #define RESET_VENCP			135
95 /*					136	*/
96 #define RESET_VDAC			137
97 /*					138-139 */
98 #define RESET_VDI6			140
99 #define RESET_VENCL			141
100 #define RESET_I2C_M1			142
101 #define RESET_I2C_M2			143
102 /*					144-159	*/
103 /*	RESET5					*/
104 /*					160-191	*/
105 /*	RESET6					*/
106 #define RESET_GEN			192
107 #define RESET_SPICC0			193
108 #define RESET_SC			194
109 #define RESET_SANA_3			195
110 #define RESET_I2C_M0			196
111 #define RESET_TS_PLL			197
112 #define RESET_SPICC1			198
113 #define RESET_STREAM			199
114 #define RESET_TS_CPU			200
115 #define RESET_UART0			201
116 #define RESET_UART1_2			202
117 #define RESET_ASYNC0			203
118 #define RESET_ASYNC1			204
119 #define RESET_SPIFC0			205
120 #define RESET_I2C_M3			206
121 /*					207-223	*/
122 /*	RESET7					*/
123 #define RESET_USB_DDR_0			224
124 #define RESET_USB_DDR_1			225
125 #define RESET_USB_DDR_2			226
126 #define RESET_USB_DDR_3			227
127 #define RESET_TS_GPU			228
128 #define RESET_DEVICE_MMC_ARB		229
129 #define RESET_DVALIN_DMC_PIPL		230
130 #define RESET_VID_LOCK			231
131 #define RESET_NIC_DMC_PIPL		232
132 #define RESET_DMC_VPU_PIPL		233
133 #define RESET_GE2D_DMC_PIPL		234
134 #define RESET_HCODEC_DMC_PIPL		235
135 #define RESET_WAVE420_DMC_PIPL		236
136 #define RESET_HEVCF_DMC_PIPL		237
137 /*					238-255	*/
138 
139 #endif
140