From 04c8013de73313ed34702379e31b0f26ab77dd95 Mon Sep 17 00:00:00 2001 From: jmcneill Date: Sun, 28 Dec 2014 01:50:39 +0000 Subject: [PATCH] add DDR offsets --- sys/arch/arm/rockchip/rockchip_reg.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/arch/arm/rockchip/rockchip_reg.h b/sys/arch/arm/rockchip/rockchip_reg.h index 5d98cbb4c92c..812ba2590398 100644 --- a/sys/arch/arm/rockchip/rockchip_reg.h +++ b/sys/arch/arm/rockchip/rockchip_reg.h @@ -1,4 +1,4 @@ -/* $NetBSD: rockchip_reg.h,v 1.2 2014/12/26 19:44:48 jmcneill Exp $ */ +/* $NetBSD: rockchip_reg.h,v 1.3 2014/12/28 01:50:39 jmcneill Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -77,10 +77,14 @@ #define ROCKCHIP_UART3_SIZE 0x400 #define ROCKCHIP_GPIO0_OFFSET 0x0000A000 #define ROCKCHIP_GPIO0_SIZE 0x100 +#define ROCKCHIP_DDR_PCTL_OFFSET 0x00020000 +#define ROCKCHIP_DDR_PCTL_SIZE 0x4000 #define ROCKCHIP_GPIO1_OFFSET 0x0003C000 #define ROCKCHIP_GPIO1_SIZE 0x100 #define ROCKCHIP_GPIO2_OFFSET 0x0003E000 #define ROCKCHIP_GPIO2_SIZE 0x100 +#define ROCKCHIP_DDR_PUBL_OFFSET 0x00040000 +#define ROCKCHIP_DDR_PUBL_SIZE 0x4000 #define ROCKCHIP_GPIO3_OFFSET 0x00080000 #define ROCKCHIP_GPIO3_SIZE 0x100