bcm2836 SoC support (used in Raspberry Pi 2 model B)
[platform/kernel/u-boot.git] / arch / arm / include / asm / arch-bcm2835 / wdog.h
index f369ab5..beb6a08 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * (C) Copyright 2012 Stephen Warren
+ * (C) Copyright 2012,2015 Stephen Warren
  *
  * SPDX-License-Identifier:    GPL-2.0
  */
@@ -7,7 +7,11 @@
 #ifndef _BCM2835_TIMER_H
 #define _BCM2835_TIMER_H
 
+#ifdef CONFIG_BCM2836
+#define BCM2835_WDOG_PHYSADDR                  0x3f100000
+#else
 #define BCM2835_WDOG_PHYSADDR                  0x20100000
+#endif
 
 struct bcm2835_wdog_regs {
        u32 unknown0[7];