1 /*
2  * Copyright (C) 2014, STMicroelectronics - All Rights Reserved
3  * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #ifndef _STV0991_WD_RST_H
9 #define _STV0991_WD_RST_H
10 #include <asm/arch-stv0991/hardware.h>
11 
12 struct stv0991_wd_ru {
13 	u32 wdru_config;
14 	u32 wdru_ctrl1;
15 	u32 wdru_ctrl2;
16 	u32 wdru_tim;
17 	u32 wdru_count;
18 	u32 wdru_stat;
19 	u32 wdru_wrlock;
20 };
21 
22 struct stv0991_wd_ru *const stv0991_wd_ru_ptr = \
23 		(struct stv0991_wd_ru *)WDRU_BASE_ADDR;
24 
25 /* Watchdog control register */
26 #define WDRU_RST_SYS		0x1
27 
28 #endif
29