]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-bcm2835/timer.h
bcm2836 SoC support (used in Raspberry Pi 2 model B)
[karo-tx-uboot.git] / arch / arm / include / asm / arch-bcm2835 / timer.h
index 2d7cfe5c56f8f62e6aaa61c73f6296a0e579d350..fc7aec7b7c592f94adebbd58664cdf642f7e7919 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_TIMER_PHYSADDR 0x3f003000
+#else
 #define BCM2835_TIMER_PHYSADDR 0x20003000
+#endif
 
 struct bcm2835_timer_regs {
        u32 cs;