xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/stih416-resets.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * This header provides constants for the reset controller
4*c66ec88fSEmmanuel Vadot  * based peripheral powerdown requests on the STMicroelectronics
5*c66ec88fSEmmanuel Vadot  * STiH416 SoC.
6*c66ec88fSEmmanuel Vadot  */
7*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH416
8*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_RESET_CONTROLLER_STIH416
9*c66ec88fSEmmanuel Vadot 
10*c66ec88fSEmmanuel Vadot #define STIH416_EMISS_POWERDOWN		0
11*c66ec88fSEmmanuel Vadot #define STIH416_NAND_POWERDOWN		1
12*c66ec88fSEmmanuel Vadot #define STIH416_KEYSCAN_POWERDOWN	2
13*c66ec88fSEmmanuel Vadot #define STIH416_USB0_POWERDOWN		3
14*c66ec88fSEmmanuel Vadot #define STIH416_USB1_POWERDOWN		4
15*c66ec88fSEmmanuel Vadot #define STIH416_USB2_POWERDOWN		5
16*c66ec88fSEmmanuel Vadot #define STIH416_USB3_POWERDOWN		6
17*c66ec88fSEmmanuel Vadot #define STIH416_SATA0_POWERDOWN		7
18*c66ec88fSEmmanuel Vadot #define STIH416_SATA1_POWERDOWN		8
19*c66ec88fSEmmanuel Vadot #define STIH416_PCIE0_POWERDOWN		9
20*c66ec88fSEmmanuel Vadot #define STIH416_PCIE1_POWERDOWN		10
21*c66ec88fSEmmanuel Vadot 
22*c66ec88fSEmmanuel Vadot #define STIH416_ETH0_SOFTRESET		0
23*c66ec88fSEmmanuel Vadot #define STIH416_ETH1_SOFTRESET		1
24*c66ec88fSEmmanuel Vadot #define STIH416_IRB_SOFTRESET		2
25*c66ec88fSEmmanuel Vadot #define STIH416_USB0_SOFTRESET		3
26*c66ec88fSEmmanuel Vadot #define STIH416_USB1_SOFTRESET		4
27*c66ec88fSEmmanuel Vadot #define STIH416_USB2_SOFTRESET		5
28*c66ec88fSEmmanuel Vadot #define STIH416_USB3_SOFTRESET		6
29*c66ec88fSEmmanuel Vadot #define STIH416_SATA0_SOFTRESET		7
30*c66ec88fSEmmanuel Vadot #define STIH416_SATA1_SOFTRESET		8
31*c66ec88fSEmmanuel Vadot #define STIH416_PCIE0_SOFTRESET		9
32*c66ec88fSEmmanuel Vadot #define STIH416_PCIE1_SOFTRESET		10
33*c66ec88fSEmmanuel Vadot #define STIH416_AUD_DAC_SOFTRESET	11
34*c66ec88fSEmmanuel Vadot #define STIH416_HDTVOUT_SOFTRESET	12
35*c66ec88fSEmmanuel Vadot #define STIH416_VTAC_M_RX_SOFTRESET	13
36*c66ec88fSEmmanuel Vadot #define STIH416_VTAC_A_RX_SOFTRESET	14
37*c66ec88fSEmmanuel Vadot #define STIH416_SYNC_HD_SOFTRESET	15
38*c66ec88fSEmmanuel Vadot #define STIH416_SYNC_SD_SOFTRESET	16
39*c66ec88fSEmmanuel Vadot #define STIH416_BLITTER_SOFTRESET	17
40*c66ec88fSEmmanuel Vadot #define STIH416_GPU_SOFTRESET		18
41*c66ec88fSEmmanuel Vadot #define STIH416_VTAC_M_TX_SOFTRESET	19
42*c66ec88fSEmmanuel Vadot #define STIH416_VTAC_A_TX_SOFTRESET	20
43*c66ec88fSEmmanuel Vadot #define STIH416_VTG_AUX_SOFTRESET	21
44*c66ec88fSEmmanuel Vadot #define STIH416_JPEG_DEC_SOFTRESET	22
45*c66ec88fSEmmanuel Vadot #define STIH416_HVA_SOFTRESET		23
46*c66ec88fSEmmanuel Vadot #define STIH416_COMPO_M_SOFTRESET	24
47*c66ec88fSEmmanuel Vadot #define STIH416_COMPO_A_SOFTRESET	25
48*c66ec88fSEmmanuel Vadot #define STIH416_VP8_DEC_SOFTRESET	26
49*c66ec88fSEmmanuel Vadot #define STIH416_VTG_MAIN_SOFTRESET	27
50*c66ec88fSEmmanuel Vadot #define STIH416_KEYSCAN_SOFTRESET	28
51*c66ec88fSEmmanuel Vadot 
52*c66ec88fSEmmanuel Vadot #endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH416 */
53