Path: blob/master/arch/blackfin/include/asm/bfin_watchdog.h
15126 views
/*1* bfin_watchdog.h - Blackfin watchdog definitions2*3* Copyright 2006-2010 Analog Devices Inc.4*5* Licensed under the GPL-2 or later.6*/78#ifndef _BFIN_WATCHDOG_H9#define _BFIN_WATCHDOG_H1011/* Bit in SWRST that indicates boot caused by watchdog */12#define SWRST_RESET_WDOG 0x40001314/* Bit in WDOG_CTL that indicates watchdog has expired (WDR0) */15#define WDOG_EXPIRED 0x80001617/* Masks for WDEV field in WDOG_CTL register */18#define ICTL_RESET 0x019#define ICTL_NMI 0x220#define ICTL_GPI 0x421#define ICTL_NONE 0x622#define ICTL_MASK 0x62324/* Masks for WDEN field in WDOG_CTL register */25#define WDEN_MASK 0x0FF026#define WDEN_ENABLE 0x000027#define WDEN_DISABLE 0x0AD02829#endif303132