blob: 2e89ebcffbd14581cf7d1fdcd64cf77d3e2c010b [file] [log] [blame]
Vikas Manocha33913c52014-11-18 10:42:22 -08001/*
Patrice Chotardcc551162017-10-23 09:53:59 +02002 * Copyright (C) 2014, STMicroelectronics - All Rights Reserved
3 * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
Vikas Manocha33913c52014-11-18 10:42:22 -08004 *
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
12struct 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
22struct 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