xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/amlogic,meson-a1-reset.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*c66ec88fSEmmanuel Vadot  *
3*c66ec88fSEmmanuel Vadot  * Copyright (c) 2019 Amlogic, Inc. All rights reserved.
4*c66ec88fSEmmanuel Vadot  * Author: Xingyu Chen <xingyu.chen@amlogic.com>
5*c66ec88fSEmmanuel Vadot  *
6*c66ec88fSEmmanuel Vadot  */
7*c66ec88fSEmmanuel Vadot 
8*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_AMLOGIC_MESON_A1_RESET_H
9*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_AMLOGIC_MESON_A1_RESET_H
10*c66ec88fSEmmanuel Vadot 
11*c66ec88fSEmmanuel Vadot /*	RESET0					*/
12*c66ec88fSEmmanuel Vadot /*					0	*/
13*c66ec88fSEmmanuel Vadot #define RESET_AM2AXI_VAD		1
14*c66ec88fSEmmanuel Vadot /*					2-3	*/
15*c66ec88fSEmmanuel Vadot #define RESET_PSRAM			4
16*c66ec88fSEmmanuel Vadot #define RESET_PAD_CTRL			5
17*c66ec88fSEmmanuel Vadot /*					6	*/
18*c66ec88fSEmmanuel Vadot #define RESET_TEMP_SENSOR		7
19*c66ec88fSEmmanuel Vadot #define RESET_AM2AXI_DEV		8
20*c66ec88fSEmmanuel Vadot /*					9	*/
21*c66ec88fSEmmanuel Vadot #define RESET_SPICC_A			10
22*c66ec88fSEmmanuel Vadot #define RESET_MSR_CLK			11
23*c66ec88fSEmmanuel Vadot #define RESET_AUDIO			12
24*c66ec88fSEmmanuel Vadot #define RESET_ANALOG_CTRL		13
25*c66ec88fSEmmanuel Vadot #define RESET_SAR_ADC			14
26*c66ec88fSEmmanuel Vadot #define RESET_AUDIO_VAD			15
27*c66ec88fSEmmanuel Vadot #define RESET_CEC			16
28*c66ec88fSEmmanuel Vadot #define RESET_PWM_EF			17
29*c66ec88fSEmmanuel Vadot #define RESET_PWM_CD			18
30*c66ec88fSEmmanuel Vadot #define RESET_PWM_AB			19
31*c66ec88fSEmmanuel Vadot /*					20	*/
32*c66ec88fSEmmanuel Vadot #define RESET_IR_CTRL			21
33*c66ec88fSEmmanuel Vadot #define RESET_I2C_S_A			22
34*c66ec88fSEmmanuel Vadot /*					23	*/
35*c66ec88fSEmmanuel Vadot #define RESET_I2C_M_D			24
36*c66ec88fSEmmanuel Vadot #define RESET_I2C_M_C			25
37*c66ec88fSEmmanuel Vadot #define RESET_I2C_M_B			26
38*c66ec88fSEmmanuel Vadot #define RESET_I2C_M_A			27
39*c66ec88fSEmmanuel Vadot #define RESET_I2C_PROD_AHB		28
40*c66ec88fSEmmanuel Vadot #define RESET_I2C_PROD			29
41*c66ec88fSEmmanuel Vadot /*					30-31	*/
42*c66ec88fSEmmanuel Vadot 
43*c66ec88fSEmmanuel Vadot /*	RESET1					*/
44*c66ec88fSEmmanuel Vadot #define RESET_ACODEC			32
45*c66ec88fSEmmanuel Vadot #define RESET_DMA			33
46*c66ec88fSEmmanuel Vadot #define RESET_SD_EMMC_A			34
47*c66ec88fSEmmanuel Vadot /*					35	*/
48*c66ec88fSEmmanuel Vadot #define RESET_USBCTRL			36
49*c66ec88fSEmmanuel Vadot /*					37	*/
50*c66ec88fSEmmanuel Vadot #define RESET_USBPHY			38
51*c66ec88fSEmmanuel Vadot /*					39-41	*/
52*c66ec88fSEmmanuel Vadot #define RESET_RSA			42
53*c66ec88fSEmmanuel Vadot #define RESET_DMC			43
54*c66ec88fSEmmanuel Vadot /*					44	*/
55*c66ec88fSEmmanuel Vadot #define RESET_IRQ_CTRL			45
56*c66ec88fSEmmanuel Vadot /*					46	*/
57*c66ec88fSEmmanuel Vadot #define RESET_NIC_VAD			47
58*c66ec88fSEmmanuel Vadot #define RESET_NIC_AXI			48
59*c66ec88fSEmmanuel Vadot #define RESET_RAMA			49
60*c66ec88fSEmmanuel Vadot #define RESET_RAMB			50
61*c66ec88fSEmmanuel Vadot /*					51-52	*/
62*c66ec88fSEmmanuel Vadot #define RESET_ROM			53
63*c66ec88fSEmmanuel Vadot #define RESET_SPIFC			54
64*c66ec88fSEmmanuel Vadot #define RESET_GIC			55
65*c66ec88fSEmmanuel Vadot #define RESET_UART_C			56
66*c66ec88fSEmmanuel Vadot #define RESET_UART_B			57
67*c66ec88fSEmmanuel Vadot #define RESET_UART_A			58
68*c66ec88fSEmmanuel Vadot #define RESET_OSC_RING			59
69*c66ec88fSEmmanuel Vadot /*					60-63	*/
70*c66ec88fSEmmanuel Vadot 
71*c66ec88fSEmmanuel Vadot /*	RESET2					*/
72*c66ec88fSEmmanuel Vadot /*					64-95	*/
73*c66ec88fSEmmanuel Vadot 
74*c66ec88fSEmmanuel Vadot #endif
75