1 /* SPDX-License-Identifier: GPL-2.0+ */
2 
3 #ifndef _ABI_MACH_ASPEED_AST2400_RESET_H_
4 #define _ABI_MACH_ASPEED_AST2400_RESET_H_
5 
6 /*
7  * The values are intentionally layed out as flags in
8  * WDT reset parameter.
9  */
10 #define ASPEED_RESET_CRT1		(37)
11 #define ASPEED_RESET_RESERVED36	(36)
12 #define ASPEED_RESET_RESERVED35	(35)
13 #define ASPEED_RESET_RESERVED34	(34)
14 #define ASPEED_RESET_RESERVED33	(33)
15 #define ASPEED_RESET_RESERVED32	(32)
16 
17 #define ASPEED_RESET_RESERVED31	(31)
18 #define ASPEED_RESET_RESERVED30	(30)
19 #define ASPEED_RESET_RESERVED29	(29)
20 #define ASPEED_RESET_RESERVED28	(28)
21 #define ASPEED_RESET_RESERVED27	(27)
22 #define ASPEED_RESET_RESERVED26	(26)
23 #define ASPEED_RESET_XDMA		(25)
24 #define ASPEED_RESET_MCTP		(24)
25 #define ASPEED_RESET_ADC		(23)
26 #define ASPEED_RESET_JTAG_MASTER	(22)
27 #define ASPEED_RESET_RESERVED21		(21)
28 #define ASPEED_RESET_RESERVED20	(20)
29 #define ASPEED_RESET_RESERVED19	(19)
30 #define ASPEED_RESET_MIC		(18)
31 #define ASPEED_RESET_RESERVED17	(17)
32 #define ASEPPD_RESET_SDIO		(16)
33 #define ASPEED_RESET_UHCI		(15)
34 #define ASPEED_RESET_EHCI_P1	(14)
35 #define ASPEED_RESET_CRT		(13)
36 #define ASPEED_RESET_MAC2		(12)
37 #define ASPEED_RESET_MAC1		(11)
38 #define ASPEED_RESET_PECI		(10)
39 #define ASPEED_RESET_PWM		(9)
40 #define ASPEED_RESET_PCI_VGA	(8)
41 #define ASPEED_RESET_2D			(7)
42 #define ASPEED_RESET_VIDEO		(6)
43 #define ASPEED_RESET_LPC_ESPI	(5)
44 #define ASPEED_RESET_HACE		(4)
45 #define ASPEED_RESET_EHCI_P2	(3)
46 #define ASPEED_RESET_I2C		(2)
47 #define ASPEED_RESET_AHB		(1)
48 #define ASPEED_RESET_SDRAM		(0)
49 
50 #endif  /* _ABI_MACH_ASPEED_AST2400_RESET_H_ */
51