Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/ep93xx SSP locations needs to be defined since ...



details:   https://anonhg.NetBSD.org/src/rev/e7358907ea2e
branches:  trunk
changeset: 583595:e7358907ea2e
user:      joff <joff%NetBSD.org@localhost>
date:      Sun Aug 14 03:07:30 2005 +0000

description:
SSP locations needs to be defined since tspld device uses it to talk to the
TS-7200 temperature sensor.  While here, add some more GPIO registers too.

diffstat:

 sys/arch/arm/ep93xx/ep93xxreg.h |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r f829623d5015 -r e7358907ea2e sys/arch/arm/ep93xx/ep93xxreg.h
--- a/sys/arch/arm/ep93xx/ep93xxreg.h   Sun Aug 14 03:05:00 2005 +0000
+++ b/sys/arch/arm/ep93xx/ep93xxreg.h   Sun Aug 14 03:07:30 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ep93xxreg.h,v 1.3 2005/01/31 05:51:44 joff Exp $ */
+/*     $NetBSD: ep93xxreg.h,v 1.4 2005/08/14 03:07:30 joff Exp $ */
 
 /*
  * Copyright (c) 2004 Jesse Off
@@ -145,8 +145,19 @@
 #define   EP93XX_GPIO_PBDR     0x00000004UL
 #define   EP93XX_GPIO_PADDR    0x00000010UL
 #define   EP93XX_GPIO_PBDDR    0x00000014UL
+#define   EP93XX_GPIO_PFDR     0x00000030UL
+#define   EP93XX_GPIO_PFDDR    0x00000034UL
 #define   EP93XX_GPIO_PHDR     0x00000040UL
 #define   EP93XX_GPIO_PHDDR    0x00000044UL
+#define  EP93XX_APB_SSP                0x000a0000UL
+#define  EP93XX_APB_SSP_SIZE   0x00000018UL
+#define   EP93XX_SSP_SSPCR0    0x00000000UL
+#define   EP93XX_SSP_SSPCR1    0x00000004UL
+#define   EP93XX_SSP_SSPDR     0x00000008UL
+#define   EP93XX_SSP_SSPSR     0x0000000cUL
+#define   EP93XX_SSP_SSPCPSR   0x00000010UL
+#define   EP93XX_SSP_SSPIIR    0x00000014UL
+#define   EP93XX_SSP_SSPICR    0x00000014UL
 #define  EP93XX_APB_SYSCON     0x00130000UL
 #define  EP93XX_APB_SYSCON_SIZE        0x000000c0UL
 #define   EP93XX_SYSCON_PwrSts 0x00000000UL



Home | Main Index | Thread Index | Old Index