xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/amlogic,meson-axg-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  * Copyright (c) 2017 Amlogic, inc.
7*c66ec88fSEmmanuel Vadot  * Author: Yixun Lan <yixun.lan@amlogic.com>
8*c66ec88fSEmmanuel Vadot  *
9*c66ec88fSEmmanuel Vadot  */
10*c66ec88fSEmmanuel Vadot 
11*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_AMLOGIC_MESON_AXG_RESET_H
12*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_AMLOGIC_MESON_AXG_RESET_H
13*c66ec88fSEmmanuel Vadot 
14*c66ec88fSEmmanuel Vadot /*	RESET0					*/
15*c66ec88fSEmmanuel Vadot #define RESET_HIU			0
16*c66ec88fSEmmanuel Vadot #define RESET_PCIE_A			1
17*c66ec88fSEmmanuel Vadot #define RESET_PCIE_B			2
18*c66ec88fSEmmanuel Vadot #define RESET_DDR_TOP			3
19*c66ec88fSEmmanuel Vadot /*					4	*/
20*c66ec88fSEmmanuel Vadot #define RESET_VIU			5
21*c66ec88fSEmmanuel Vadot #define RESET_PCIE_PHY			6
22*c66ec88fSEmmanuel Vadot #define RESET_PCIE_APB			7
23*c66ec88fSEmmanuel Vadot /*					8	*/
24*c66ec88fSEmmanuel Vadot /*					9	*/
25*c66ec88fSEmmanuel Vadot #define RESET_VENC			10
26*c66ec88fSEmmanuel Vadot #define RESET_ASSIST			11
27*c66ec88fSEmmanuel Vadot /*					12	*/
28*c66ec88fSEmmanuel Vadot #define RESET_VCBUS			13
29*c66ec88fSEmmanuel Vadot /*					14	*/
30*c66ec88fSEmmanuel Vadot /*					15	*/
31*c66ec88fSEmmanuel Vadot #define RESET_GIC			16
32*c66ec88fSEmmanuel Vadot #define RESET_CAPB3_DECODE		17
33*c66ec88fSEmmanuel Vadot /*					18-21	*/
34*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_CAPB3		22
35*c66ec88fSEmmanuel Vadot #define RESET_CBUS_CAPB3		23
36*c66ec88fSEmmanuel Vadot #define RESET_AHB_CNTL			24
37*c66ec88fSEmmanuel Vadot #define RESET_AHB_DATA			25
38*c66ec88fSEmmanuel Vadot #define RESET_VCBUS_CLK81		26
39*c66ec88fSEmmanuel Vadot #define RESET_MMC			27
40*c66ec88fSEmmanuel Vadot /*					28-31	*/
41*c66ec88fSEmmanuel Vadot /*	RESET1					*/
42*c66ec88fSEmmanuel Vadot /*					32	*/
43*c66ec88fSEmmanuel Vadot /*					33	*/
44*c66ec88fSEmmanuel Vadot #define RESET_USB_OTG			34
45*c66ec88fSEmmanuel Vadot #define RESET_DDR			35
46*c66ec88fSEmmanuel Vadot #define RESET_AO_RESET			36
47*c66ec88fSEmmanuel Vadot /*					37	*/
48*c66ec88fSEmmanuel Vadot #define RESET_AHB_SRAM			38
49*c66ec88fSEmmanuel Vadot /*					39	*/
50*c66ec88fSEmmanuel Vadot /*					40	*/
51*c66ec88fSEmmanuel Vadot #define RESET_DMA			41
52*c66ec88fSEmmanuel Vadot #define RESET_ISA			42
53*c66ec88fSEmmanuel Vadot #define RESET_ETHERNET			43
54*c66ec88fSEmmanuel Vadot /*					44	*/
55*c66ec88fSEmmanuel Vadot #define RESET_SD_EMMC_B			45
56*c66ec88fSEmmanuel Vadot #define RESET_SD_EMMC_C			46
57*c66ec88fSEmmanuel Vadot #define RESET_ROM_BOOT			47
58*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_0			48
59*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_1			49
60*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_2			50
61*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_3			51
62*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_CORE_0		52
63*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_CORE_1		53
64*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_CORE_2		54
65*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_CORE_3		55
66*c66ec88fSEmmanuel Vadot #define RESET_SYS_PLL_DIV		56
67*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_AXI		57
68*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_L2		58
69*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_P			59
70*c66ec88fSEmmanuel Vadot #define RESET_SYS_CPU_MBIST		60
71*c66ec88fSEmmanuel Vadot /*					61-63	*/
72*c66ec88fSEmmanuel Vadot /*	RESET2					*/
73*c66ec88fSEmmanuel Vadot /*					64	*/
74*c66ec88fSEmmanuel Vadot /*					65	*/
75*c66ec88fSEmmanuel Vadot #define RESET_AUDIO			66
76*c66ec88fSEmmanuel Vadot /*					67	*/
77*c66ec88fSEmmanuel Vadot #define RESET_MIPI_HOST			68
78*c66ec88fSEmmanuel Vadot #define RESET_AUDIO_LOCKER		69
79*c66ec88fSEmmanuel Vadot #define RESET_GE2D			70
80*c66ec88fSEmmanuel Vadot /*					71-76	*/
81*c66ec88fSEmmanuel Vadot #define RESET_AO_CPU_RESET		77
82*c66ec88fSEmmanuel Vadot /*					78-95	*/
83*c66ec88fSEmmanuel Vadot /*	RESET3					*/
84*c66ec88fSEmmanuel Vadot #define RESET_RING_OSCILLATOR		96
85*c66ec88fSEmmanuel Vadot /*					97-127	*/
86*c66ec88fSEmmanuel Vadot /*	RESET4					*/
87*c66ec88fSEmmanuel Vadot /*					128	*/
88*c66ec88fSEmmanuel Vadot /*					129	*/
89*c66ec88fSEmmanuel Vadot #define RESET_MIPI_PHY			130
90*c66ec88fSEmmanuel Vadot /*					131-140	*/
91*c66ec88fSEmmanuel Vadot #define RESET_VENCL			141
92*c66ec88fSEmmanuel Vadot #define RESET_I2C_MASTER_2		142
93*c66ec88fSEmmanuel Vadot #define RESET_I2C_MASTER_1		143
94*c66ec88fSEmmanuel Vadot /*					144-159	*/
95*c66ec88fSEmmanuel Vadot /*	RESET5					*/
96*c66ec88fSEmmanuel Vadot /*					160-191	*/
97*c66ec88fSEmmanuel Vadot /*	RESET6					*/
98*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_GENERAL		192
99*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SPICC		193
100*c66ec88fSEmmanuel Vadot /*					194	*/
101*c66ec88fSEmmanuel Vadot /*					195	*/
102*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_I2C_MASTER_0	196
103*c66ec88fSEmmanuel Vadot /*					197-200	*/
104*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_UART_0		201
105*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_UART_1		202
106*c66ec88fSEmmanuel Vadot /*					203-204	*/
107*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_SPI_0		205
108*c66ec88fSEmmanuel Vadot #define RESET_PERIPHS_I2C_MASTER_3	206
109*c66ec88fSEmmanuel Vadot /*					207-223	*/
110*c66ec88fSEmmanuel Vadot /*	RESET7					*/
111*c66ec88fSEmmanuel Vadot #define RESET_USB_DDR_0			224
112*c66ec88fSEmmanuel Vadot #define RESET_USB_DDR_1			225
113*c66ec88fSEmmanuel Vadot #define RESET_USB_DDR_2			226
114*c66ec88fSEmmanuel Vadot #define RESET_USB_DDR_3			227
115*c66ec88fSEmmanuel Vadot /*					228	*/
116*c66ec88fSEmmanuel Vadot #define RESET_DEVICE_MMC_ARB		229
117*c66ec88fSEmmanuel Vadot /*					230	*/
118*c66ec88fSEmmanuel Vadot #define RESET_VID_LOCK			231
119*c66ec88fSEmmanuel Vadot #define RESET_A9_DMC_PIPEL		232
120*c66ec88fSEmmanuel Vadot #define RESET_DMC_VPU_PIPEL		233
121*c66ec88fSEmmanuel Vadot /*					234-255	*/
122*c66ec88fSEmmanuel Vadot 
123*c66ec88fSEmmanuel Vadot #endif
124