xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/amlogic,c3-reset.h (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1*8d13bc63SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
2*8d13bc63SEmmanuel Vadot /*
3*8d13bc63SEmmanuel Vadot  * Copyright (c) 2023 Amlogic, Inc. All rights reserved.
4*8d13bc63SEmmanuel Vadot  */
5*8d13bc63SEmmanuel Vadot 
6*8d13bc63SEmmanuel Vadot #ifndef _DT_BINDINGS_AMLOGIC_C3_RESET_H
7*8d13bc63SEmmanuel Vadot #define _DT_BINDINGS_AMLOGIC_C3_RESET_H
8*8d13bc63SEmmanuel Vadot 
9*8d13bc63SEmmanuel Vadot /* RESET0 */
10*8d13bc63SEmmanuel Vadot /*						0-3 */
11*8d13bc63SEmmanuel Vadot #define RESET_USBCTRL				4
12*8d13bc63SEmmanuel Vadot /*						5-7 */
13*8d13bc63SEmmanuel Vadot #define RESET_USBPHY20				8
14*8d13bc63SEmmanuel Vadot /*						9 */
15*8d13bc63SEmmanuel Vadot #define RESET_USB2DRD				10
16*8d13bc63SEmmanuel Vadot #define RESET_MIPI_DSI_HOST			11
17*8d13bc63SEmmanuel Vadot #define RESET_MIPI_DSI_PHY			12
18*8d13bc63SEmmanuel Vadot /*						13-20 */
19*8d13bc63SEmmanuel Vadot #define RESET_GE2D				21
20*8d13bc63SEmmanuel Vadot #define RESET_DWAP				22
21*8d13bc63SEmmanuel Vadot /*						23-31 */
22*8d13bc63SEmmanuel Vadot 
23*8d13bc63SEmmanuel Vadot /* RESET1 */
24*8d13bc63SEmmanuel Vadot #define RESET_AUDIO				32
25*8d13bc63SEmmanuel Vadot /*						33-34 */
26*8d13bc63SEmmanuel Vadot #define RESET_DDRAPB				35
27*8d13bc63SEmmanuel Vadot #define RESET_DDR				36
28*8d13bc63SEmmanuel Vadot #define RESET_DOS_CAPB3				37
29*8d13bc63SEmmanuel Vadot #define RESET_DOS				38
30*8d13bc63SEmmanuel Vadot /*						39-46 */
31*8d13bc63SEmmanuel Vadot #define RESET_NNA				47
32*8d13bc63SEmmanuel Vadot #define RESET_ETHERNET				48
33*8d13bc63SEmmanuel Vadot #define RESET_ISP				49
34*8d13bc63SEmmanuel Vadot #define RESET_VC9000E_APB			50
35*8d13bc63SEmmanuel Vadot #define RESET_VC9000E_A				51
36*8d13bc63SEmmanuel Vadot /*						52 */
37*8d13bc63SEmmanuel Vadot #define RESET_VC9000E_CORE			53
38*8d13bc63SEmmanuel Vadot /*						54-63 */
39*8d13bc63SEmmanuel Vadot 
40*8d13bc63SEmmanuel Vadot /* RESET2 */
41*8d13bc63SEmmanuel Vadot #define RESET_ABUS_ARB				64
42*8d13bc63SEmmanuel Vadot #define RESET_IRCTRL				65
43*8d13bc63SEmmanuel Vadot /*						66 */
44*8d13bc63SEmmanuel Vadot #define RESET_TEMP_PII				67
45*8d13bc63SEmmanuel Vadot /*						68-72 */
46*8d13bc63SEmmanuel Vadot #define RESET_SPICC_0				73
47*8d13bc63SEmmanuel Vadot #define RESET_SPICC_1				74
48*8d13bc63SEmmanuel Vadot #define RESET_RSA				75
49*8d13bc63SEmmanuel Vadot 
50*8d13bc63SEmmanuel Vadot /*						76-79 */
51*8d13bc63SEmmanuel Vadot #define RESET_MSR_CLK				80
52*8d13bc63SEmmanuel Vadot #define RESET_SPIFC				81
53*8d13bc63SEmmanuel Vadot #define RESET_SAR_ADC				82
54*8d13bc63SEmmanuel Vadot /*						83-87 */
55*8d13bc63SEmmanuel Vadot #define RESET_ACODEC				88
56*8d13bc63SEmmanuel Vadot /*						89-90 */
57*8d13bc63SEmmanuel Vadot #define RESET_WATCHDOG				91
58*8d13bc63SEmmanuel Vadot /*						92-95 */
59*8d13bc63SEmmanuel Vadot 
60*8d13bc63SEmmanuel Vadot /* RESET3 */
61*8d13bc63SEmmanuel Vadot #define RESET_ISP_NIC_GPV			96
62*8d13bc63SEmmanuel Vadot #define RESET_ISP_NIC_MAIN			97
63*8d13bc63SEmmanuel Vadot #define RESET_ISP_NIC_VCLK			98
64*8d13bc63SEmmanuel Vadot #define RESET_ISP_NIC_VOUT			99
65*8d13bc63SEmmanuel Vadot #define RESET_ISP_NIC_ALL			100
66*8d13bc63SEmmanuel Vadot #define RESET_VOUT				101
67*8d13bc63SEmmanuel Vadot #define RESET_VOUT_VENC				102
68*8d13bc63SEmmanuel Vadot /*						103 */
69*8d13bc63SEmmanuel Vadot #define RESET_CVE_NIC_GPV			104
70*8d13bc63SEmmanuel Vadot #define RESET_CVE_NIC_MAIN			105
71*8d13bc63SEmmanuel Vadot #define RESET_CVE_NIC_GE2D			106
72*8d13bc63SEmmanuel Vadot #define RESET_CVE_NIC_DW			106
73*8d13bc63SEmmanuel Vadot #define RESET_CVE_NIC_CVE			108
74*8d13bc63SEmmanuel Vadot #define RESET_CVE_NIC_ALL			109
75*8d13bc63SEmmanuel Vadot #define RESET_CVE				110
76*8d13bc63SEmmanuel Vadot /*						112-127 */
77*8d13bc63SEmmanuel Vadot 
78*8d13bc63SEmmanuel Vadot /* RESET4 */
79*8d13bc63SEmmanuel Vadot #define RESET_RTC				128
80*8d13bc63SEmmanuel Vadot #define RESET_PWM_AB				129
81*8d13bc63SEmmanuel Vadot #define RESET_PWM_CD				130
82*8d13bc63SEmmanuel Vadot #define RESET_PWM_EF				131
83*8d13bc63SEmmanuel Vadot #define RESET_PWM_GH				132
84*8d13bc63SEmmanuel Vadot #define RESET_PWM_IJ				133
85*8d13bc63SEmmanuel Vadot #define RESET_PWM_KL				134
86*8d13bc63SEmmanuel Vadot #define RESET_PWM_MN				135
87*8d13bc63SEmmanuel Vadot /*						136-137 */
88*8d13bc63SEmmanuel Vadot #define RESET_UART_A				138
89*8d13bc63SEmmanuel Vadot #define RESET_UART_B				139
90*8d13bc63SEmmanuel Vadot #define RESET_UART_C				140
91*8d13bc63SEmmanuel Vadot #define RESET_UART_D				141
92*8d13bc63SEmmanuel Vadot #define RESET_UART_E				142
93*8d13bc63SEmmanuel Vadot #define RESET_UART_F				143
94*8d13bc63SEmmanuel Vadot #define RESET_I2C_S_A				144
95*8d13bc63SEmmanuel Vadot #define RESET_I2C_M_A				145
96*8d13bc63SEmmanuel Vadot #define RESET_I2C_M_B				146
97*8d13bc63SEmmanuel Vadot #define RESET_I2C_M_C				147
98*8d13bc63SEmmanuel Vadot #define RESET_I2C_M_D				148
99*8d13bc63SEmmanuel Vadot /*						149-151 */
100*8d13bc63SEmmanuel Vadot #define RESET_SD_EMMC_A				152
101*8d13bc63SEmmanuel Vadot #define RESET_SD_EMMC_B				153
102*8d13bc63SEmmanuel Vadot #define RESET_SD_EMMC_C				154
103*8d13bc63SEmmanuel Vadot 
104*8d13bc63SEmmanuel Vadot /* RESET5 */
105*8d13bc63SEmmanuel Vadot /*						160-172 */
106*8d13bc63SEmmanuel Vadot #define RESET_BRG_NIC_NNA			173
107*8d13bc63SEmmanuel Vadot #define RESET_BRG_MUX_NIC_MAIN			174
108*8d13bc63SEmmanuel Vadot #define RESET_BRG_AO_NIC_ALL			175
109*8d13bc63SEmmanuel Vadot /*						176-183 */
110*8d13bc63SEmmanuel Vadot #define RESET_BRG_NIC_VAPB			184
111*8d13bc63SEmmanuel Vadot #define RESET_BRG_NIC_SDIO_B			185
112*8d13bc63SEmmanuel Vadot #define RESET_BRG_NIC_SDIO_A			186
113*8d13bc63SEmmanuel Vadot #define RESET_BRG_NIC_EMMC			187
114*8d13bc63SEmmanuel Vadot #define RESET_BRG_NIC_DSU			188
115*8d13bc63SEmmanuel Vadot #define RESET_BRG_NIC_SYSCLK			189
116*8d13bc63SEmmanuel Vadot #define RESET_BRG_NIC_MAIN			190
117*8d13bc63SEmmanuel Vadot #define RESET_BRG_NIC_ALL			191
118*8d13bc63SEmmanuel Vadot 
119*8d13bc63SEmmanuel Vadot #endif
120