xref: /linux/include/dt-bindings/reset/starfive,jh7110-crg.h (revision 7fce1e39f01900a294cd2c456c77f3e2512e0634)
1*7fce1e39SEmil Renner Berthing /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2*7fce1e39SEmil Renner Berthing /*
3*7fce1e39SEmil Renner Berthing  * Copyright (C) 2022 Emil Renner Berthing <kernel@esmil.dk>
4*7fce1e39SEmil Renner Berthing  */
5*7fce1e39SEmil Renner Berthing 
6*7fce1e39SEmil Renner Berthing #ifndef __DT_BINDINGS_RESET_STARFIVE_JH7110_CRG_H__
7*7fce1e39SEmil Renner Berthing #define __DT_BINDINGS_RESET_STARFIVE_JH7110_CRG_H__
8*7fce1e39SEmil Renner Berthing 
9*7fce1e39SEmil Renner Berthing /* SYSCRG resets */
10*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_JTAG_APB			0
11*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_SYSCON_APB		1
12*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_IOMUX_APB			2
13*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_BUS			3
14*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_DEBUG			4
15*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CORE0			5
16*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CORE1			6
17*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CORE2			7
18*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CORE3			8
19*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CORE4			9
20*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CORE0_ST			10
21*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CORE1_ST			11
22*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CORE2_ST			12
23*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CORE3_ST			13
24*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CORE4_ST			14
25*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TRACE0			15
26*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TRACE1			16
27*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TRACE2			17
28*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TRACE3			18
29*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TRACE4			19
30*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TRACE_COM			20
31*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_GPU_APB			21
32*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_GPU_DOMA			22
33*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_NOC_BUS_APB		23
34*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_NOC_BUS_AXICFG0_AXI	24
35*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_NOC_BUS_CPU_AXI		25
36*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_NOC_BUS_DISP_AXI		26
37*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_NOC_BUS_GPU_AXI		27
38*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_NOC_BUS_ISP_AXI		28
39*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_NOC_BUS_DDRC		29
40*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_NOC_BUS_STG_AXI		30
41*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_NOC_BUS_VDEC_AXI		31
42*7fce1e39SEmil Renner Berthing 
43*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_NOC_BUS_VENC_AXI		32
44*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_AXI_CFG1_AHB		33
45*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_AXI_CFG1_MAIN		34
46*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_AXI_CFG0_MAIN		35
47*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_AXI_CFG0_MAIN_DIV		36
48*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_AXI_CFG0_HIFI4		37
49*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_DDR_AXI			38
50*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_DDR_OSC			39
51*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_DDR_APB			40
52*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_ISP_TOP			41
53*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_ISP_TOP_AXI		42
54*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_VOUT_TOP_SRC		43
55*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CODAJ12_AXI		44
56*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CODAJ12_CORE		45
57*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CODAJ12_APB		46
58*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_WAVE511_AXI		47
59*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_WAVE511_BPU		48
60*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_WAVE511_VCE		49
61*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_WAVE511_APB		50
62*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_VDEC_JPG			51
63*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_VDEC_MAIN			52
64*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_AXIMEM0_AXI		53
65*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_WAVE420L_AXI		54
66*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_WAVE420L_BPU		55
67*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_WAVE420L_VCE		56
68*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_WAVE420L_APB		57
69*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_AXIMEM1_AXI		58
70*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_AXIMEM2_AXI		59
71*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_INTMEM			60
72*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_QSPI_AHB			61
73*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_QSPI_APB			62
74*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_QSPI_REF			63
75*7fce1e39SEmil Renner Berthing 
76*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_SDIO0_AHB			64
77*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_SDIO1_AHB			65
78*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_GMAC1_AXI			66
79*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_GMAC1_AHB			67
80*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_MAILBOX_APB		68
81*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_SPI0_APB			69
82*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_SPI1_APB			70
83*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_SPI2_APB			71
84*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_SPI3_APB			72
85*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_SPI4_APB			73
86*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_SPI5_APB			74
87*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_SPI6_APB			75
88*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2C0_APB			76
89*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2C1_APB			77
90*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2C2_APB			78
91*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2C3_APB			79
92*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2C4_APB			80
93*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2C5_APB			81
94*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2C6_APB			82
95*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_UART0_APB			83
96*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_UART0_CORE		84
97*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_UART1_APB			85
98*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_UART1_CORE		86
99*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_UART2_APB			87
100*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_UART2_CORE		88
101*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_UART3_APB			89
102*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_UART3_CORE		90
103*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_UART4_APB			91
104*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_UART4_CORE		92
105*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_UART5_APB			93
106*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_UART5_CORE		94
107*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_SPDIF_APB			95
108*7fce1e39SEmil Renner Berthing 
109*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_PWMDAC_APB		96
110*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_PDM_DMIC			97
111*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_PDM_APB			98
112*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2SRX_APB			99
113*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2SRX_BCLK		100
114*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2STX0_APB		101
115*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2STX0_BCLK		102
116*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2STX1_APB		103
117*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_I2STX1_BCLK		104
118*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TDM_AHB			105
119*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TDM_CORE			106
120*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TDM_APB			107
121*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_PWM_APB			108
122*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_WDT_APB			109
123*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_WDT_CORE			110
124*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CAN0_APB			111
125*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CAN0_CORE			112
126*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CAN0_TIMER		113
127*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CAN1_APB			114
128*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CAN1_CORE			115
129*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_CAN1_TIMER		116
130*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TIMER_APB			117
131*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TIMER0			118
132*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TIMER1			119
133*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TIMER2			120
134*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TIMER3			121
135*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_INT_CTRL_APB		122
136*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TEMP_APB			123
137*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_TEMP_CORE			124
138*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_JTAG_CERTIFICATION	125
139*7fce1e39SEmil Renner Berthing 
140*7fce1e39SEmil Renner Berthing #define JH7110_SYSRST_END			126
141*7fce1e39SEmil Renner Berthing 
142*7fce1e39SEmil Renner Berthing #endif /* __DT_BINDINGS_RESET_STARFIVE_JH7110_CRG_H__ */
143