summaryrefslogtreecommitdiff
path: root/include/configs/rcar-gen2-common.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-08-24 23:36:18 +0300
committerMarek Vasut <marex@denx.de>2018-09-15 04:19:07 +0300
commite83da8e8809ccd3872270f4247fe76c1f75c1a92 (patch)
treef604e9895621dc6f437b37557254a2dc7ce21c08 /include/configs/rcar-gen2-common.h
parent0e286c529f395947dbb96da93081883aca40a57f (diff)
downloadu-boot-e83da8e8809ccd3872270f4247fe76c1f75c1a92.tar.xz
ARM: rmobile: Repair TMU clock on Gen2
The Gen2 TMU is fed with fixed 32.5 MHz signal from CP . This is then divided by 4 in TMU. Fix the timer clock setting in Gen2. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Diffstat (limited to 'include/configs/rcar-gen2-common.h')
-rw-r--r--include/configs/rcar-gen2-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h
index d606da8b0e..01583f8cc2 100644
--- a/include/configs/rcar-gen2-common.h
+++ b/include/configs/rcar-gen2-common.h
@@ -60,6 +60,6 @@
#define CONFIG_TMU_TIMER
#define CONFIG_SYS_TIMER_COUNTS_DOWN
#define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0xc) /* TCNT0 */
-#define CONFIG_SYS_TIMER_RATE (CONFIG_SYS_CLK_FREQ / 8)
+#define CONFIG_SYS_TIMER_RATE (32500000 / 4) /* CP/4 */
#endif /* __RCAR_GEN2_COMMON_H */