Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/omap Add more GPIO registers.
details: https://anonhg.NetBSD.org/src/rev/294934228838
branches: trunk
changeset: 816526:294934228838
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Mon Jul 11 14:51:11 2016 +0000
description:
Add more GPIO registers.
diffstat:
sys/arch/arm/omap/omap2_reg.h | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 45595d71414c -r 294934228838 sys/arch/arm/omap/omap2_reg.h
--- a/sys/arch/arm/omap/omap2_reg.h Mon Jul 11 14:46:33 2016 +0000
+++ b/sys/arch/arm/omap/omap2_reg.h Mon Jul 11 14:51:11 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omap2_reg.h,v 1.32 2016/07/03 12:27:04 kiyohara Exp $ */
+/* $NetBSD: omap2_reg.h,v 1.33 2016/07/11 14:51:11 kiyohara Exp $ */
/*
* Copyright (c) 2007 Microsoft
@@ -789,6 +789,23 @@
#define GPIO5_BASE_TI_DM37XX 0x49056000
#define GPIO6_BASE_TI_DM37XX 0x49058000
+#define GPIO_SIZE2 0x100
+
+#define GPIO_REVISION 0x000
+#define GPIO_SYSCONFIG 0x010
+#define GPIO_EOI 0x020 /* AM33xx */
+#define GPIO_IRQSTATUS_RAW_0 0x024
+#define GPIO_IRQSTATUS_RAW_1 0x028
+#define GPIO_IRQSTATUS_0 0x02c
+#define GPIO_IRQSTATUS_1 0x030
+#define GPIO_IRQSTATUS_SET_0 0x034
+#define GPIO_IRQSTATUS_SET_1 0x038
+#define GPIO_IRQSTATUS_CLR_0 0x03c
+#define GPIO_IRQSTATUS_CLR_1 0x040
+#define GPIO_IRQWAKEN_0 0x044
+#define GPIO_IRQWAKEN_1 0x048
+#define GPIO_SYSSTATUS 0x114
+
#define GPIO_IRQSTATUS1 0x018
#define GPIO_IRQENABLE1 0x01c
#define GPIO_WAKEUPENABLE 0x020
Home |
Main Index |
Thread Index |
Old Index