]> git.ipfire.org Git - thirdparty/u-boot.git/blob - arch/arm/include/asm/arch-stv0991/stv0991_wdru.h
SPDX: Convert all of our single license tags to Linux Kernel style
[thirdparty/u-boot.git] / arch / arm / include / asm / arch-stv0991 / stv0991_wdru.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Copyright (C) 2014, STMicroelectronics - All Rights Reserved
4 * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
5 */
6
7 #ifndef _STV0991_WD_RST_H
8 #define _STV0991_WD_RST_H
9 #include <asm/arch-stv0991/hardware.h>
10
11 struct stv0991_wd_ru {
12 u32 wdru_config;
13 u32 wdru_ctrl1;
14 u32 wdru_ctrl2;
15 u32 wdru_tim;
16 u32 wdru_count;
17 u32 wdru_stat;
18 u32 wdru_wrlock;
19 };
20
21 struct stv0991_wd_ru *const stv0991_wd_ru_ptr = \
22 (struct stv0991_wd_ru *)WDRU_BASE_ADDR;
23
24 /* Watchdog control register */
25 #define WDRU_RST_SYS 0x1
26
27 #endif