blob: 8cb8a8a613758ce447834eaf971ca4a03576bdcc [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Vikas Manocha33913c52014-11-18 10:42:22 -08002/*
Patrice Chotardcc551162017-10-23 09:53:59 +02003 * Copyright (C) 2014, STMicroelectronics - All Rights Reserved
4 * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
Vikas Manocha33913c52014-11-18 10:42:22 -08005 */
6
7#ifndef _STV0991_WD_RST_H
8#define _STV0991_WD_RST_H
9#include <asm/arch-stv0991/hardware.h>
10
11struct 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
21struct 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