Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Vikas Manocha | 33913c5 | 2014-11-18 10:42:22 -0800 | [diff] [blame] | 2 | /* |
Patrice Chotard | cc55116 | 2017-10-23 09:53:59 +0200 | [diff] [blame] | 3 | * Copyright (C) 2014, STMicroelectronics - All Rights Reserved |
| 4 | * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics. |
Vikas Manocha | 33913c5 | 2014-11-18 10:42:22 -0800 | [diff] [blame] | 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 |