stih415-resets.h revision 1.1.1.1
1/*	$NetBSD: stih415-resets.h,v 1.1.1.1 2017/06/15 20:14:23 jmcneill Exp $	*/
2
3/*
4 * This header provides constants for the reset controller
5 * based peripheral powerdown requests on the STMicroelectronics
6 * STiH415 SoC.
7 */
8#ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH415
9#define _DT_BINDINGS_RESET_CONTROLLER_STIH415
10
11#define STIH415_EMISS_POWERDOWN		0
12#define STIH415_NAND_POWERDOWN		1
13#define STIH415_KEYSCAN_POWERDOWN	2
14#define STIH415_USB0_POWERDOWN		3
15#define STIH415_USB1_POWERDOWN		4
16#define STIH415_USB2_POWERDOWN		5
17#define STIH415_SATA0_POWERDOWN		6
18#define STIH415_SATA1_POWERDOWN		7
19#define STIH415_PCIE_POWERDOWN		8
20
21#define STIH415_ETH0_SOFTRESET		0
22#define STIH415_ETH1_SOFTRESET		1
23#define STIH415_IRB_SOFTRESET		2
24#define STIH415_USB0_SOFTRESET		3
25#define STIH415_USB1_SOFTRESET		4
26#define STIH415_USB2_SOFTRESET		5
27#define STIH415_KEYSCAN_SOFTRESET	6
28
29#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH415 */
30