blob: 7e555a237a6563a05594dd3736d583a8701802a6 [file] [log] [blame]
Vikas Manocha33913c52014-11-18 10:42:22 -08001/*
2 * (C) Copyright 2014
3 * Vikas Manocha, ST Micoelectronics, vikas.manocha@st.com
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
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