xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/stih415-resets.h (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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  * STiH415 SoC.
6  */
7 #ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH415
8 #define _DT_BINDINGS_RESET_CONTROLLER_STIH415
9 
10 #define STIH415_EMISS_POWERDOWN		0
11 #define STIH415_NAND_POWERDOWN		1
12 #define STIH415_KEYSCAN_POWERDOWN	2
13 #define STIH415_USB0_POWERDOWN		3
14 #define STIH415_USB1_POWERDOWN		4
15 #define STIH415_USB2_POWERDOWN		5
16 #define STIH415_SATA0_POWERDOWN		6
17 #define STIH415_SATA1_POWERDOWN		7
18 #define STIH415_PCIE_POWERDOWN		8
19 
20 #define STIH415_ETH0_SOFTRESET		0
21 #define STIH415_ETH1_SOFTRESET		1
22 #define STIH415_IRB_SOFTRESET		2
23 #define STIH415_USB0_SOFTRESET		3
24 #define STIH415_USB1_SOFTRESET		4
25 #define STIH415_USB2_SOFTRESET		5
26 #define STIH415_KEYSCAN_SOFTRESET	6
27 
28 #endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH415 */
29