xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/amlogic,meson8b-reset.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * Copyright (c) 2016 BayLibre, SAS.
4*c66ec88fSEmmanuel Vadot  * Author: Neil Armstrong <narmstrong@baylibre.com>
5*c66ec88fSEmmanuel Vadot  */
6*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_AMLOGIC_MESON8B_RESET_H
7*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_AMLOGIC_MESON8B_RESET_H
8*c66ec88fSEmmanuel Vadot 
9*c66ec88fSEmmanuel Vadot /*	RESET0					*/
10*c66ec88fSEmmanuel Vadot #define RESET_HIU			0
11*c66ec88fSEmmanuel Vadot #define RESET_VLD			1
12*c66ec88fSEmmanuel Vadot #define RESET_IQIDCT			2
13*c66ec88fSEmmanuel Vadot #define RESET_MC			3
14*c66ec88fSEmmanuel Vadot /*					8	*/
15*c66ec88fSEmmanuel Vadot #define RESET_VIU			5
16*c66ec88fSEmmanuel Vadot #define RESET_AIU			6
17*c66ec88fSEmmanuel Vadot #define RESET_MCPU			7
18*c66ec88fSEmmanuel Vadot #define RESET_CCPU			8
19*c66ec88fSEmmanuel Vadot #define RESET_PMUX			9
20*c66ec88fSEmmanuel Vadot #define RESET_VENC			10
21*c66ec88fSEmmanuel Vadot #define RESET_ASSIST			11
22*c66ec88fSEmmanuel Vadot #define RESET_AFIFO2			12
23*c66ec88fSEmmanuel Vadot #define RESET_MDEC			13
24*c66ec88fSEmmanuel Vadot #define RESET_VLD_PART			14
25*c66ec88fSEmmanuel Vadot #define RESET_VIFIFO			15
26*c66ec88fSEmmanuel Vadot /*					16-31	*/
27*c66ec88fSEmmanuel Vadot /*	RESET1					*/
28*c66ec88fSEmmanuel Vadot /*					32	*/
29*c66ec88fSEmmanuel Vadot #define RESET_DEMUX			33
30*c66ec88fSEmmanuel Vadot #define RESET_USB_OTG			34
31*c66ec88fSEmmanuel Vadot #define RESET_DDR			35
32*c66ec88fSEmmanuel Vadot #define RESET_VDAC_1			36
33*c66ec88fSEmmanuel Vadot #define RESET_BT656			37
34*c66ec88fSEmmanuel Vadot #define RESET_AHB_SRAM			38
35*c66ec88fSEmmanuel Vadot #define RESET_AHB_BRIDGE		39
36*c66ec88fSEmmanuel Vadot #define RESET_PARSER			40
37*c66ec88fSEmmanuel Vadot #define RESET_BLKMV			41
38*c66ec88fSEmmanuel Vadot #define RESET_ISA			42
39*c66ec88fSEmmanuel Vadot #define RESET_ETHERNET			43
40*c66ec88fSEmmanuel Vadot #define RESET_ABUF			44
41*c66ec88fSEmmanuel Vadot #define RESET_AHB_DATA			45
42*c66ec88fSEmmanuel Vadot #define RESET_AHB_CNTL			46
43*c66ec88fSEmmanuel Vadot #define RESET_ROM_BOOT			47
44*c66ec88fSEmmanuel Vadot /*					48-63	*/
45*c66ec88fSEmmanuel Vadot /*	RESET2					*/
46*c66ec88fSEmmanuel Vadot #define RESET_VD_RMEM			64
47*c66ec88fSEmmanuel Vadot #define RESET_AUDIN			65
48*c66ec88fSEmmanuel Vadot #define RESET_DBLK			66
49*c66ec88fSEmmanuel Vadot #define RESET_PIC_DC			67
50*c66ec88fSEmmanuel Vadot #define RESET_PSC			68
51*c66ec88fSEmmanuel Vadot #define RESET_NAND			69
52*c66ec88fSEmmanuel Vadot #define RESET_GE2D			70
53*c66ec88fSEmmanuel Vadot #define RESET_PARSER_REG		71
54*c66ec88fSEmmanuel Vadot #define RESET_PARSER_FETCH		72
55*c66ec88fSEmmanuel Vadot #define RESET_PARSER_CTL		73
56*c66ec88fSEmmanuel Vadot #define RESET_PARSER_TOP		74
57*c66ec88fSEmmanuel Vadot #define RESET_HDMI_APB			75
58*c66ec88fSEmmanuel Vadot #define RESET_AUDIO_APB			76
59*c66ec88fSEmmanuel Vadot #define RESET_MEDIA_CPU			77
60*c66ec88fSEmmanuel Vadot #define RESET_MALI			78
61*c66ec88fSEmmanuel Vadot #define RESET_HDMI_SYSTEM_RESET		79
62*c66ec88fSEmmanuel Vadot /*					80-95	*/
63*c66ec88fSEmmanuel Vadot /*	RESET3					*/
64*c66ec88fSEmmanuel Vadot #define RESET_RING_OSCILLATOR		96
65*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_0			97
66*c66ec88fSEmmanuel Vadot #define RESET_EFUSE			98
67*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_BVCI		99
68*c66ec88fSEmmanuel Vadot #define RESET_AIFIFO			100
69*c66ec88fSEmmanuel Vadot #define RESET_AUDIO_PLL_MODULATOR	101
70*c66ec88fSEmmanuel Vadot #define RESET_AHB_BRIDGE_CNTL		102
71*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_1			103
72*c66ec88fSEmmanuel Vadot #define RESET_AUDIO_DAC			104
73*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_TOP			105
74*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_DES			106
75*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_S2P_0		107
76*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_S2P_1		108
77*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_RESET_0		109
78*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_RESET_1		110
79*c66ec88fSEmmanuel Vadot #define RESET_DEMUX_RESET_2		111
80*c66ec88fSEmmanuel Vadot /*					112-127	*/
81*c66ec88fSEmmanuel Vadot /*	RESET4					*/
82*c66ec88fSEmmanuel Vadot #define RESET_PL310			128
83*c66ec88fSEmmanuel Vadot #define RESET_A5_APB			129
84*c66ec88fSEmmanuel Vadot #define RESET_A5_AXI			130
85*c66ec88fSEmmanuel Vadot #define RESET_A5			131
86*c66ec88fSEmmanuel Vadot #define RESET_DVIN			132
87*c66ec88fSEmmanuel Vadot #define RESET_RDMA			133
88*c66ec88fSEmmanuel Vadot #define RESET_VENCI			134
89*c66ec88fSEmmanuel Vadot #define RESET_VENCP			135
90*c66ec88fSEmmanuel Vadot #define RESET_VENCT			136
91*c66ec88fSEmmanuel Vadot #define RESET_VDAC_4			137
92*c66ec88fSEmmanuel Vadot #define RESET_RTC			138
93*c66ec88fSEmmanuel Vadot #define RESET_A5_DEBUG			139
94*c66ec88fSEmmanuel Vadot #define RESET_VDI6			140
95*c66ec88fSEmmanuel Vadot #define RESET_VENCL			141
96*c66ec88fSEmmanuel Vadot /*					142-159	*/
97*c66ec88fSEmmanuel Vadot /*	RESET5					*/
98*c66ec88fSEmmanuel Vadot #define RESET_DDR_PLL			160
99*c66ec88fSEmmanuel Vadot #define RESET_MISC_PLL			161
100*c66ec88fSEmmanuel Vadot #define RESET_SYS_PLL			162
101*c66ec88fSEmmanuel Vadot #define RESET_HPLL_PLL			163
102*c66ec88fSEmmanuel Vadot #define RESET_AUDIO_PLL			164
103*c66ec88fSEmmanuel Vadot #define RESET_VID2_PLL			165
104*c66ec88fSEmmanuel Vadot /*					166-191	*/
105*c66ec88fSEmmanuel Vadot /*	RESET6					*/
106*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_GENERAL		192
107*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_IR_REMOTE		193
108*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SMART_CARD	194
109*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SAR_ADC		195
110*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_I2C_MASTER_0	196
111*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_I2C_MASTER_1	197
112*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_I2C_SLAVE		198
113*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_STREAM_INTERFACE	199
114*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SDIO		200
115*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_UART_0		201
116*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_UART_1		202
117*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_ASYNC_0		203
118*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_ASYNC_1		204
119*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SPI_0		205
120*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SPI_1		206
121*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_LED_PWM		207
122*c66ec88fSEmmanuel Vadot /*					208-223	*/
123*c66ec88fSEmmanuel Vadot /*	RESET7					*/
124*c66ec88fSEmmanuel Vadot /*					224-255	*/
125*c66ec88fSEmmanuel Vadot 
126*c66ec88fSEmmanuel Vadot #endif
127