[U-Boot] [PATCH v2 7/7] ARM: UniPhier: update DDR PHY register map for PH1-Pro5

Masahiro Yamada yamada.masahiro at socionext.com
Wed May 27 07:35:17 CEST 2015


PH1-Pro5 includes a newer version of DDR PHY IP.  Some registers
have been added to the reserved areas.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

Changes in v2: None

 arch/arm/mach-uniphier/include/mach/ddrphy-regs.h | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mach-uniphier/include/mach/ddrphy-regs.h b/arch/arm/mach-uniphier/include/mach/ddrphy-regs.h
index 6b7d600..df7d815 100644
--- a/arch/arm/mach-uniphier/include/mach/ddrphy-regs.h
+++ b/arch/arm/mach-uniphier/include/mach/ddrphy-regs.h
@@ -1,8 +1,9 @@
 /*
  * UniPhier DDR PHY registers
  *
- * Copyright (C) 2014 Panasonic Corporation
- *   Author: Masahiro Yamada <yamada.m at jp.panasonic.com>
+ * Copyright (C) 2014-2015 Panasonic Corporation
+ * Copyright (C) 2015      Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro at socionext.com>
  *
  * SPDX-License-Identifier:	GPL-2.0+
  */
@@ -37,7 +38,10 @@ struct ddrphy {
 	u32 dtar[4];		/* Data Training Address Register */
 	u32 dtdr[2];		/* Data Training Data Register */
 	u32 dtedr[2];		/* Data Training Eye Data Register */
-	u32 rsv0[13];		/* Reserved */
+	u32 pgcr2;		/* PHY General Configuration Register 2 */
+	u32 rsv0[8];		/* Reserved */
+	u32 rdimmgcr[2];	/* RDIMM General Configuration Register */
+	u32 rdimmcr0[2];	/* RDIMM Control Register */
 	u32 dcuar;		/* DCU Address Register */
 	u32 dcudr;		/* DCU Data Register */
 	u32 dcurr;		/* DCU Run Register */
@@ -70,7 +74,8 @@ struct ddrphy {
 		u32 lcdlr[3];	/* Local Calibrated Delay Line Register */
 		u32 mdlr;	/* Master Delay Line Register */
 		u32 gtr;	/* General Timing Register */
-		u32 rsv[3];	/* Reserved */
+		u32 gsr2;	/* General Status Register 2 */
+		u32 rsv[2];	/* Reserved */
 	} dx[9];
 };
 
-- 
1.9.1



More information about the U-Boot mailing list