Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/samsung Add extra GPIO chunk for 5410
details: https://anonhg.NetBSD.org/src/rev/3c013a8aad0e
branches: trunk
changeset: 332497:3c013a8aad0e
user: reinoud <reinoud%NetBSD.org@localhost>
date: Wed Sep 24 20:35:43 2014 +0000
description:
Add extra GPIO chunk for 5410
diffstat:
sys/arch/arm/samsung/exynos5_reg.h | 3 ++-
sys/arch/arm/samsung/exynos_gpio.c | 15 +++++++++++++--
2 files changed, 15 insertions(+), 3 deletions(-)
diffs (53 lines):
diff -r 624f9f98e935 -r 3c013a8aad0e sys/arch/arm/samsung/exynos5_reg.h
--- a/sys/arch/arm/samsung/exynos5_reg.h Wed Sep 24 18:43:21 2014 +0000
+++ b/sys/arch/arm/samsung/exynos5_reg.h Wed Sep 24 20:35:43 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exynos5_reg.h,v 1.16 2014/09/19 14:32:20 reinoud Exp $ */
+/* $NetBSD: exynos5_reg.h,v 1.17 2014/09/24 20:35:43 reinoud Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -260,6 +260,7 @@
#define EXYNOS5_SYSMMU_GSCALER1_OFFSET 0x03E90000
#define EXYNOS5_SYSMMU_GSCALER2_OFFSET 0x03EA0000
#define EXYNOS5_SYSMMU_GSCALER3_OFFSET 0x03EB0000
+#define EXYNOS5_GPIO_USB_OFFSET 0x04000000
#define EXYNOS5_AS_A_GSCALER_OFFSET 0x04220000
#define EXYNOS5_DISP1_MIX_OFFSET 0x04400000
#define EXYNOS5_DISP1_ENH_OFFSET 0x04410000
diff -r 624f9f98e935 -r 3c013a8aad0e sys/arch/arm/samsung/exynos_gpio.c
--- a/sys/arch/arm/samsung/exynos_gpio.c Wed Sep 24 18:43:21 2014 +0000
+++ b/sys/arch/arm/samsung/exynos_gpio.c Wed Sep 24 20:35:43 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exynos_gpio.c,v 1.10 2014/09/09 21:21:22 reinoud Exp $ */
+/* $NetBSD: exynos_gpio.c,v 1.11 2014/09/24 20:35:43 reinoud Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
#include "gpio.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exynos_gpio.c,v 1.10 2014/09/09 21:21:22 reinoud Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exynos_gpio.c,v 1.11 2014/09/24 20:35:43 reinoud Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -292,6 +292,17 @@
GPIO_GRP(5, RIGHT, 0x0100, GPH1, 8),
/* EXTINT skipped */
+ GPIO_GRP(5, USB, 0x0000, GPJ0, 8), // unknown num bits
+ GPIO_GRP(5, USB, 0x0020, GPJ1, 8), // unknown num bits
+ GPIO_GRP(5, USB, 0x0040, GPJ2, 8), // unknown num bits
+ GPIO_GRP(5, USB, 0x0060, GPJ3, 8), // unknown num bits
+ GPIO_GRP(5, USB, 0x0080, GPJ4, 8), // unknown num bits
+ GPIO_GRP(5, USB, 0x00A0, GPK0, 8), // unknown num bits
+ GPIO_GRP(5, USB, 0x00C0, GPK1, 8), // unknown num bits
+ GPIO_GRP(5, USB, 0x00E0, GPK2, 8), // unknown num bits
+ GPIO_GRP(5, USB, 0x0100, GPK3, 8), // unknown num bits
+ /* unknown bits skipped */
+
GPIO_GRP(5, C2C, 0x0000, GPV0, 8),
GPIO_GRP(5, C2C, 0x0020, GPV1, 8),
GPIO_GRP(5, C2C, 0x0040, ETC5, 2),
Home |
Main Index |
Thread Index |
Old Index