summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-rmobile/r8a7793.h
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2014-12-02 16:52:22 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-12-05 11:05:34 +0900
commitc72dd8eab1d02082ce63d47ab67449a78a1d46f7 (patch)
tree48ea6adc43d795e3f3c52284a1e2c59b3c483236 /arch/arm/include/asm/arch-rmobile/r8a7793.h
parent11d902c6a6769dc5db41de534310377efe5179a9 (diff)
downloadu-boot-imx-c72dd8eab1d02082ce63d47ab67449a78a1d46f7.zip
u-boot-imx-c72dd8eab1d02082ce63d47ab67449a78a1d46f7.tar.gz
u-boot-imx-c72dd8eab1d02082ce63d47ab67449a78a1d46f7.tar.bz2
arm: rmobile: rcar: Add infomation of bits for module control register
This adds infomation of bits for module control register. This is used to control modules on ARM R-Car SoCs. Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/arm/include/asm/arch-rmobile/r8a7793.h')
-rw-r--r--arch/arm/include/asm/arch-rmobile/r8a7793.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rmobile/r8a7793.h b/arch/arm/include/asm/arch-rmobile/r8a7793.h
index 778812e..1abdeb7 100644
--- a/arch/arm/include/asm/arch-rmobile/r8a7793.h
+++ b/arch/arm/include/asm/arch-rmobile/r8a7793.h
@@ -56,6 +56,20 @@
/*
* R8A7793 I/O Product Information
*/
+
+/* Module stop control/status register bits */
+#define MSTP0_BITS 0x00640801
+#define MSTP1_BITS 0x9B6C9B5A
+#define MSTP2_BITS 0x100D21FC
+#define MSTP3_BITS 0xF08CD810
+#define MSTP4_BITS 0x800001C4
+#define MSTP5_BITS 0x44C00046
+#define MSTP7_BITS 0x05BFE618
+#define MSTP8_BITS 0x40C0FE85
+#define MSTP9_BITS 0xFF979FFF
+#define MSTP10_BITS 0xFFFEFFE0
+#define MSTP11_BITS 0x000001C0
+
#define R8A7793_CUT_ES2X 2
#define IS_R8A7793_ES2() \
(rmobile_get_cpu_rev_integer() == R8A7793_CUT_ES2X)