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