Nobuhiro Iwamatsu | bd0550f | 2013-11-21 17:07:45 +0900 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/include/asm/arch-rmobile/r8a7791.h |
Nobuhiro Iwamatsu | bd0550f | 2013-11-21 17:07:45 +0900 | [diff] [blame] | 3 | * |
Nobuhiro Iwamatsu | 5723e24 | 2014-03-27 16:11:17 +0900 | [diff] [blame] | 4 | * Copyright (C) 2013,2014 Renesas Electronics Corporation |
Nobuhiro Iwamatsu | bd0550f | 2013-11-21 17:07:45 +0900 | [diff] [blame] | 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0 |
Nobuhiro Iwamatsu | 5723e24 | 2014-03-27 16:11:17 +0900 | [diff] [blame] | 7 | */ |
Nobuhiro Iwamatsu | bd0550f | 2013-11-21 17:07:45 +0900 | [diff] [blame] | 8 | |
| 9 | #ifndef __ASM_ARCH_R8A7791_H |
| 10 | #define __ASM_ARCH_R8A7791_H |
| 11 | |
Nobuhiro Iwamatsu | 5723e24 | 2014-03-27 16:11:17 +0900 | [diff] [blame] | 12 | #include "rcar-base.h" |
Nobuhiro Iwamatsu | bd0550f | 2013-11-21 17:07:45 +0900 | [diff] [blame] | 13 | /* |
Nobuhiro Iwamatsu | 5723e24 | 2014-03-27 16:11:17 +0900 | [diff] [blame] | 14 | * R-Car (R8A7791) I/O Addresses |
Nobuhiro Iwamatsu | bd0550f | 2013-11-21 17:07:45 +0900 | [diff] [blame] | 15 | */ |
Nobuhiro Iwamatsu | 1251e49 | 2013-11-21 17:07:46 +0900 | [diff] [blame] | 16 | #define DBSC3_1_QOS_R0_BASE 0xE67A1000 |
| 17 | #define DBSC3_1_QOS_R1_BASE 0xE67A1100 |
| 18 | #define DBSC3_1_QOS_R2_BASE 0xE67A1200 |
| 19 | #define DBSC3_1_QOS_R3_BASE 0xE67A1300 |
| 20 | #define DBSC3_1_QOS_R4_BASE 0xE67A1400 |
| 21 | #define DBSC3_1_QOS_R5_BASE 0xE67A1500 |
| 22 | #define DBSC3_1_QOS_R6_BASE 0xE67A1600 |
| 23 | #define DBSC3_1_QOS_R7_BASE 0xE67A1700 |
| 24 | #define DBSC3_1_QOS_R8_BASE 0xE67A1800 |
| 25 | #define DBSC3_1_QOS_R9_BASE 0xE67A1900 |
| 26 | #define DBSC3_1_QOS_R10_BASE 0xE67A1A00 |
| 27 | #define DBSC3_1_QOS_R11_BASE 0xE67A1B00 |
| 28 | #define DBSC3_1_QOS_R12_BASE 0xE67A1C00 |
| 29 | #define DBSC3_1_QOS_R13_BASE 0xE67A1D00 |
| 30 | #define DBSC3_1_QOS_R14_BASE 0xE67A1E00 |
| 31 | #define DBSC3_1_QOS_R15_BASE 0xE67A1F00 |
| 32 | #define DBSC3_1_QOS_W0_BASE 0xE67A2000 |
| 33 | #define DBSC3_1_QOS_W1_BASE 0xE67A2100 |
| 34 | #define DBSC3_1_QOS_W2_BASE 0xE67A2200 |
| 35 | #define DBSC3_1_QOS_W3_BASE 0xE67A2300 |
| 36 | #define DBSC3_1_QOS_W4_BASE 0xE67A2400 |
| 37 | #define DBSC3_1_QOS_W5_BASE 0xE67A2500 |
| 38 | #define DBSC3_1_QOS_W6_BASE 0xE67A2600 |
| 39 | #define DBSC3_1_QOS_W7_BASE 0xE67A2700 |
| 40 | #define DBSC3_1_QOS_W8_BASE 0xE67A2800 |
| 41 | #define DBSC3_1_QOS_W9_BASE 0xE67A2900 |
| 42 | #define DBSC3_1_QOS_W10_BASE 0xE67A2A00 |
| 43 | #define DBSC3_1_QOS_W11_BASE 0xE67A2B00 |
| 44 | #define DBSC3_1_QOS_W12_BASE 0xE67A2C00 |
| 45 | #define DBSC3_1_QOS_W13_BASE 0xE67A2D00 |
| 46 | #define DBSC3_1_QOS_W14_BASE 0xE67A2E00 |
| 47 | #define DBSC3_1_QOS_W15_BASE 0xE67A2F00 |
Nobuhiro Iwamatsu | dbfd115 | 2014-05-19 12:23:35 +0900 | [diff] [blame] | 48 | #define DBSC3_1_DBADJ2 0xE67A00C8 |
Nobuhiro Iwamatsu | 1251e49 | 2013-11-21 17:07:46 +0900 | [diff] [blame] | 49 | |
Nobuhiro Iwamatsu | fb3af51 | 2014-03-28 13:43:40 +0900 | [diff] [blame] | 50 | #define R8A7791_CUT_ES2X 2 |
| 51 | #define IS_R8A7791_ES2() \ |
| 52 | (rmobile_get_cpu_rev_integer() == R8A7791_CUT_ES2X) |
| 53 | |
Nobuhiro Iwamatsu | bd0550f | 2013-11-21 17:07:45 +0900 | [diff] [blame] | 54 | #endif /* __ASM_ARCH_R8A7791_H */ |