]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/include/asm/arch-rmobile/r8a7790.h
ARM: HYP/non-sec: Fix the ARCH Timer frequency setting for sun7i
[karo-tx-uboot.git] / arch / arm / include / asm / arch-rmobile / r8a7790.h
1 /*
2  * arch/arm/include/asm/arch-rmobile/r8a7790.h
3  *
4  * Copyright (C) 2013,2014 Renesas Electronics Corporation
5  *
6  * SPDX-License-Identifier: GPL-2.0
7 */
8
9 #ifndef __ASM_ARCH_R8A7790_H
10 #define __ASM_ARCH_R8A7790_H
11
12 #include "rcar-base.h"
13
14 /* SH-I2C */
15 #define CONFIG_SYS_I2C_SH_BASE2 0xE6520000
16 #define CONFIG_SYS_I2C_SH_BASE3 0xE60B0000
17
18 #define R8A7790_CUT_ES2X        2
19 #define IS_R8A7790_ES2()        \
20         (rmobile_get_cpu_rev_integer() == R8A7790_CUT_ES2X)
21
22 #endif /* __ASM_ARCH_R8A7790_H */