diff options
| author | bouyer <bouyer@NetBSD.org> | 2014-07-16 18:25:24 +0000 |
|---|---|---|
| committer | bouyer <bouyer@NetBSD.org> | 2014-07-16 18:25:24 +0000 |
| commit | ec44d86f07a9c244cedfebcd2da9ab61b628987a (patch) | |
| tree | 00a5d71e7f792aa64eafeb5a8604ac6e7e7cb8ba | |
| parent | 4ad1294e377f4f38990b9842e67f0636c5c2a27b (diff) | |
Add USB control registers.
| -rw-r--r-- | sys/arch/arm/omap/sitara_cmreg.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/arm/omap/sitara_cmreg.h b/sys/arch/arm/omap/sitara_cmreg.h index 853074f7b6d..9e99065e1b7 100644 --- a/sys/arch/arm/omap/sitara_cmreg.h +++ b/sys/arch/arm/omap/sitara_cmreg.h @@ -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 |
