Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
masakazu.mochizuki.wd@hitachi.com | 9d0e937 | 2016-04-12 17:11:41 +0900 | [diff] [blame] | 2 | /* |
| 3 | * arch/arm/include/asm/arch-rmobile/r8a7792.h |
| 4 | * |
| 5 | * Copyright (C) 2016 Renesas Electronics Corporation |
Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 6 | */ |
masakazu.mochizuki.wd@hitachi.com | 9d0e937 | 2016-04-12 17:11:41 +0900 | [diff] [blame] | 7 | |
| 8 | #ifndef __ASM_ARCH_R8A7792_H |
| 9 | #define __ASM_ARCH_R8A7792_H |
| 10 | |
| 11 | #include "rcar-base.h" |
| 12 | |
| 13 | /* SH-I2C */ |
| 14 | #define CONFIG_SYS_I2C_SH_BASE2 0xE6520000 |
| 15 | #define CONFIG_SYS_I2C_SH_BASE3 0xE60B0000 |
| 16 | |
| 17 | /* Module stop control/status register bits */ |
| 18 | #define MSTP0_BITS 0x00400801 |
| 19 | #define MSTP1_BITS 0x9B6F987F |
| 20 | #define MSTP2_BITS 0x108CE100 |
| 21 | #define MSTP3_BITS 0x20004010 |
| 22 | #define MSTP4_BITS 0x80000184 |
| 23 | #define MSTP5_BITS 0x44C00004 |
| 24 | #define MSTP7_BITS 0x01BF0000 |
| 25 | #define MSTP8_BITS 0x1FE01FB0 |
| 26 | #define MSTP9_BITS 0xFE2BFFB2 |
| 27 | #define MSTP10_BITS 0x00001820 |
| 28 | #define MSTP11_BITS 0x00000008 |
| 29 | |
| 30 | /* SDHI */ |
| 31 | #define CONFIG_SYS_SH_SDHI_NR_CHANNEL 1 |
| 32 | |
| 33 | #endif /* __ASM_ARCH_R8A7792_H */ |