]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/include/asm/arch-bcm2835/wdog.h
bcm2835/rpi: add SPDX license tags for some files
[karo-tx-uboot.git] / arch / arm / include / asm / arch-bcm2835 / wdog.h
1 /*
2  * (C) Copyright 2012 Stephen Warren
3  *
4  * SPDX-License-Identifier:     GPL-2.0
5  */
6
7 #ifndef _BCM2835_TIMER_H
8 #define _BCM2835_TIMER_H
9
10 #define BCM2835_WDOG_PHYSADDR                   0x20100000
11
12 struct bcm2835_wdog_regs {
13         u32 unknown0[7];
14         u32 rstc;
15         u32 unknown1;
16         u32 wdog;
17 };
18
19 #define BCM2835_WDOG_PASSWORD                   0x5a000000
20
21 #define BCM2835_WDOG_RSTC_WRCFG_MASK            0x00000030
22 #define BCM2835_WDOG_RSTC_WRCFG_FULL_RESET      0x00000020
23
24 #define BCM2835_WDOG_WDOG_TIMEOUT_MASK          0x0000ffff
25
26 #endif