blob: 778812ee8436248cde12f8225338f1d6a7421d43 [file] [log] [blame]
Nobuhiro Iwamatsu032d59c2014-11-05 06:50:06 +09001/*
2 * arch/arm/include/asm/arch-rmobile/r8a7793.h
3 *
4 * Copyright (C) 2014 Renesas Electronics Corporation
5 *
6 * SPDX-License-Identifier: GPL-2.0
7 */
8
9#ifndef __ASM_ARCH_R8A7793_H
10#define __ASM_ARCH_R8A7793_H
11
12#include "rcar-base.h"
13
14/*
15 * R8A7793 I/O Addresses
16 */
Nobuhiro Iwamatsudc2c4f02014-11-06 16:03:47 +090017
18/* SH-I2C */
19#define CONFIG_SYS_I2C_SH_BASE2 0xE60B0000
20
Nobuhiro Iwamatsu032d59c2014-11-05 06:50:06 +090021#define DBSC3_1_QOS_R0_BASE 0xE67A1000
22#define DBSC3_1_QOS_R1_BASE 0xE67A1100
23#define DBSC3_1_QOS_R2_BASE 0xE67A1200
24#define DBSC3_1_QOS_R3_BASE 0xE67A1300
25#define DBSC3_1_QOS_R4_BASE 0xE67A1400
26#define DBSC3_1_QOS_R5_BASE 0xE67A1500
27#define DBSC3_1_QOS_R6_BASE 0xE67A1600
28#define DBSC3_1_QOS_R7_BASE 0xE67A1700
29#define DBSC3_1_QOS_R8_BASE 0xE67A1800
30#define DBSC3_1_QOS_R9_BASE 0xE67A1900
31#define DBSC3_1_QOS_R10_BASE 0xE67A1A00
32#define DBSC3_1_QOS_R11_BASE 0xE67A1B00
33#define DBSC3_1_QOS_R12_BASE 0xE67A1C00
34#define DBSC3_1_QOS_R13_BASE 0xE67A1D00
35#define DBSC3_1_QOS_R14_BASE 0xE67A1E00
36#define DBSC3_1_QOS_R15_BASE 0xE67A1F00
37#define DBSC3_1_QOS_W0_BASE 0xE67A2000
38#define DBSC3_1_QOS_W1_BASE 0xE67A2100
39#define DBSC3_1_QOS_W2_BASE 0xE67A2200
40#define DBSC3_1_QOS_W3_BASE 0xE67A2300
41#define DBSC3_1_QOS_W4_BASE 0xE67A2400
42#define DBSC3_1_QOS_W5_BASE 0xE67A2500
43#define DBSC3_1_QOS_W6_BASE 0xE67A2600
44#define DBSC3_1_QOS_W7_BASE 0xE67A2700
45#define DBSC3_1_QOS_W8_BASE 0xE67A2800
46#define DBSC3_1_QOS_W9_BASE 0xE67A2900
47#define DBSC3_1_QOS_W10_BASE 0xE67A2A00
48#define DBSC3_1_QOS_W11_BASE 0xE67A2B00
49#define DBSC3_1_QOS_W12_BASE 0xE67A2C00
50#define DBSC3_1_QOS_W13_BASE 0xE67A2D00
51#define DBSC3_1_QOS_W14_BASE 0xE67A2E00
52#define DBSC3_1_QOS_W15_BASE 0xE67A2F00
53
54#define DBSC3_1_DBADJ2 0xE67A00C8
55
56/*
57 * R8A7793 I/O Product Information
58 */
59#define R8A7793_CUT_ES2X 2
60#define IS_R8A7793_ES2() \
61 (rmobile_get_cpu_rev_integer() == R8A7793_CUT_ES2X)
62
63#endif /* __ASM_ARCH_R8A7793_H */