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