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 USB control registers.



details:   https://anonhg.NetBSD.org/src/rev/abc209226f20
branches:  trunk
changeset: 797388:abc209226f20
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Jul 16 18:25:24 2014 +0000

description:
Add USB control registers.

diffstat:

 sys/arch/arm/omap/sitara_cmreg.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r bafc9ac78b14 -r abc209226f20 sys/arch/arm/omap/sitara_cmreg.h
--- a/sys/arch/arm/omap/sitara_cmreg.h  Wed Jul 16 18:24:35 2014 +0000
+++ b/sys/arch/arm/omap/sitara_cmreg.h  Wed Jul 16 18:25:24 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sitara_cmreg.h,v 1.1 2013/04/17 15:04:39 bouyer Exp $  */
+/*     $NetBSD: sitara_cmreg.h,v 1.2 2014/07/16 18:25:24 bouyer Exp $  */
 
 /*
  * Copyright (c) 2013 Manuel Bouyer.  All rights reserved.
@@ -39,6 +39,12 @@
 #define SCM_REVISION_CUSTOM(x) (((x) & 0x000000c0) >>  6)
 #define SCM_REVISION_MINOR(x)  (((x) & 0x0000001f) >>  0)
 
+#define OMAP2SCM_USB_CTL0      0x620
+#define OMAP2SCM_USB_CTL1      0x628
+#define OMAP2SCM_USB_CTLx_SESSIONEND   0x100000
+#define OMAP2SCM_USB_CTLx_VBUSDET      0x080000
+#define OMAP2SCM_USB_CTLx_OTGPHY_PWD   0x000002
+#define OMAP2SCM_USB_CTLx_CMPHY_PWD    0x000001
 #define OMAP2SCM_MAC_ID0_LO    0x630
 #define OMAP2SCM_MAC_ID0_HI    0x634
 



Home | Main Index | Thread Index | Old Index