xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/starfive-jh7100.h (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
1*e67e8565SEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2*e67e8565SEmmanuel Vadot /*
3*e67e8565SEmmanuel Vadot  * Copyright (C) 2021 Ahmad Fatoum, Pengutronix
4*e67e8565SEmmanuel Vadot  */
5*e67e8565SEmmanuel Vadot 
6*e67e8565SEmmanuel Vadot #ifndef __DT_BINDINGS_RESET_STARFIVE_JH7100_H__
7*e67e8565SEmmanuel Vadot #define __DT_BINDINGS_RESET_STARFIVE_JH7100_H__
8*e67e8565SEmmanuel Vadot 
9*e67e8565SEmmanuel Vadot #define JH7100_RSTN_DOM3AHB_BUS		0
10*e67e8565SEmmanuel Vadot #define JH7100_RSTN_DOM7AHB_BUS		1
11*e67e8565SEmmanuel Vadot #define JH7100_RST_U74			2
12*e67e8565SEmmanuel Vadot #define JH7100_RSTN_U74_AXI		3
13*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SGDMA2P_AHB		4
14*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SGDMA2P_AXI		5
15*e67e8565SEmmanuel Vadot #define JH7100_RSTN_DMA2PNOC_AXI	6
16*e67e8565SEmmanuel Vadot #define JH7100_RSTN_DLA_AXI		7
17*e67e8565SEmmanuel Vadot #define JH7100_RSTN_DLANOC_AXI		8
18*e67e8565SEmmanuel Vadot #define JH7100_RSTN_DLA_APB		9
19*e67e8565SEmmanuel Vadot #define JH7100_RST_VP6_DRESET		10
20*e67e8565SEmmanuel Vadot #define JH7100_RST_VP6_BRESET		11
21*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VP6_AXI		12
22*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VDECBRG_MAIN	13
23*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VDEC_AXI		14
24*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VDEC_BCLK		15
25*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VDEC_CCLK		16
26*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VDEC_APB		17
27*e67e8565SEmmanuel Vadot #define JH7100_RSTN_JPEG_AXI		18
28*e67e8565SEmmanuel Vadot #define JH7100_RSTN_JPEG_CCLK		19
29*e67e8565SEmmanuel Vadot #define JH7100_RSTN_JPEG_APB		20
30*e67e8565SEmmanuel Vadot #define JH7100_RSTN_JPCGC300_MAIN	21
31*e67e8565SEmmanuel Vadot #define JH7100_RSTN_GC300_2X		22
32*e67e8565SEmmanuel Vadot #define JH7100_RSTN_GC300_AXI		23
33*e67e8565SEmmanuel Vadot #define JH7100_RSTN_GC300_AHB		24
34*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VENC_AXI		25
35*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VENCBRG_MAIN	26
36*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VENC_BCLK		27
37*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VENC_CCLK		28
38*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VENC_APB		29
39*e67e8565SEmmanuel Vadot #define JH7100_RSTN_DDRPHY_APB		30
40*e67e8565SEmmanuel Vadot #define JH7100_RSTN_NOC_ROB		31
41*e67e8565SEmmanuel Vadot #define JH7100_RSTN_NOC_COG		32
42*e67e8565SEmmanuel Vadot #define JH7100_RSTN_HIFI4_AXI		33
43*e67e8565SEmmanuel Vadot #define JH7100_RSTN_HIFI4NOC_AXI	34
44*e67e8565SEmmanuel Vadot #define JH7100_RST_HIFI4_DRESET		35
45*e67e8565SEmmanuel Vadot #define JH7100_RST_HIFI4_BRESET		36
46*e67e8565SEmmanuel Vadot #define JH7100_RSTN_USB_AXI		37
47*e67e8565SEmmanuel Vadot #define JH7100_RSTN_USBNOC_AXI		38
48*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SGDMA1P_AXI		39
49*e67e8565SEmmanuel Vadot #define JH7100_RSTN_DMA1P_AXI		40
50*e67e8565SEmmanuel Vadot #define JH7100_RSTN_X2C_AXI		41
51*e67e8565SEmmanuel Vadot #define JH7100_RSTN_NNE_AHB		42
52*e67e8565SEmmanuel Vadot #define JH7100_RSTN_NNE_AXI		43
53*e67e8565SEmmanuel Vadot #define JH7100_RSTN_NNENOC_AXI		44
54*e67e8565SEmmanuel Vadot #define JH7100_RSTN_DLASLV_AXI		45
55*e67e8565SEmmanuel Vadot #define JH7100_RSTN_DSPX2C_AXI		46
56*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VIN_SRC		47
57*e67e8565SEmmanuel Vadot #define JH7100_RSTN_ISPSLV_AXI		48
58*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VIN_AXI		49
59*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VINNOC_AXI		50
60*e67e8565SEmmanuel Vadot #define JH7100_RSTN_ISP0_AXI		51
61*e67e8565SEmmanuel Vadot #define JH7100_RSTN_ISP0NOC_AXI		52
62*e67e8565SEmmanuel Vadot #define JH7100_RSTN_ISP1_AXI		53
63*e67e8565SEmmanuel Vadot #define JH7100_RSTN_ISP1NOC_AXI		54
64*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VOUT_SRC		55
65*e67e8565SEmmanuel Vadot #define JH7100_RSTN_DISP_AXI		56
66*e67e8565SEmmanuel Vadot #define JH7100_RSTN_DISPNOC_AXI		57
67*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SDIO0_AHB		58
68*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SDIO1_AHB		59
69*e67e8565SEmmanuel Vadot #define JH7100_RSTN_GMAC_AHB		60
70*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SPI2AHB_AHB		61
71*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SPI2AHB_CORE	62
72*e67e8565SEmmanuel Vadot #define JH7100_RSTN_EZMASTER_AHB	63
73*e67e8565SEmmanuel Vadot #define JH7100_RST_E24			64
74*e67e8565SEmmanuel Vadot #define JH7100_RSTN_QSPI_AHB		65
75*e67e8565SEmmanuel Vadot #define JH7100_RSTN_QSPI_CORE		66
76*e67e8565SEmmanuel Vadot #define JH7100_RSTN_QSPI_APB		67
77*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SEC_AHB		68
78*e67e8565SEmmanuel Vadot #define JH7100_RSTN_AES			69
79*e67e8565SEmmanuel Vadot #define JH7100_RSTN_PKA			70
80*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SHA			71
81*e67e8565SEmmanuel Vadot #define JH7100_RSTN_TRNG_APB		72
82*e67e8565SEmmanuel Vadot #define JH7100_RSTN_OTP_APB		73
83*e67e8565SEmmanuel Vadot #define JH7100_RSTN_UART0_APB		74
84*e67e8565SEmmanuel Vadot #define JH7100_RSTN_UART0_CORE		75
85*e67e8565SEmmanuel Vadot #define JH7100_RSTN_UART1_APB		76
86*e67e8565SEmmanuel Vadot #define JH7100_RSTN_UART1_CORE		77
87*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SPI0_APB		78
88*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SPI0_CORE		79
89*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SPI1_APB		80
90*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SPI1_CORE		81
91*e67e8565SEmmanuel Vadot #define JH7100_RSTN_I2C0_APB		82
92*e67e8565SEmmanuel Vadot #define JH7100_RSTN_I2C0_CORE		83
93*e67e8565SEmmanuel Vadot #define JH7100_RSTN_I2C1_APB		84
94*e67e8565SEmmanuel Vadot #define JH7100_RSTN_I2C1_CORE		85
95*e67e8565SEmmanuel Vadot #define JH7100_RSTN_GPIO_APB		86
96*e67e8565SEmmanuel Vadot #define JH7100_RSTN_UART2_APB		87
97*e67e8565SEmmanuel Vadot #define JH7100_RSTN_UART2_CORE		88
98*e67e8565SEmmanuel Vadot #define JH7100_RSTN_UART3_APB		89
99*e67e8565SEmmanuel Vadot #define JH7100_RSTN_UART3_CORE		90
100*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SPI2_APB		91
101*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SPI2_CORE		92
102*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SPI3_APB		93
103*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SPI3_CORE		94
104*e67e8565SEmmanuel Vadot #define JH7100_RSTN_I2C2_APB		95
105*e67e8565SEmmanuel Vadot #define JH7100_RSTN_I2C2_CORE		96
106*e67e8565SEmmanuel Vadot #define JH7100_RSTN_I2C3_APB		97
107*e67e8565SEmmanuel Vadot #define JH7100_RSTN_I2C3_CORE		98
108*e67e8565SEmmanuel Vadot #define JH7100_RSTN_WDTIMER_APB		99
109*e67e8565SEmmanuel Vadot #define JH7100_RSTN_WDT			100
110*e67e8565SEmmanuel Vadot #define JH7100_RSTN_TIMER0		101
111*e67e8565SEmmanuel Vadot #define JH7100_RSTN_TIMER1		102
112*e67e8565SEmmanuel Vadot #define JH7100_RSTN_TIMER2		103
113*e67e8565SEmmanuel Vadot #define JH7100_RSTN_TIMER3		104
114*e67e8565SEmmanuel Vadot #define JH7100_RSTN_TIMER4		105
115*e67e8565SEmmanuel Vadot #define JH7100_RSTN_TIMER5		106
116*e67e8565SEmmanuel Vadot #define JH7100_RSTN_TIMER6		107
117*e67e8565SEmmanuel Vadot #define JH7100_RSTN_VP6INTC_APB		108
118*e67e8565SEmmanuel Vadot #define JH7100_RSTN_PWM_APB		109
119*e67e8565SEmmanuel Vadot #define JH7100_RSTN_MSI_APB		110
120*e67e8565SEmmanuel Vadot #define JH7100_RSTN_TEMP_APB		111
121*e67e8565SEmmanuel Vadot #define JH7100_RSTN_TEMP_SENSE		112
122*e67e8565SEmmanuel Vadot #define JH7100_RSTN_SYSERR_APB		113
123*e67e8565SEmmanuel Vadot 
124*e67e8565SEmmanuel Vadot #define JH7100_RSTN_END			114
125*e67e8565SEmmanuel Vadot 
126*e67e8565SEmmanuel Vadot #endif /* __DT_BINDINGS_RESET_STARFIVE_JH7100_H__ */
127