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