Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/xscale Added some I2C register definition.
details: https://anonhg.NetBSD.org/src/rev/a753a485e29e
branches: trunk
changeset: 766192:a753a485e29e
user: nonaka <nonaka%NetBSD.org@localhost>
date: Sat Jun 18 13:52:24 2011 +0000
description:
Added some I2C register definition.
diffstat:
sys/arch/arm/xscale/pxa2x0reg.h | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r cdfa1f6ec6a4 -r a753a485e29e sys/arch/arm/xscale/pxa2x0reg.h
--- a/sys/arch/arm/xscale/pxa2x0reg.h Sat Jun 18 08:21:20 2011 +0000
+++ b/sys/arch/arm/xscale/pxa2x0reg.h Sat Jun 18 13:52:24 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pxa2x0reg.h,v 1.21 2010/05/15 12:17:34 kiyohara Exp $ */
+/* $NetBSD: pxa2x0reg.h,v 1.22 2011/06/18 13:52:24 nonaka Exp $ */
/*
* Copyright (c) 2002 Genetec Corporation. All rights reserved.
@@ -240,12 +240,27 @@
#define ICR_MA (1<<4)
#define ICR_SCLE (1<<5) /* PXA270? */
#define ICR_IUE (1<<6) /* PXA270? */
+#define ICR_GCD (1<<7) /* PXA270? */
+#define ICR_ITEIE (1<<8) /* PXA270? */
+#define ICR_DRFIE (1<<9) /* PXA270? */
+#define ICR_BEIE (1<<10) /* PXA270? */
+#define ICR_SSDIE (1<<11) /* PXA270? */
+#define ICR_ALDIE (1<<12) /* PXA270? */
+#define ICR_SADIE (1<<13) /* PXA270? */
#define ICR_UR (1<<14) /* PXA270? */
#define ICR_FM (1<<15) /* PXA270? */
#define I2C_ISR 0x1698 /* Status register */
+#define ISR_RWM (1<<0)
#define ISR_ACKNAK (1<<1)
+#define ISR_UE (1<<2)
+#define ISR_IBB (1<<3)
+#define ISR_SSD (1<<4)
+#define ISR_ALD (1<<5)
#define ISR_ITE (1<<6)
#define ISR_IRF (1<<7)
+#define ISR_GCAD (1<<8)
+#define ISR_SAD (1<<9)
+#define ISR_BED (1<<10)
#define I2C_ISAR 0x16a0 /* Slave address */
/* Clock Manager */
Home |
Main Index |
Thread Index |
Old Index