Vikas Manocha | 33913c5 | 2014-11-18 10:42:22 -0800 | [diff] [blame] | 1 | /* |
Patrice Chotard | cc55116 | 2017-10-23 09:53:59 +0200 | [diff] [blame] | 2 | * Copyright (C) 2014, STMicroelectronics - All Rights Reserved |
| 3 | * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics. |
Vikas Manocha | 33913c5 | 2014-11-18 10:42:22 -0800 | [diff] [blame] | 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 | |
| 12 | struct 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 | |
| 22 | struct 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 |