summaryrefslogtreecommitdiff
path: root/Silicon
diff options
context:
space:
mode:
authorGuo Mang <mang.guo@intel.com>2017-01-17 16:07:34 +0800
committerGuo Mang <mang.guo@intel.com>2017-05-09 13:03:08 +0800
commit90bcd27ee4f7596ad0d2c02e343e4aaa7ad89456 (patch)
treea810594a3955efd49a32b12c10aa23b288da3bf2 /Silicon
parent319794588036f8a0f0d9144a2f9ed917e114f7d3 (diff)
downloadedk2-platforms-90bcd27ee4f7596ad0d2c02e343e4aaa7ad89456.tar.xz
Add USB peripheral mode
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com> Reviewed-by: David Wei <david.wei@intel.com>
Diffstat (limited to 'Silicon')
-rw-r--r--Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/ScRegs/RegsUsb.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/ScRegs/RegsUsb.h b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/ScRegs/RegsUsb.h
index eeb03e2ba2..bc55746bf9 100644
--- a/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/ScRegs/RegsUsb.h
+++ b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Include/ScRegs/RegsUsb.h
@@ -17,7 +17,7 @@
- Registers / bits of new devices introduced in a SC generation will be just named
as "_SC_" without <generation_name> inserted.
- Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 1999 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -563,6 +563,14 @@
#define B_XDCI_POW_PG_CONF_D3HEN BIT18 ///< D3-Hot Enable
#define B_XDCI_POW_PG_CONF_DEVIDLEN BIT17 ///< DEVIDLE Enable
+
+#define R_OTG_BAR0 0x10 ///< BAR 0
+#define B_OTG_BAR0_BA 0xFFE00000 ///< Base Address
+#define V_OTG_BAR0_SIZE 0x200000
+#define N_OTG_BAR0_ALIGNMENT 21
+#define B_OTG_BAR0_PREF BIT3 ///< Prefetchable
+#define B_OTG_BAR0_ADDRNG (BIT2 | BIT1) ///< Address Range
+#define B_OTG_BAR0_SPTYP BIT0 ///< Space Type (Memory)
#define R_OTG_GEN_INPUT_REGRW 0xC0
#define B_OTG_GEN_INPUT_REGRW_CPSU3 (BIT11 | BIT10) ///< Current Power State u3pmu
#define B_OTG_GEN_INPUT_REGRW_CPSU2 (BIT9 | BIT8) ///< Current Power State u2pmu