xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/aspeed,ast2700-scu.h (revision 5f62a964e9f8abc6a05d8338273fadd154f0a206)
1*5f62a964SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*5f62a964SEmmanuel Vadot /*
3*5f62a964SEmmanuel Vadot  * Device Tree binding constants for AST2700 reset controller.
4*5f62a964SEmmanuel Vadot  *
5*5f62a964SEmmanuel Vadot  * Copyright (c) 2024 Aspeed Technology Inc.
6*5f62a964SEmmanuel Vadot  */
7*5f62a964SEmmanuel Vadot 
8*5f62a964SEmmanuel Vadot #ifndef _MACH_ASPEED_AST2700_RESET_H_
9*5f62a964SEmmanuel Vadot #define _MACH_ASPEED_AST2700_RESET_H_
10*5f62a964SEmmanuel Vadot 
11*5f62a964SEmmanuel Vadot /* SOC0 */
12*5f62a964SEmmanuel Vadot #define SCU0_RESET_SDRAM	0
13*5f62a964SEmmanuel Vadot #define SCU0_RESET_DDRPHY	1
14*5f62a964SEmmanuel Vadot #define SCU0_RESET_RSA		2
15*5f62a964SEmmanuel Vadot #define SCU0_RESET_SHA3		3
16*5f62a964SEmmanuel Vadot #define SCU0_RESET_HACE		4
17*5f62a964SEmmanuel Vadot #define SCU0_RESET_SOC		5
18*5f62a964SEmmanuel Vadot #define SCU0_RESET_VIDEO	6
19*5f62a964SEmmanuel Vadot #define SCU0_RESET_2D		7
20*5f62a964SEmmanuel Vadot #define SCU0_RESET_PCIS		8
21*5f62a964SEmmanuel Vadot #define SCU0_RESET_RVAS0	9
22*5f62a964SEmmanuel Vadot #define SCU0_RESET_RVAS1	10
23*5f62a964SEmmanuel Vadot #define SCU0_RESET_SM3		11
24*5f62a964SEmmanuel Vadot #define SCU0_RESET_SM4		12
25*5f62a964SEmmanuel Vadot #define SCU0_RESET_CRT0		13
26*5f62a964SEmmanuel Vadot #define SCU0_RESET_ECC		14
27*5f62a964SEmmanuel Vadot #define SCU0_RESET_DP_PCI	15
28*5f62a964SEmmanuel Vadot #define SCU0_RESET_UFS		16
29*5f62a964SEmmanuel Vadot #define SCU0_RESET_EMMC		17
30*5f62a964SEmmanuel Vadot #define SCU0_RESET_PCIE1RST	18
31*5f62a964SEmmanuel Vadot #define SCU0_RESET_PCIE1RSTOE	19
32*5f62a964SEmmanuel Vadot #define SCU0_RESET_PCIE0RST	20
33*5f62a964SEmmanuel Vadot #define SCU0_RESET_PCIE0RSTOE	21
34*5f62a964SEmmanuel Vadot #define SCU0_RESET_JTAG		22
35*5f62a964SEmmanuel Vadot #define SCU0_RESET_MCTP0	23
36*5f62a964SEmmanuel Vadot #define SCU0_RESET_MCTP1	24
37*5f62a964SEmmanuel Vadot #define SCU0_RESET_XDMA0	25
38*5f62a964SEmmanuel Vadot #define SCU0_RESET_XDMA1	26
39*5f62a964SEmmanuel Vadot #define SCU0_RESET_H2X1		27
40*5f62a964SEmmanuel Vadot #define SCU0_RESET_DP		28
41*5f62a964SEmmanuel Vadot #define SCU0_RESET_DP_MCU	29
42*5f62a964SEmmanuel Vadot #define SCU0_RESET_SSP		30
43*5f62a964SEmmanuel Vadot #define SCU0_RESET_H2X0		31
44*5f62a964SEmmanuel Vadot #define SCU0_RESET_PORTA_VHUB	32
45*5f62a964SEmmanuel Vadot #define SCU0_RESET_PORTA_PHY3	33
46*5f62a964SEmmanuel Vadot #define SCU0_RESET_PORTA_XHCI	34
47*5f62a964SEmmanuel Vadot #define SCU0_RESET_PORTB_VHUB	35
48*5f62a964SEmmanuel Vadot #define SCU0_RESET_PORTB_PHY3	36
49*5f62a964SEmmanuel Vadot #define SCU0_RESET_PORTB_XHCI	37
50*5f62a964SEmmanuel Vadot #define SCU0_RESET_PORTA_VHUB_EHCI	38
51*5f62a964SEmmanuel Vadot #define SCU0_RESET_PORTB_VHUB_EHCI	39
52*5f62a964SEmmanuel Vadot #define SCU0_RESET_UHCI		40
53*5f62a964SEmmanuel Vadot #define SCU0_RESET_TSP		41
54*5f62a964SEmmanuel Vadot #define SCU0_RESET_E2M0		42
55*5f62a964SEmmanuel Vadot #define SCU0_RESET_E2M1		43
56*5f62a964SEmmanuel Vadot #define SCU0_RESET_VLINK	44
57*5f62a964SEmmanuel Vadot 
58*5f62a964SEmmanuel Vadot /* SOC1 */
59*5f62a964SEmmanuel Vadot #define SCU1_RESET_LPC0		0
60*5f62a964SEmmanuel Vadot #define SCU1_RESET_LPC1		1
61*5f62a964SEmmanuel Vadot #define SCU1_RESET_MII		2
62*5f62a964SEmmanuel Vadot #define SCU1_RESET_PECI		3
63*5f62a964SEmmanuel Vadot #define SCU1_RESET_PWM		4
64*5f62a964SEmmanuel Vadot #define SCU1_RESET_MAC0		5
65*5f62a964SEmmanuel Vadot #define SCU1_RESET_MAC1		6
66*5f62a964SEmmanuel Vadot #define SCU1_RESET_MAC2		7
67*5f62a964SEmmanuel Vadot #define SCU1_RESET_ADC		8
68*5f62a964SEmmanuel Vadot #define SCU1_RESET_SD		9
69*5f62a964SEmmanuel Vadot #define SCU1_RESET_ESPI0	10
70*5f62a964SEmmanuel Vadot #define SCU1_RESET_ESPI1	11
71*5f62a964SEmmanuel Vadot #define SCU1_RESET_JTAG1	12
72*5f62a964SEmmanuel Vadot #define SCU1_RESET_SPI0		13
73*5f62a964SEmmanuel Vadot #define SCU1_RESET_SPI1		14
74*5f62a964SEmmanuel Vadot #define SCU1_RESET_SPI2		15
75*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C0		16
76*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C1		17
77*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C2		18
78*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C3		19
79*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C4		20
80*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C5		21
81*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C6		22
82*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C7		23
83*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C8		24
84*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C9		25
85*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C10	26
86*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C11	27
87*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C12	28
88*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C13	29
89*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C14	30
90*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3C15	31
91*5f62a964SEmmanuel Vadot #define SCU1_RESET_MCU0		32
92*5f62a964SEmmanuel Vadot #define SCU1_RESET_MCU1		33
93*5f62a964SEmmanuel Vadot #define SCU1_RESET_H2A_SPI1	34
94*5f62a964SEmmanuel Vadot #define SCU1_RESET_H2A_SPI2	35
95*5f62a964SEmmanuel Vadot #define SCU1_RESET_UART0	36
96*5f62a964SEmmanuel Vadot #define SCU1_RESET_UART1	37
97*5f62a964SEmmanuel Vadot #define SCU1_RESET_UART2	38
98*5f62a964SEmmanuel Vadot #define SCU1_RESET_UART3	39
99*5f62a964SEmmanuel Vadot #define SCU1_RESET_I2C_FILTER	40
100*5f62a964SEmmanuel Vadot #define SCU1_RESET_CALIPTRA	41
101*5f62a964SEmmanuel Vadot #define SCU1_RESET_XDMA		42
102*5f62a964SEmmanuel Vadot #define SCU1_RESET_FSI		43
103*5f62a964SEmmanuel Vadot #define SCU1_RESET_CAN		44
104*5f62a964SEmmanuel Vadot #define SCU1_RESET_MCTP		45
105*5f62a964SEmmanuel Vadot #define SCU1_RESET_I2C		46
106*5f62a964SEmmanuel Vadot #define SCU1_RESET_UART6	47
107*5f62a964SEmmanuel Vadot #define SCU1_RESET_UART7	48
108*5f62a964SEmmanuel Vadot #define SCU1_RESET_UART8	49
109*5f62a964SEmmanuel Vadot #define SCU1_RESET_UART9	50
110*5f62a964SEmmanuel Vadot #define SCU1_RESET_LTPI0	51
111*5f62a964SEmmanuel Vadot #define SCU1_RESET_VGAL		52
112*5f62a964SEmmanuel Vadot #define SCU1_RESET_LTPI1	53
113*5f62a964SEmmanuel Vadot #define SCU1_RESET_ACE		54
114*5f62a964SEmmanuel Vadot #define SCU1_RESET_E2M		55
115*5f62a964SEmmanuel Vadot #define SCU1_RESET_UHCI		56
116*5f62a964SEmmanuel Vadot #define SCU1_RESET_PORTC_USB2UART	57
117*5f62a964SEmmanuel Vadot #define SCU1_RESET_PORTC_VHUB_EHCI	58
118*5f62a964SEmmanuel Vadot #define SCU1_RESET_PORTD_USB2UART	59
119*5f62a964SEmmanuel Vadot #define SCU1_RESET_PORTD_VHUB_EHCI	60
120*5f62a964SEmmanuel Vadot #define SCU1_RESET_H2X		61
121*5f62a964SEmmanuel Vadot #define SCU1_RESET_I3CDMA	62
122*5f62a964SEmmanuel Vadot #define SCU1_RESET_PCIE2RST	63
123*5f62a964SEmmanuel Vadot 
124*5f62a964SEmmanuel Vadot #endif  /* _MACH_ASPEED_AST2700_RESET_H_ */
125