xref: /linux/scripts/dtc/include-prefixes/riscv/sophgo/cv18xx-reset.h (revision 115e74a29b530d121891238e9551c4bcdf7b04b5)
1*f5742f67SInochi Amaoto /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2*f5742f67SInochi Amaoto /*
3*f5742f67SInochi Amaoto  * Copyright (C) 2025 Inochi Amaoto <inochiama@outlook.com>
4*f5742f67SInochi Amaoto  */
5*f5742f67SInochi Amaoto 
6*f5742f67SInochi Amaoto #ifndef _SOPHGO_CV18XX_RESET
7*f5742f67SInochi Amaoto #define _SOPHGO_CV18XX_RESET
8*f5742f67SInochi Amaoto 
9*f5742f67SInochi Amaoto #define RST_DDR				2
10*f5742f67SInochi Amaoto #define RST_H264C			3
11*f5742f67SInochi Amaoto #define RST_JPEG			4
12*f5742f67SInochi Amaoto #define RST_H265C			5
13*f5742f67SInochi Amaoto #define RST_VIPSYS			6
14*f5742f67SInochi Amaoto #define RST_TDMA			7
15*f5742f67SInochi Amaoto #define RST_TPU				8
16*f5742f67SInochi Amaoto #define RST_TPUSYS			9
17*f5742f67SInochi Amaoto #define RST_USB				11
18*f5742f67SInochi Amaoto #define RST_ETH0			12
19*f5742f67SInochi Amaoto #define RST_ETH1			13
20*f5742f67SInochi Amaoto #define RST_NAND			14
21*f5742f67SInochi Amaoto #define RST_EMMC			15
22*f5742f67SInochi Amaoto #define RST_SD0				16
23*f5742f67SInochi Amaoto #define RST_SDMA			18
24*f5742f67SInochi Amaoto #define RST_I2S0			19
25*f5742f67SInochi Amaoto #define RST_I2S1			20
26*f5742f67SInochi Amaoto #define RST_I2S2			21
27*f5742f67SInochi Amaoto #define RST_I2S3			22
28*f5742f67SInochi Amaoto #define RST_UART0			23
29*f5742f67SInochi Amaoto #define RST_UART1			24
30*f5742f67SInochi Amaoto #define RST_UART2			25
31*f5742f67SInochi Amaoto #define RST_UART3			26
32*f5742f67SInochi Amaoto #define RST_I2C0			27
33*f5742f67SInochi Amaoto #define RST_I2C1			28
34*f5742f67SInochi Amaoto #define RST_I2C2			29
35*f5742f67SInochi Amaoto #define RST_I2C3			30
36*f5742f67SInochi Amaoto #define RST_I2C4			31
37*f5742f67SInochi Amaoto #define RST_PWM0			32
38*f5742f67SInochi Amaoto #define RST_PWM1			33
39*f5742f67SInochi Amaoto #define RST_PWM2			34
40*f5742f67SInochi Amaoto #define RST_PWM3			35
41*f5742f67SInochi Amaoto #define RST_SPI0			40
42*f5742f67SInochi Amaoto #define RST_SPI1			41
43*f5742f67SInochi Amaoto #define RST_SPI2			42
44*f5742f67SInochi Amaoto #define RST_SPI3			43
45*f5742f67SInochi Amaoto #define RST_GPIO0			44
46*f5742f67SInochi Amaoto #define RST_GPIO1			45
47*f5742f67SInochi Amaoto #define RST_GPIO2			46
48*f5742f67SInochi Amaoto #define RST_EFUSE			47
49*f5742f67SInochi Amaoto #define RST_WDT				48
50*f5742f67SInochi Amaoto #define RST_AHB_ROM			49
51*f5742f67SInochi Amaoto #define RST_SPIC			50
52*f5742f67SInochi Amaoto #define RST_TEMPSEN			51
53*f5742f67SInochi Amaoto #define RST_SARADC			52
54*f5742f67SInochi Amaoto #define RST_COMBO_PHY0			58
55*f5742f67SInochi Amaoto #define RST_SPI_NAND			61
56*f5742f67SInochi Amaoto #define RST_SE				62
57*f5742f67SInochi Amaoto #define RST_UART4			74
58*f5742f67SInochi Amaoto #define RST_GPIO3			75
59*f5742f67SInochi Amaoto #define RST_SYSTEM			76
60*f5742f67SInochi Amaoto #define RST_TIMER			77
61*f5742f67SInochi Amaoto #define RST_TIMER0			78
62*f5742f67SInochi Amaoto #define RST_TIMER1			79
63*f5742f67SInochi Amaoto #define RST_TIMER2			80
64*f5742f67SInochi Amaoto #define RST_TIMER3			81
65*f5742f67SInochi Amaoto #define RST_TIMER4			82
66*f5742f67SInochi Amaoto #define RST_TIMER5			83
67*f5742f67SInochi Amaoto #define RST_TIMER6			84
68*f5742f67SInochi Amaoto #define RST_TIMER7			85
69*f5742f67SInochi Amaoto #define RST_WGN0			86
70*f5742f67SInochi Amaoto #define RST_WGN1			87
71*f5742f67SInochi Amaoto #define RST_WGN2			88
72*f5742f67SInochi Amaoto #define RST_KEYSCAN			89
73*f5742f67SInochi Amaoto #define RST_AUDDAC			91
74*f5742f67SInochi Amaoto #define RST_AUDDAC_APB			92
75*f5742f67SInochi Amaoto #define RST_AUDADC			93
76*f5742f67SInochi Amaoto #define RST_VCSYS			95
77*f5742f67SInochi Amaoto #define RST_ETHPHY			96
78*f5742f67SInochi Amaoto #define RST_ETHPHY_APB			97
79*f5742f67SInochi Amaoto #define RST_AUDSRC			98
80*f5742f67SInochi Amaoto #define RST_VIP_CAM0			99
81*f5742f67SInochi Amaoto #define RST_WDT1			100
82*f5742f67SInochi Amaoto #define RST_WDT2			101
83*f5742f67SInochi Amaoto #define RST_AUTOCLEAR_CPUCORE0		256
84*f5742f67SInochi Amaoto #define RST_AUTOCLEAR_CPUCORE1		257
85*f5742f67SInochi Amaoto #define RST_AUTOCLEAR_CPUCORE2		258
86*f5742f67SInochi Amaoto #define RST_AUTOCLEAR_CPUCORE3		259
87*f5742f67SInochi Amaoto #define RST_AUTOCLEAR_CPUSYS0		260
88*f5742f67SInochi Amaoto #define RST_AUTOCLEAR_CPUSYS1		261
89*f5742f67SInochi Amaoto #define RST_AUTOCLEAR_CPUSYS2		262
90*f5742f67SInochi Amaoto #define RST_CPUCORE0			288
91*f5742f67SInochi Amaoto #define RST_CPUCORE1			289
92*f5742f67SInochi Amaoto #define RST_CPUCORE2			290
93*f5742f67SInochi Amaoto #define RST_CPUCORE3			291
94*f5742f67SInochi Amaoto #define RST_CPUSYS0			292
95*f5742f67SInochi Amaoto #define RST_CPUSYS1			293
96*f5742f67SInochi Amaoto #define RST_CPUSYS2			294
97*f5742f67SInochi Amaoto 
98*f5742f67SInochi Amaoto #endif /* _SOPHGO_CV18XX_RESET */
99