Intel(R) Platform Controller Hub EG20T Datasheet MBS— Memory Base Register .....63 2.4.17 MLMT—...

760
Order Number: 324211-009US Intel ® Platform Controller Hub EG20T Datasheet July 2012

Transcript of Intel(R) Platform Controller Hub EG20T Datasheet MBS— Memory Base Register .....63 2.4.17 MLMT—...

  • Order Number: 324211-009US

    Intel Platform Controller Hub EG20TDatasheet

    July 2012

  • Intel Platform Controller Hub EG20TDatasheet July 20122 Order Number: 324211-009US

    INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.A "Mission Critical Application" is any application in which failure of the Intel Product could result, directly or indirectly, in personal injury or death. SHOULD YOU PURCHASE OR USE INTEL'S PRODUCTS FOR ANY SUCH MISSION CRITICAL APPLICATION, YOU SHALL INDEMNIFY AND HOLD INTEL AND ITS SUBSIDIARIES, SUBCONTRACTORS AND AFFILIATES, AND THE DIRECTORS, OFFICERS, AND EMPLOYEES OF EACH, HARMLESS AGAINST ALL CLAIMS COSTS, DAMAGES, AND EXPENSES AND REASONABLE ATTORNEYS' FEES ARISING OUT OF, DIRECTLY OR INDIRECTLY, ANY CLAIM OF PRODUCT LIABILITY, PERSONAL INJURY, OR DEATH ARISING IN ANY WAY OUT OF SUCH MISSION CRITICAL APPLICATION, WHETHER OR NOT INTEL OR ITS SUBCONTRACTOR WAS NEGLIGENT IN THE DESIGN, MANUFACTURE, OR WARNING OF THE INTEL PRODUCT OR ANY OF ITS PARTS.Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined". Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information.The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725, or go to: http://www.intel.com/design/literature.htm Intel processor numbers are not a measure of performance. Processor numbers differentiate features within each processor family, not across different processor families. Go to: http://www.intel.com/products/processor%5Fnumber/ for details. Intel Hyper-Threading Technology requires an Intel HT Technology enabled system. Check with your PC manufacturer. Performance will vary depending on the specific hardware and software used. Not available on Intel Core i5-750. For more information including details on which processors support Intel HT Technology, visit http://www.intel.com/technology/platform-technology/hyper-threading/index.htm. Intel High Definition Audio requires an Intel HD Audio enabled system. Consult your PC manufacturer for more information. Sound quality will depend on equipment and actual implementation. For more information about Intel HD Audio, refer to http://www.intel.com/design/chipsets/hdaudio.htm. Intel 64 architecture requires a system with a 64-bit enabled processor, chipset, BIOS and software. Performance will vary depending on the specific hardware and software you use. Consult your PC manufacturer for more information. For more information, visit http://developer.intel.com/technology/intel64/index.htm. Intel Virtualization Technology requires a computer system with an enabled Intel processor, BIOS and virtual machine monitor (VMM). Functionality, performance or other benefits will vary depending on hardware and software configurations. Software applications may not be compatible with all operating systems. Consult your PC manufacturer. For more information, visit http://www.intel.com/technology/virtualization/server/. The original equipment manufacturer must provide Intel Trusted Platform Module (Intel TPM) functionality, which requires an Intel TPM-supported BIOS. Intel TPM functionality must be initialized and may not be available in all countries. For Enhanced Intel SpeedStep Technology, see the Processor Spec Finder at http://ark.intel.com/, or contact your Intel representative for more information.I2C is a two-wire communications bus/protocol developed by Philips. SMBus is a subset of the I2C bus/protocol and was developed by Intel. Implementations of the I2C bus/protocol may require licenses from various entities, including Philips Electronics N.V. and North American Philips Corporation.BunnyPeople, Celeron, Celeron Inside, Centrino, Centrino Inside, Cilk, Core Inside, i960, Intel, the Intel logo, Intel AppUp, Intel Atom, Intel Atom Inside, Intel Core, Intel Inside, the Intel Inside logo, Intel NetBurst, Intel NetMerge, Intel NetStructure, Intel SingleDriver, Intel SpeedStep, Intel Sponsors of Tomorrow., the Intel Sponsors of Tomorrow. logo, Intel StrataFlash, Intel vPro, Intel XScale, InTru, the InTru logo, the InTru Inside logo, InTru soundmark, Itanium, Itanium Inside, MCS, MMX, Moblin, Pentium, Pentium Inside, skoool, the skoool logo, Sound Mark, The Creators Project, The Journey Inside, vPro Inside, VTune, Xeon, and Xeon Inside are trademarks of Intel Corporation in the U.S. and/or other countries.*Other names and brands may be claimed as the property of others.Microsoft, Windows, and the Windows logo are trademarks, or registered trademarks of Microsoft Corporation in the United States and/or other countries.Copyright 2009-2012, Intel Corporation and/or its suppliers and licensors. All rights reserved.

    http://www.intel.com/products/processor%5Fnumber/http://www.intel.com/technology/platform-technology/hyper-threading/index.htmhttp://www.intel.com/design/chipsets/hdaudio.htmhttp://www.intel.com/design/chipsets/hdaudio.htmhttp://developer.intel.com/technology/intel64/index.htmhttp://developer.intel.com/technology/intel64/index.htmhttp://www.intel.com/technology/virtualization/server/http://ark.intel.com/http://www.intel.com/design/literature.htm

  • Intel Platform Controller Hub EG20TJuly 2012 DatasheetOrder Number: 324211-009US 3

    ContentsIntel Platform Controller Hub EG20T

    Contents

    1.0 Overview ................................................................................................................. 451.1 Reference Documents ........................................................................................ 471.2 Features .......................................................................................................... 471.3 Devices and Functions ....................................................................................... 51

    2.0 PCI Express* Bridge ................................................................................................ 552.1 Overview ......................................................................................................... 552.2 Additional Clarification ....................................................................................... 552.3 Register Address Map ........................................................................................ 55

    2.3.1 PCI Configuration Registers ..................................................................... 552.4 PCI Configuration Registers ................................................................................ 57

    2.4.1 VID Vendor Identification Register ......................................................... 572.4.2 DID Device Identification Register ......................................................... 572.4.3 PCICMD PCI Command Register ............................................................ 572.4.4 PCISTSPCI Status Register ................................................................... 582.4.5 RID Revision Identification Register ....................................................... 592.4.6 CC Class Code Register ........................................................................ 592.4.7 MLT Master Latency Timer Register........................................................ 602.4.8 HEADTYP Header Type Register............................................................. 602.4.9 PBN Primary Bus Number Register......................................................... 602.4.10 SDBN Secondary Bus Number Register................................................... 612.4.11 SBBN Subordinate Bus Number Register................................................. 612.4.12 SDLT Secondary Latency Timer Register................................................. 612.4.13 IOBS I/O Base Register........................................................................ 612.4.14 IOLMT I/O Limit Register...................................................................... 622.4.15 SDSTS Secondary Status Register ......................................................... 622.4.16 MBS Memory Base Register .................................................................. 632.4.17 MLMT Memory Limit Register ................................................................ 642.4.18 PMBS Prefetchable Memory Base Register............................................... 642.4.19 PMLMT Prefetchable Memory Limit Register............................................. 642.4.20 PMUBS Prefetchable Memory Base Upper 32-bit Register .......................... 652.4.21 PMULMT Prefetchable Memory Limit Upper 32-bit Register ........................ 652.4.22 IOUBS I/O Base Upper 16-bit Register ................................................... 652.4.23 IOULMT I/O Limit Upper 16-bit Register ................................................. 652.4.24 CAP_PTR Capabilities Pointer Register .................................................... 662.4.25 INT_LN Interrupt Line Register.............................................................. 662.4.26 INT_PN Interrupt Pin Register ............................................................... 662.4.27 BRG_CTL Bridge Control Register .......................................................... 662.4.28 PM_CAPIDPCI Power Management Capability ID Register.......................... 672.4.29 NXT_PTR1Next Item Pointer #1 Register ................................................ 672.4.30 PM_CAPPower Management Capabilities Register..................................... 682.4.31 PWR_CNTL_STSPower Management Control/Status Register ..................... 682.4.32 PCIe_CAPIDPCIe Capability ID Register .................................................. 692.4.33 PCIe_NPRPCIe Next Item Pointer Register .............................................. 692.4.34 PCIe_CPPCIe Capabilities Register ......................................................... 702.4.35 PCIe_DCPPCIe Device Capabilities Register............................................. 702.4.36 PCIe_DCTPCIe Device Control Register................................................... 732.4.37 PCIe_DSTPCIe Device Status Register.................................................... 752.4.38 PCIe_LCPPCIe Link Capabilities Register ................................................. 762.4.39 PCIe_LCTPCIe Link Control Register....................................................... 782.4.40 PCIe_LSTPCIe Link Status Register ........................................................ 802.4.41 PCIe_DCP2PCIe Device Capabilities 2 Register ........................................ 81

  • Intel Platform Controller Hub EG20TContents

    Intel Platform Controller Hub EG20TDatasheet July 20124 Order Number: 324211-009US

    2.4.42 PCIe_DCT2PCIe Device Control 2 Register...............................................822.4.43 PCIe_LCT2PCIe Link Control 2 Register...................................................832.4.44 PCIe_LST2PCIe Link Status 2 Register ....................................................85

    3.0 Packet Hub ..............................................................................................................873.1 Overview .........................................................................................................873.2 Register Address Map.........................................................................................88

    3.2.1 PCI Configuration Registers .....................................................................883.2.2 Memory-Mapped I/O Registers (BAR: MEM_BASE) ......................................89

    3.2.2.1 Queue Control Register .............................................................893.2.2.2 Device Control Registers ...........................................................89

    3.3 Registers ..........................................................................................................913.3.1 PCI Configuration Registers .....................................................................91

    3.3.1.1 VID Vendor Identification Register ...........................................913.3.1.2 DID Device Identification Register............................................913.3.1.3 PCICMD PCI Command Register...............................................913.3.1.4 PCISTSPCI Status Register......................................................923.3.1.5 RID Revision Identification Register..........................................933.3.1.6 CC Class Code Register ..........................................................933.3.1.7 MLT Master Latency Timer Register ..........................................943.3.1.8 HEADTYP Header Type Register ...............................................943.3.1.9 MEM_BASE MEM Base Address Register ....................................943.3.1.10 ROM_BASE Extended ROM Base Address Register ......................953.3.1.11 SSVID Subsystem Vendor ID Register ......................................953.3.1.12 SSID Subsystem ID Register ...................................................953.3.1.13 CAP_PTR Capabilities Pointer Register ......................................963.3.1.14 INT_LN Interrupt Line Register ................................................963.3.1.15 INT_PN Interrupt Pin Register .................................................963.3.1.16 MSI_CAPIDMSI Capability ID Register ......................................963.3.1.17 MSI_NPRMSI Next Item Pointer Register...................................973.3.1.18 MSI_MCRMSI Message Control Register ....................................973.3.1.19 MSI_MARMSI Message Address Register ...................................983.3.1.20 MSI_MDMSI Message Data Register .........................................983.3.1.21 PM_CAPIDPCI Power Management Capability ID Register ............983.3.1.22 PM_NPRPM Next Item Pointer Register .....................................993.3.1.23 PM_CAPPower Management Capabilities Register .......................993.3.1.24 PWR_CNTL_STSPower Management Control/Status Register......100

    3.3.2 Memory-Mapped I/O Registers (BAR: MEM_BASE) ....................................1003.3.2.1 Packet Hub ID Register ..........................................................1003.3.2.2 Queue Priority Value Register...................................................1013.3.2.3 Upstream Queue Max Size Register...........................................1013.3.2.4 Downstream Queue Max Size Register.......................................1023.3.2.5 Completion Response Time-out Register ...................................1033.3.2.6 Device Read Pre-Fetch Control Register .....................................1033.3.2.7 Dead Lock Avoid Type Selector Register ...................................1043.3.2.8 Interrupt Pin Register Write Permit Register 0 ............................1053.3.2.9 Interrupt Pin Register Write Permit Register 1 ............................1053.3.2.10 Interrupt Pin Register Write Permit Register 2 ............................1063.3.2.11 Interrupt Pin Register Write Permit Register 3 ............................1063.3.2.12 Interrupt Reduction Control Register .........................................107

    3.4 Functional Description ......................................................................................1073.4.1 QoS....................................................................................................107

    3.4.1.1 Related Registers ...................................................................1083.4.2 Interrupt Reduction Mechanism..............................................................109

    3.4.2.1 Related Registers ...................................................................111

    4.0 Serial ROM Interface..............................................................................................1134.1 Overview........................................................................................................113

    4.1.1 Terminal Connection When Not Connecting Serial ROM..............................113

  • Intel Platform Controller Hub EG20TJuly 2012 DatasheetOrder Number: 324211-009US 5

    ContentsIntel Platform Controller Hub EG20T

    4.1.2 Serial ROM Address Map Structure ......................................................... 1134.1.2.1 Option ROM Space ................................................................. 1144.1.2.2 Initialize Data Space .............................................................. 1144.1.2.3 Control Space........................................................................ 116

    4.2 Functional Description...................................................................................... 1164.2.1 Operation Mode ................................................................................... 1164.2.2 ROM Mode .......................................................................................... 117

    4.2.2.1 The Serial ROM Writing Method................................................ 1174.2.2.2 Special Address ..................................................................... 119

    4.2.3 Example of Serial ROM Data .................................................................. 1204.2.3.1 When Not Using Initialize Function ........................................... 1204.2.3.2 Only MAC Address Set ............................................................ 1204.2.3.3 Only Subsystem ID or Subsystem Vendor ID Set........................ 1214.2.3.4 MAC Address & Subsystem ID or Subsystem Vendor ID Set ......... 121

    5.0 Clocks.................................................................................................................... 1235.1 Overview ....................................................................................................... 1235.2 Clock Description ............................................................................................ 1235.3 Clock Block Diagram........................................................................................ 1245.4 Registers........................................................................................................ 125

    5.4.1 Memory-Mapped I/O Registers............................................................... 1255.4.1.1 Clock Configuration Register (CLKCFG) ..................................... 125

    5.5 Functional Description...................................................................................... 1265.5.1 System Clock ...................................................................................... 126

    5.5.1.1 Packet Hub Clock ................................................................... 1265.5.1.2 Internal BUS Clock of Each Function ......................................... 126

    5.5.2 Peripheral Clock................................................................................... 1265.5.2.1 Baud Rate Clock (UART/CAN) .................................................. 1265.5.2.2 UART Clock Selection Sequence Without PLL Setting................... 1315.5.2.3 UART Clock Selection Sequence With PLL Setting ....................... 1315.5.2.4 Gigabit Ethernet Transmission Clock Control .............................. 1315.5.2.5 SDIO Clock Control ................................................................ 132

    6.0 Power Management ............................................................................................... 1356.1 Features ........................................................................................................ 135

    6.1.1 Pin Description .................................................................................... 1356.2 Functional Description...................................................................................... 135

    6.2.1 Device State........................................................................................ 1356.2.1.1 Theory of Operation ............................................................... 135

    6.2.2 Sleep States........................................................................................ 1376.2.2.1 Power Planes......................................................................... 1376.2.2.2 Power Sequence with Wake-up Function ................................... 1396.2.2.3 Power Sequence with no Wake-up Function ............................... 1396.2.2.4 Wake-Up Event...................................................................... 1406.2.2.5 Hardware and Software Operation ........................................... 141

    7.0 SATA ..................................................................................................................... 1437.1 Overview ....................................................................................................... 1437.2 Register Address Map ...................................................................................... 143

    7.2.1 PCI Configuration Registers ................................................................... 1437.2.2 I/O Registers....................................................................................... 1447.2.3 Memory-Mapped I/O Registers (BAR: MEM_BASE).................................... 144

    7.3 Registers........................................................................................................ 1467.3.1 PCI Configuration Registers ................................................................... 146

    7.3.1.1 VID Vendor Identification Register......................................... 1467.3.1.2 DID Device Identification Register ......................................... 1477.3.1.3 PCICMD PCI Command Register ............................................ 1477.3.1.4 PCISTSPCI Status Register ................................................... 148

  • Intel Platform Controller Hub EG20TContents

    Intel Platform Controller Hub EG20TDatasheet July 20126 Order Number: 324211-009US

    7.3.1.5 RID Revision Identification Register........................................1487.3.1.6 CC Class Code Register ........................................................1497.3.1.7 MLT Master Latency Timer Register ........................................1497.3.1.8 HEADTYP Header Type Register .............................................1497.3.1.9 IO_BASE I/O Base Address Register .......................................1507.3.1.10 MEM_BASE MEM Base Address Register ..................................1507.3.1.11 SSVID Subsystem Vendor ID Register ....................................1507.3.1.12 SSID Subsystem ID Register .................................................1517.3.1.13 ROM_BASE Extended ROM Base Address Register ....................1517.3.1.14 CAP_PTR Capabilities Pointer Register ....................................1517.3.1.15 INT_LN Interrupt Line Register ..............................................1517.3.1.16 INT_PN Interrupt Pin Register ...............................................1527.3.1.17 MSI_CAPIDMSI Capability ID Register ....................................1527.3.1.18 MSI_NPRMSI Next Item Pointer Register.................................1527.3.1.19 MSI_MCRMSI Message Control Register ..................................1527.3.1.20 MSI_MARMSI Message Address Register .................................1537.3.1.21 MSI_MDMSI Message Data Register .......................................1537.3.1.22 PM_CAPIDPCI Power Management Capability ID Register ..........1547.3.1.23 PM_NPRPM Next Item Pointer Register ...................................1547.3.1.24 PM_CAPPower Management Capabilities Register .....................1547.3.1.25 PWR_CNTL_STSPower Management Control/Status Register......1557.3.1.26 SATA_CAPIDSATA Capability ID Register ................................1557.3.1.27 SATA_NPRSATA Next Item Pointer Register.............................1567.3.1.28 SATA_MAJREV_MINREVMajor Revision Number and Minor

    Revision Number of the SATA Capability Pointer Register ..............1567.3.1.29 SATA_BAROFST_BARLOCSATA BAR Offset and BAR Location

    Register .................................................................................1567.3.2 I/O Registers .......................................................................................157

    7.3.2.1 AHCI Index Register ...............................................................1577.3.2.2 AHCI Index Data Register .......................................................158

    7.3.3 Memory-Mapped I/O Registers (BAR: MEM_BASE) ....................................1587.3.3.1 HBA Capabilities Register ........................................................1587.3.3.2 Global HBA Control Register.....................................................1597.3.3.3 Interrupt Status Register.........................................................1607.3.3.4 Ports Implemented Register.....................................................1617.3.3.5 AHCI Version Register.............................................................1617.3.3.6 Command Completion Coalescing Control ..................................1617.3.3.7 Command Completion Coalescing Ports .....................................1627.3.3.8 BIST Activate FIS Register.......................................................1637.3.3.9 BIST Control Register..............................................................1647.3.3.10 BIST FIS Count Register..........................................................1667.3.3.11 BIST Status Register...............................................................1667.3.3.12 BIST DWORD Error Count Register ...........................................1677.3.3.13 OOB Register .........................................................................1677.3.3.14 Timer 1 ms Register ...............................................................1687.3.3.15 Global Parameter 1 Register ....................................................1687.3.3.16 Global Parameter 2 Register ....................................................1697.3.3.17 Port Parameter Register ..........................................................1707.3.3.18 Test Register .........................................................................1717.3.3.19 Version Register.....................................................................1727.3.3.20 ID Register............................................................................1737.3.3.21 Port# Command List Base Address Register (P#CLB) ..................1737.3.3.22 Port# Command List Base Address Upper 32-Bits Register

    (P#CLBU)...............................................................................1737.3.3.23 Port# FIS Base Address Register (P#FB) ...................................1747.3.3.24 Port# FIS Base Address Upper 32-Bits Register (P#FBU) .............1747.3.3.25 Port# Interrupt Status Register (P#IS)......................................1747.3.3.26 Port# Interrupt Enable Register (P#IE) .....................................1767.3.3.27 Port# Command Register (P#CMD)...........................................1787.3.3.28 Port# Task File Data Register (P#TFD) ......................................182

  • Intel Platform Controller Hub EG20TJuly 2012 DatasheetOrder Number: 324211-009US 7

    ContentsIntel Platform Controller Hub EG20T

    7.3.3.29 Port# Signature Register (P#SIG) ............................................ 1837.3.3.30 Port# Serial ATA Status {SStatus} Register (P#SSTS)................ 1837.3.3.31 Port# Serial ATA Control {SControl} Register (P#SCTL).............. 1847.3.3.32 Port# Serial ATA Error {SError} Register (P#SERR).................... 1857.3.3.33 Port# Serial ATA Active {SActive} Register (P#SACT)................. 1887.3.3.34 Port# Command Issue Register (P#CI) ..................................... 1887.3.3.35 Port# Serial ATA Notification Register (P#SNTF) ........................ 1887.3.3.36 Port# DMA Control Register (P#DMACR) ................................... 1897.3.3.37 Port# PHY Control Register (P#PHYCR)..................................... 1917.3.3.38 Port# PHY Status Register (P#PHYSR) ...................................... 1917.3.3.39 Test Register 2 (TESTR2) ........................................................ 1917.3.3.40 PHY SOFT RESET Register (PSRST)........................................... 192

    7.4 Functional Description...................................................................................... 1927.4.1 Operation Details ................................................................................. 192

    7.4.1.1 Data Transfer ........................................................................ 1927.4.1.2 Power Management................................................................ 1947.4.1.3 Port Multiplier Support............................................................ 1957.4.1.4 Interrupts ............................................................................. 1957.4.1.5 PHY and Link Control .............................................................. 1967.4.1.6 Reset Conditions.................................................................... 1977.4.1.7 Interface Speed Support ......................................................... 1987.4.1.8 Staggered Spin-up ................................................................. 1987.4.1.9 Activity LED .......................................................................... 1997.4.1.10 Asynchronous Notification ....................................................... 1997.4.1.11 BIST Operation...................................................................... 1997.4.1.12 Command Completion Coalescing............................................. 202

    7.4.2 Programming ...................................................................................... 2037.4.2.1 Software Initialization............................................................. 2037.4.2.2 Software Manipulation of Port DMA........................................... 204

    7.5 Option ROM.................................................................................................... 2057.6 Legacy Mode .................................................................................................. 206

    7.6.1 Legacy Mode Support ........................................................................... 2067.7 Additional Clarifications .................................................................................... 206

    7.7.1 Interoperability with SATA Gen1 Device .................................................. 2067.7.2 Address Setting for Outputting BIST Patterns........................................... 206

    8.0 USB Host Controller ............................................................................................... 2098.1 Overview ....................................................................................................... 2098.2 Register Address Map ...................................................................................... 210

    8.2.1 PCI Configuration Registers ................................................................... 2108.2.2 Memory-Mapped I/O Registers (BAR: MEM_BASE).................................... 211

    8.2.2.1 EHCI Registers ...................................................................... 2118.2.2.2 OHCI Registers ...................................................................... 212

    8.3 Registers ....................................................................................................... 2138.3.1 PCI Configuration Registers ................................................................... 213

    8.3.1.1 VID Vendor Identification Register......................................... 2138.3.1.2 DID Device Identification Register ......................................... 2138.3.1.3 PCICMD PCI Command Register ............................................ 2138.3.1.4 PCISTSPCI Status Register ................................................... 2148.3.1.5 RID Revision Identification Register ....................................... 2158.3.1.6 CC Class Code Register ........................................................ 2158.3.1.7 MLT Master Latency Timer Register........................................ 2168.3.1.8 HEADTYP Header Type Register............................................. 2168.3.1.9 SSVID Subsystem Vendor ID Register.................................... 2178.3.1.10 SSVID Subsystem Vendor ID Register.................................... 2188.3.1.11 SSID Subsystem ID Register ................................................ 2188.3.1.12 CAP_PTR Capabilities Pointer Register .................................... 2188.3.1.13 INT_LN Interrupt Line Register.............................................. 218

  • Intel Platform Controller Hub EG20TContents

    Intel Platform Controller Hub EG20TDatasheet July 20128 Order Number: 324211-009US

    8.3.1.14 INT_PN Interrupt Pin Register ...............................................2198.3.1.15 MSI_CAPIDMSI Capability ID Register ....................................2198.3.1.16 MSI_NPRMSI Next Item Pointer Register.................................2198.3.1.17 MSI_MCRMSI Message Control Register ..................................2208.3.1.18 MSI_MARMSI Message Address Register .................................2208.3.1.19 MSI_MDMSI Message Data Register .......................................2208.3.1.20 PM_CAPIDPCI Power Management Capability ID Register ..........2218.3.1.21 PM_PTRPM Next Item Pointer Register....................................2218.3.1.22 PM_CAPPower Management Capabilities Register .....................2218.3.1.23 PWR_CNTL_STSPower Management Control/Status Register......2228.3.1.24 SBRNSerial Bus Release Number Register ...............................2238.3.1.25 FLADJH Frame Length Adjustment Register for Host Controller ..2238.3.1.26 FLADJH Frame Length Adjustment Register for PORT................2248.3.1.27 USBLEGSUPUSB Legacy Support EHCI Extended Capability

    Register .................................................................................2258.3.1.28 USBLEGCTLSTS USB Legacy Support Control/Status Register ....226

    8.3.2 EHCI Registers (BAR: MEM_BASE) ..........................................................2278.3.2.1 HCCAPBASE - Capability Register .............................................2278.3.2.2 HCSPARAMS - Structural Parameter Register..............................2288.3.2.3 HCCPARAMS - Capability Parameter Register..............................2288.3.2.4 USBCMD - USB Command Register ...........................................2298.3.2.5 USBSTS - USB Status Register .................................................2318.3.2.6 USBINTR - USB Interrupt Enable Register ..................................2328.3.2.7 FRINDEX - Frame Index Register ..............................................2338.3.2.8 CTRLDSSEGMENT - Control Data Structure Segment Register.......2348.3.2.9 PERIODICLISTBASE - Periodic Frame List Base Address Register...2348.3.2.10 ASYNCLISTADDR - Current Asynchronous List Address Register....2358.3.2.11 CONFIGFLAG - Configure Flag Register......................................2358.3.2.12 PORTSC_n - Port Status and Control Register.............................2358.3.2.13 Debug01 Register (Test Register) .............................................2408.3.2.14 PHY SOFT RESET Register (PSRST) ...........................................241

    8.3.3 OHCI Registers (BAR: MEM_BASE)..........................................................2428.3.3.1 HcRevision Register ................................................................2428.3.3.2 HcControl Register .................................................................2428.3.3.3 HcCommandStatus Register.....................................................2448.3.3.4 HcInterruptStatus Register ......................................................2458.3.3.5 HcInterruptEnable Register ......................................................2468.3.3.6 HcInterruptDisable Register .....................................................2468.3.3.7 HcHCCA Register....................................................................2478.3.3.8 HcPeriodCurrentED Register.....................................................2488.3.3.9 HcControlHeadED Register.......................................................2488.3.3.10 HcControlCurrentED Register ...................................................2498.3.3.11 HcBulkHeadED Register...........................................................2498.3.3.12 HcBulkCurrentED Register .......................................................2508.3.3.13 HcDoneHead Register .............................................................2508.3.3.14 HcFmInterval Register.............................................................2518.3.3.15 HcFmRemaining Register.........................................................2518.3.3.16 HcFmNumber Register ............................................................2528.3.3.17 HcPeriodicStart Register ..........................................................2528.3.3.18 HcLSThreshold Register...........................................................2538.3.3.19 HcRhDescriptorA Register ........................................................2538.3.3.20 HcRhDescriptorB Register ........................................................2548.3.3.21 HcRhStatus Register ...............................................................2558.3.3.22 HcRhPortStatus[1:NDP] Register (NDP=1,2,3) ...........................256

    8.4 Functional Description ......................................................................................2598.4.1 Legacy Device Support..........................................................................259

    8.5 Additional Clarifications ....................................................................................2608.5.1 Remote Wake-Up by Port 0 and Port 1 ....................................................260

    9.0 USB Device ............................................................................................................261

  • Intel Platform Controller Hub EG20TJuly 2012 DatasheetOrder Number: 324211-009US 9

    ContentsIntel Platform Controller Hub EG20T

    9.1 Overview ....................................................................................................... 2619.2 Register Address Map ...................................................................................... 261

    9.2.1 PCI Configuration Registers ................................................................... 2619.2.2 Memory-Mapped I/O Registers (BAR: MEM_BASE).................................... 262

    9.2.2.1 Command and Status Register Memory Map .............................. 2629.3 Registers........................................................................................................ 265

    9.3.1 Control and Status Registers ................................................................. 2659.3.1.1 PCI Configuration Registers .................................................... 2659.3.1.2 Memory-Mapped I/O Registers (BAR: MEM_BASE)...................... 273

    9.4 Functional Description...................................................................................... 2969.4.1 Theory of Operation ............................................................................. 296

    9.4.1.1 Overview .............................................................................. 2969.4.1.2 DMA Mode ........................................................................... 2969.4.1.3 Slave-Only Mode.................................................................... 299

    9.5 Additional Clarifications .................................................................................... 3019.5.1 Wake_On Function is Not Supported....................................................... 3019.5.2 Hot Unplug/Plug .................................................................................. 3019.5.3 Operation of Endpoint Interrupt Register and Mask Register....................... 3029.5.4 USB_Device DMA Operation .................................................................. 303

    9.5.4.1 SETUP Data Memory Structure................................................. 3049.5.4.2 OUT Data Memory Structure.................................................... 3059.5.4.3 IN Data Memory Structure ...................................................... 307

    10.0 Gigabit Ethernet MAC............................................................................................. 31110.1 Overview ....................................................................................................... 31110.2 Features ........................................................................................................ 31110.3 Register Address Map ...................................................................................... 311

    10.3.1 PCI Configuration Registers ................................................................... 31110.3.2 I/O Registers....................................................................................... 31210.3.3 Memory-Mapped I/O Registers (BAR: MEM_BASE).................................... 313

    10.4 Registers........................................................................................................ 31510.4.1 PCI Configuration Registers ................................................................... 315

    10.4.1.1 VID Vendor Identification Register......................................... 31510.4.1.2 DID Device Identification Register ......................................... 31510.4.1.3 PCICMD PCI Command Register ............................................ 31510.4.1.4 PCISTSPCI Status Register ................................................... 31610.4.1.5 RID Revision Identification Register ....................................... 31710.4.1.6 CC Class Code Register ........................................................ 31710.4.1.7 MLT Master Latency Timer Register........................................ 31810.4.1.8 HEADTYP Header Type Register............................................. 31810.4.1.9 IO_BASE IO Base Address Register........................................ 31810.4.1.10 MEM_BASE MEM Base Address Register.................................. 31910.4.1.11 SSVID Subsystem Vendor ID Register.................................... 31910.4.1.12 SSID Subsystem ID Register ................................................ 31910.4.1.13 CAP_PTR Capabilities Pointer Register .................................... 32010.4.1.14 INT_LN Interrupt Line Register.............................................. 32010.4.1.15 INT_PN Interrupt Pin Register ............................................... 32010.4.1.16 MSI_CAPIDMSI Capability ID Register .................................... 32010.4.1.17 MSI_NPRMSI Next Item Pointer Register ................................ 32110.4.1.18 MSI_MCRMSI Message Control Register.................................. 32110.4.1.19 MSI_MARMSI Message Address Register................................. 32110.4.1.20 MSI_MDMSI Message Data Register....................................... 32210.4.1.21 PM_CAPIDPCI Power Management Capability ID Register.......... 32210.4.1.22 PM_NPRPM Next Item Pointer Register ................................... 32210.4.1.23 PM_CAPPower Management Capabilities Register..................... 32310.4.1.24 PWR_CNTL_STSPower Management Control/Status Register ..... 323

    10.4.2 ....................................................................................... I/O Registers32410.4.2.1 Ether MAC Index Register ....................................................... 324

  • Intel Platform Controller Hub EG20TContents

    Intel Platform Controller Hub EG20TDatasheet July 201210 Order Number: 324211-009US

    10.4.2.2 Ether MAC Index Data Register ................................................32410.4.3 Memory-Mapped I/O Registers (BAR: MEM_BASE) ....................................325

    10.4.3.1 Interrupt Status .....................................................................32510.4.3.2 Interrupt Status Hold ..............................................................32710.4.3.3 Interrupt Enable.....................................................................32810.4.3.4 PHY Interrupt Control Register .................................................32910.4.3.5 Mode ....................................................................................32910.4.3.6 Reset....................................................................................33010.4.3.7 TCP/IP Accelerator Control.......................................................33010.4.3.8 External List ..........................................................................33210.4.3.9 MAC RX Enable ......................................................................33210.4.3.10 RX Flow Control .....................................................................33210.4.3.11 Pause Packet Request .............................................................33310.4.3.12 RX Mode ...............................................................................33310.4.3.13 TX Mode................................................................................33410.4.3.14 RX FIFO Status ......................................................................33410.4.3.15 TX FIFO Status.......................................................................33510.3.2.16 Test0....................................................................................33510.3.2.17 Test1....................................................................................33610.3.2.18 Pause Packet1 .......................................................................33610.3.2.19 Pause Packet2 .......................................................................33610.3.2.20 Pause Packet3 .......................................................................33710.3.2.21 Pause Packet4 .......................................................................33710.3.2.22 Pause Packet5 .......................................................................33710.3.2.23 MAC Address .........................................................................33810.3.2.24 Address Mask ........................................................................33910.3.2.25 MIIM ....................................................................................34010.3.2.26 MAC Address1 Load ................................................................34110.3.2.27 RGMII Status .........................................................................34110.3.2.28 RGMII Control........................................................................34210.3.2.29 DMA Control ..........................................................................34210.3.2.30 RX Descriptor Base Address .....................................................34310.3.2.31 RX Descriptor Size..................................................................34310.3.2.32 RX Descriptor Hard Pointer ......................................................34310.3.2.33 RX Descriptor Hard Pointer Hold ...............................................34410.3.2.34 RX Descriptor Soft Pointer .......................................................34410.3.2.35 TX Descriptor Base Address .....................................................34410.3.2.36 TX Descriptor Size ..................................................................34510.3.2.37 TX Descriptor Hard Pointer ......................................................34510.3.2.38 TX Descriptor Hard Pointer Hold ...............................................34510.3.2.39 TX Descriptor Soft Pointer .......................................................34610.3.2.40 Wake-on LAN Status...............................................................34610.3.2.41 Wake-on LAN Control..............................................................34610.3.2.42 Wake-on LAN Address Mask.....................................................34710.3.2.43 SOFT RESET Register (SRST) ...................................................348

    10.4 Functional Description ......................................................................................34810.4.1 Descriptor ...........................................................................................34810.4.2 Frame Buffer .......................................................................................35310.4.3 Receive Procedure ................................................................................35510.4.4 Transmission Procedure.........................................................................35610.4.5 Booting Procedure ................................................................................35810.4.6 DMA Termination/Restart Procedure........................................................35910.4.7 Reset Operation ...................................................................................35910.4.8 Transmission Clock Control ....................................................................35910.4.9 MAC Address Filtering ...........................................................................36010.4.10 Wake-on LAN.......................................................................................36110.4.11 Ethernet Frame Length..........................................................................36310.4.12 TCP/IP Accelerator................................................................................364

  • Intel Platform Controller Hub EG20TJuly 2012 DatasheetOrder Number: 324211-009US 11

    ContentsIntel Platform Controller Hub EG20T

    10.4.12.1 Ethernet Format .................................................................... 36410.4.12.2 PPPoE................................................................................... 36410.4.12.3 IPv4..................................................................................... 36510.4.12.4 IPv6..................................................................................... 366

    10.4.13 Indirect Access to Memory-Mapped I/O Registers via I/O Space ................. 36710.5 Additional Clarification ..................................................................................... 367

    10.5.1 Compatibility with Intel Ethernet Products ............................................. 367

    11.0 SDIO ..................................................................................................................... 36911.1 Overview ....................................................................................................... 36911.2 Features ........................................................................................................ 36911.3 Register Address Map ...................................................................................... 369

    11.3.1 PCI Configuration Registers ................................................................... 36911.3.2 Memory-Mapped I/O Registers (BAR: MEM_BASE).................................... 370

    11.4 Registers........................................................................................................ 37111.4.1 PCI Configuration Registers ................................................................... 371

    11.4.1.1 VID Vendor Identification Register......................................... 37111.4.1.2 DID Device Identification Register ......................................... 37211.4.1.3 PCICMD PCI Command Register ............................................ 37211.4.1.4 PCISTSPCI Status Register ................................................... 37311.4.1.5 RID Revision Identification Register ....................................... 37411.4.1.6 CC Class Code Register ........................................................ 37411.4.1.7 MLT Master Latency Timer Register........................................ 37411.4.1.8 HEADTYP Header Type Register............................................. 37511.4.1.9 MEM_BASE MEM Base Address Register.................................. 37511.4.1.10 SSVID Subsystem Vendor ID Register.................................... 37511.4.1.11 SSID Subsystem ID Register ................................................ 37611.4.1.12 CAP_PTR Capabilities Pointer Register .................................... 37611.4.1.13 INT_LN Interrupt Line Register.............................................. 37611.4.1.14 INT_PN Interrupt Pin Register ............................................... 37611.4.1.15 SLOTINF Slot Information Register ........................................ 37711.4.1.16 MSI_CAPIDMSI Capability ID Register .................................... 37711.4.1.17 MSI_NPRMSI Next Item Pointer Register ................................ 37711.4.1.18 MSI_MCRMSI Message Control Register.................................. 37811.4.1.19 MSI_MARMSI Message Address Register................................. 37811.4.1.20 MSI_MDMSI Message Data Register....................................... 37811.4.1.21 PM_CAPIDPCI Power Management Capability ID Register.......... 37911.4.1.22 PM_NPRPM Next Item Pointer Register ................................... 37911.4.1.23 PM_CAPPower Management Capabilities Register..................... 37911.4.1.24 PWR_CNTL_STSPower Management Control/Status Register ..... 380

    11.4.2 Memory-Mapped I/O Registers (BAR: MEM_BASE).................................... 38111.4.2.1 DMA System Address ............................................................. 38111.4.2.2 Block Count, Block Size .......................................................... 38111.4.2.3 Argument1, 0........................................................................ 38211.4.2.4 Command Transfer Mode ........................................................ 38311.4.2.5 Response1, 0 ........................................................................ 38511.4.2.6 Response3, 2 ........................................................................ 38511.4.2.7 Response5, 4 ........................................................................ 38611.4.2.8 Response7, 6 ........................................................................ 38611.4.2.9 Buffer Data Port..................................................................... 38611.4.2.10 Present State1, 0................................................................... 38711.4.2.11 Wakeup Control, Block Gap Control, Power Control, Host Control.. 38911.4.2.12 Software Reset, Timeout Control, Clock Control ......................... 39211.4.2.13 Error Interrupt Status, Normal Interrupt Status ......................... 39411.4.2.14 Error Interrupt Status Enable, Normal Interrupt Status Enable ..... 39711.4.2.15 Error Interrupt Signal Enable, Normal Interrupt Signal Enable...... 39811.4.2.16 Auto CMD12 Error Status ........................................................ 40011.4.2.17 Capabilities ........................................................................... 40111.4.2.18 Maximum Current Capabilities ................................................. 402

  • Intel Platform Controller Hub EG20TContents

    Intel Platform Controller Hub EG20TDatasheet July 201212 Order Number: 324211-009US

    11.4.2.19 Force Event for Error Status.....................................................40311.4.2.20 ADMA Error Status .................................................................40511.4.2.21 ADMA System Address ............................................................40611.4.2.22 Host Controller Version ...........................................................40611.4.2.23 Bus I/F Control0 (For Debug) ...................................................40711.4.2.24 Bus I/F Control1 (For Debug) ...................................................40711.4.2.25 TEST Register (For Debug) ......................................................40811.4.2.26 SOFT RESET Register (SRST) ...................................................408

    11.5 Functional Description .....................................................................................40811.5.1 Card Detection Operation .....................................................................40811.5.2 SD Clock Control .................................................................................40911.5.3 SD Clock Stop......................................................................................40911.5.4 SD Clock Frequency Change ..................................................................40911.5.5 Power Control of SD Bus........................................................................40911.5.6 Change of SD Bus Width .......................................................................40911.5.7 DAT Line Time-out Setup ......................................................................41011.5.8 Sequence to Command Issue - End ........................................................41011.5.9 Transmission Methods and Setup............................................................41011.5.10 Sequence of Transmission (PIO) Which Does Not Use DMA ........................41011.5.11 Sequence of Transmission Which Uses DMA (SDMA)..................................41111.5.12 Sequence Function Ver2.0 (the Draft Version) of Transmission Which Uses

    DMA (ADMA)........................................................................................41111.5.13 Abort Operation (Asynchronous).............................................................41311.5.14 Abort Operation (Synchronous) ..............................................................41311.5.15 High Speed Mode Setup ........................................................................41311.5.16 Error Recovery Operation ......................................................................41311.5.17 Error Interruption Recovery Sequence.....................................................41411.5.18 Auto CMD12 Error Recovery Sequence ....................................................41411.5.19 Wakeup Control Sequence .....................................................................41511.5.20 Suspend/Resume Operation ..................................................................415

    12.0 DMA .......................................................................................................................41712.1 Overview........................................................................................................41712.2 Register Address Map.......................................................................................419

    12.2.1 PCI Configuration Registers ...................................................................41912.2.2 Memory-Mapped I/O Registers (BAR: MEM_BASE) ....................................419

    12.3 Registers ........................................................................................................42112.3.1 PCI Configuration Registers ...................................................................421

    12.3.1.1 VID Vendor Identification Register .........................................42112.3.1.2 DID Device Identification Register..........................................42112.3.1.3 PCICMD PCI Command Register.............................................42112.3.1.4 PCISTSPCI Status Register....................................................42212.3.1.5 RID Revision Identification Register........................................42312.3.1.6 CC Class Code Register ........................................................42312.3.1.7 MLT Master Latency Timer Register ........................................42412.3.1.8 HEADTYP Header Type Register .............................................42412.3.1.9 MEM_BASE MEM Base Address Register ..................................42412.3.1.10 SSVID Subsystem Vendor ID Register ....................................42512.3.1.11 SSID Subsystem ID Register .................................................42512.3.1.12 CAP_PTR Capabilities Pointer Register ....................................42512.3.1.13 INT_LN Interrupt Line Register ..............................................42512.3.1.14 INT_PN Interrupt Pin Register ...............................................42612.3.1.15 MSI_CAPIDMSI Capability ID Register ....................................42612.3.1.16 MSI_NPRMSI Next Item Pointer Register.................................42612.3.1.17 MSI_MCRMSI Message Control Register ..................................42712.3.1.18 MSI_MARMSI Message Address Register .................................42712.3.1.19 MSI_MDMSI Message Data Register .......................................42812.3.1.20 PM_CAPIDPCI Power Management Capability ID Register ..........428

  • Intel Platform Controller Hub EG20TJuly 2012 DatasheetOrder Number: 324211-009US 13

    ContentsIntel Platform Controller Hub EG20T

    12.3.1.21 PM_NPRPM Next Item Pointer Register ................................... 42812.3.1.22 PM_CAPPower Management Capabilities Register..................... 42912.3.1.23 PWR_CNTL_STSPower Management Control/Status Register ..... 429

    12.3.2 Memory-Mapped I/O Registers (BAR: MEM_BASE).................................... 43012.3.2.1 Control Register 0 (Enable/Mode/Direction Set) ......................... 43012.3.2.2 Control Register 1 (Priority Set) ............................................... 43212.3.2.3 Control Register 2 (Interrupt Set) ........................................... 43312.3.2.4 Status Register 0 ................................................................... 43412.3.2.5 Status Register 1 .................................................................. 43512.3.2.6 DMAm Inside Address Register (m=0, 1, 2, 3, 4, 5, 6, 7) ........... 43612.3.2.7 DMAm Outside Address Register (m=0, 1, 2, 3, 4, 5, 6, 7) ......... 43712.3.2.8 DMAm Size Register (m=0, 1, 2, 3, 4, 5, 6, 7) .......................... 437

    12.4 Functional Description...................................................................................... 43912.4.1 Basic DMA Operation Model ................................................................... 43912.4.2 DMA Control Register .......................................................................... 43912.4.3 DMA Source/Destination Address ........................................................... 43912.4.4 DMA Transfer from PCI Function to Memory Space (or MMIO Space) ........ 44012.4.5 DMA Transfer from Memory Space (or MMIO space) to PCI Function ........ 440

    13.0 CAN Controller....................................................................................................... 44113.1 Overview ....................................................................................................... 44113.2 Features ........................................................................................................ 44113.3 Register Address Map ...................................................................................... 441

    13.3.1 PCI Configuration Registers ................................................................... 44113.3.2 Memory-Mapped I/O Registers (BAR: MEM_BASE).................................... 44213.3.3 Hardware Reset ................................................................................... 444

    13.4 Registers........................................................................................................ 44413.4.1 PCI Configuration Registers ................................................................... 444

    13.4.1.1 VID Vendor Identification Register......................................... 44413.4.1.2 DID Device Identification Register ......................................... 44413.4.1.3 PCICMD PCI Command Register ............................................ 44513.4.1.4 PCISTSPCI Status Register ................................................... 44513.4.1.5 RID Revision Identification Register ....................................... 44613.4.1.6 CC Class Code Register ........................................................ 44713.4.1.7 MLT Master Latency Timer Register........................................ 44713.4.1.8 HEADTYP Header Type Register............................................. 44713.4.1.9 MEM_BASE MEM Base Address Register.................................. 44813.4.1.10 SSVID Subsystem Vendor ID Register.................................... 44813.4.1.11 SSID Subsystem ID Register ................................................ 44813.4.1.12 CAP_PTR Capabilities Pointer Register .................................... 44913.4.1.13 INT_LN Interrupt Line Register.............................................. 44913.4.1.14 INT_PN Interrupt Pin Register ............................................... 44913.4.1.15 MSI_CAPIDMSI Capability ID Register .................................... 44913.4.1.16 MSI_NPRMSI Next Item Pointer Register ................................ 45013.4.1.17 MSI_MCRMSI Message Control Register.................................. 45013.4.1.18 MSI_MARMSI Message Address Register................................. 45013.4.1.19 MSI_MDMSI Message Data Register....................................... 45113.4.1.20 PM_CAPIDPCI Power Management Capability ID Register.......... 45113.4.1.21 PM_NPRPM Next Item Pointer Register ................................... 45113.4.1.22 PM_CAPPower Management Capabilities Register..................... 45213.4.1.23 PWR_CNTL_STSPower Management Control/Status Register ..... 452

    13.4.2 Memory-Mapped Registers (Control Registers, BAR: MEM_BASE)................ 45313.4.2.1 CAN Control Register (CANCONT)............................................. 45313.4.2.2 CAN Status Register (CANSTAT)............................................... 45413.4.2.3 CAN Error Counter Register (CANERRC) .................................... 45613.4.2.4 CAN Extended Function Register (CANOPT) ............................... 45713.4.2.5 CAN BRP Extended Register (CANBRPE) .................................... 457

  • Intel Platform Controller Hub EG20TContents

    Intel Platform Controller Hub EG20TDatasheet July 201214 Order Number: 324211-009US

    13.4.3 Memory-Mapped Registers (Message Interface Register Sets, BAR:MEM_BASE) .........................................................................................45813.4.3.1 IFm Command Request Register (IFmCREQ: m = 1, 2) ...............45913.4.3.2 IFm Command Mask Register (IFmCMASK: m = 1, 2) .................46013.4.3.3 IFm Message Buffer Registers ..................................................46113.4.3.4 Message Objects in Message RAM ............................................465

    13.4.4 Memory-Mapped Registers (Message Handler Registers, BAR: MEM_BASE)...46913.4.4.1 CAN Interrupt Register (CANINT)..............................................46913.4.4.2 CAN Transmission Request 1 Register and CAN Transmission

    Request 2 Register (CANTREQ1, CANTREQ2)...............................47013.4.4.3 CAN New Data 1 Register and CAN New Data 2 Register

    (CANNDATA1, CANNDATA2) .....................................................47013.4.4.4 CAN Interrupt Pending 1 Register and CAN Interrupt Pending 2

    Register (CANIPEND1, CANIPEND2) ...........................................47213.4.4.5 CAN Message Valid 1 Register and CAN Message Valid 2 Register

    (CANMVAL1, CANMVAL2) .........................................................47313.4.4.6 SOFT RESET Register (SRST) ...................................................473

    13.5 Functional Description ......................................................................................47413.5.1 Operating Mode....................................................................................474

    13.5.1.1 Software Initialization .............................................................47413.5.1.2 CAN Message Transfer ............................................................47613.5.1.3 DAR (Disabled Automatic Retransmission) .................................476

    13.5.2 Frame Types........................................................................................47613.5.2.1 Data Frame ...........................................................................47713.5.2.2 Remote Frame .......................................................................47813.5.2.3 Error Frame...........................................................................47813.5.2.4 Overload Frame .....................................................................478

    13.5.3 Message Object Management.................................................................47913.5.4 Message Handler State Machine .............................................................479

    13.5.4.1 Data Transfer from/to Message RAM .........................................47913.5.4.2 Message Transmission ............................................................48113.5.4.3 Acceptance Filtering of Received Messages ................................48213.5.4.4 Transmit/Receive Priority .......................................................483

    13.5.5 Configuration of a Transmit Object..........................................................48313.5.6 Updating a Transmit Object ...................................................................48313.5.7 Configuration of a Receive Object ..........................................................48613.5.8 Handling of Received Messages .............................................................48613.5.9 Configuration of a FIFO Buffer ...............................................................488

    13.5.9.1 Reception of Message with FIFO Buffers ....................................48813.5.9.2 Reading from a FIFO Buffer .....................................................488

    13.5.10 Handling of Interrupts ..........................................................................49013.5.11 Configuration of the Bit Timing...............................................................490

    13.5.11.1 Bit Time and Bit Rate ..............................................................49113.5.11.2 Propagation Time Segment .....................................................49213.5.11.3 Phase Buffer Segments and Synchronization .............................49313.5.11.4 Oscillator Tolerance Range ......................................................49613.5.11.5 Configuring the CAN Protocol Controller ....................................49713.5.11.6 Calculating the Bit Timing Parameters ......................................497

    13.5.12 Extended Function Mode........................................................................49913.5.12.1 CAN Bus Analysis Mode ...........................................................49913.5.12.2 Silent Mode ...........................................................................49913.5.12.3 Loop Back Mode .....................................................................49913.5.12.4 Loop Back Combined with Silent Mode ......................................50013.5.12.5 Basic Mode ...........................................................................50113.5.12.6 Software Control for TX Pin .....................................................501

    14.0 IEEE1588 ...............................................................................................................50314.1 Overview........................................................................................................503

  • Intel Platform Controller Hub EG20TJuly 2012 DatasheetOrder Number: 324211-009US 15

    ContentsIntel Platform Controller Hub EG20T

    14.2 Features ........................................................................................................ 50314.3 Block Diagram ................................................................................................ 50314.4 Register Address Map ...................................................................................... 504

    14.4.1 PCI Configuration Registers ................................................................... 50414.4.2 Memory-Mapped I/O Registers (BAR: MEM_BASE).................................... 505

    14.4.2.1 Register Summary Table......................................................... 50514.5 Registers........................................................................................................ 507

    14.5.1 PCI Configuration Registers ................................................................... 50714.5.1.1 VID Vendor Identification Register......................................... 50714.5.1.2 DID Device Identification Register ......................................... 50714.5.1.3 PCICMD PCI Command Register ............................................ 50714.5.1.4 PCISTSPCI Status Register ................................................... 50814.5.1.5 RID Revision Identification Register ....................................... 50914.5.1.6 CC Class Code Register ........................................................ 50914.5.1.7 MLT Master Latency Timer Register........................................ 51014.5.1.8 HEADTYP Header Type Register............................................. 51014.5.1.9 MEM_BASE MEM Base Address Register.................................. 51014.5.1.10 SSVID Subsystem Vendor ID Register.................................... 51114.5.1.11 SSID Subsystem ID Register ................................................ 51114.5.1.12 CAP_PTR Capabilities Pointer Register .................................... 51114.5.1.13 INT_LN Interrupt Line Register.............................................. 51114.5.1.14 INT_PN Interrupt Pin Register ............................................... 51214.5.1.15 MSI_CAPIDMSI Capability ID Register .................................... 51214.5.1.16 MSI_NPRMSI Next Item Pointer Register ................................ 51214.5.1.17 MSI_MCRMSI Message Control Register.................................. 51214.5.1.18 MSI_MARMSI Message Address Register................................. 51314.5.1.19 MSI_MDMSI Message Data Register....................................... 51414.5.1.20 PM_CAPIDPCI Power Management Capability ID Register.......... 51414.5.1.21 PM_NPRPM Next Item Pointer Register ................................... 51414.5.1.22 PM_CAPPower Management Capabilities Register..................... 51514.5.1.23 PWR_CNTL_STSPower Management Control/Status Register ..... 515

    14.5.2 Memory-Mapped I/O Registers (BAR: MEM_BASE).................................... 51614.5.2.1 Time Sync Control Register ..................................................... 51614.5.2.2 Time Sync Event Register ....................................................... 51714.5.2.3 Addend Register .................................................................... 51814.5.2.4 Accumulator Register ............................................................. 51814.5.2.5 PPS Compare Register ............................................................ 51914.5.2.6 RawSystemTime_Low Register................................................. 51914.5.2.7 RawSystemTime_High Register................................................ 51914.5.2.8 SystemTime_Low Register ...................................................... 52014.5.2.9 SystemTime_High Register ..................................................... 52014.5.2.10 TargetTime_Low Register........................................................ 52014.5.2.11 TargetTime_High Register ....................................................... 52114.5.2.12 Auxiliary Slave Mode Snapshot Low Register ASMS_Low............ 52114.5.2.13 Auxiliary Slave Mode Snapshot High Register ASMS_High .......... 52114.5.2.14 Auxiliary Master Mode Snapshot Low Register AMMS_Low......... 52214.5.2.15 Auxiliary Master Mode Snapshot High Register AMMS_High ....... 52214.5.2.16 TS_Channel_Control Register (Per Channel) .............................. 52214.5.2.17 TS_Channel_Event Register (Per Channel)................................. 52314.5.2.18 XMIT_Snapshot_Low Register (Per Channel).............................. 52414.5.2.19 XMIT_Snapshot_High Register (Per Channel)............................. 52514.5.2.20 RECV_Snapshot Low Register (Per Channel) .............................. 52514.5.2.21 RECV_Snapshot High Register (Per Channel) ............................. 52614.5.2.22 SourceUUID0_Low Register (Per Channel)................................. 52614.5.2.23 SequenceID/SourceUUID_High Register (Per Channel)................ 52614.5.2.24 Time Sync CAN Channel Event Register .................................... 52714.5.2.25 CAN Transmit Snapshot Low Register ....................................... 52714.5.2.26 CAN Transmit Snapshot High Register....................................... 52814.5.2.27 Ethernet CAN Select Register................................................... 528

  • Intel Platform Controller Hub EG20TContents

    Intel Platform Controller Hub EG20TDatasheet July 201216 Order Number: 324211-009US

    14.5.2.28 Station Address 1 Register.......................................................52914.5.2.29 Station Address 2 Register.......................................................52914.5.2.30 Station Address 3 Register.......................................................52914.5.2.31 Station Address 4 Register.......................................................53014.5.2.32 Station Address 5 Register.......................................................53014.5.2.33 Station Address 6 Register.......................................................53014.5.2.34 System Time Low Maximum Set Enable Register ........................53114.5.2.35 System Time Low Maximum Set Register...................................53114.5.2.36 SOFT RESET Register (SRST) ...................................................532

    14.6 Functional Description ......................................................................................53214.6.1 Theory of Operation (Ethernet Interfaces)................................................532

    14.6.1.1 Priority Message Support.........................................................53314.6.1.2 PTP Message Formats .............................................................53414.6.1.3 Sync Message ........................................................................53614.6.1.4 Follow_Up Message ................................................................53614.6.1.5 Delay_Req Message................................................................53614.6.1.6 Delay_Resp Message ..............................................................53714.6.1.7 IPv6 Compatibility ..................................................................53714.6.1.8 Traffic Analyzer Support ..........................................................53714.6.1.9 MII Clocking Methods..............................................................53714.6.1.10 System Time Clock Rate Set by Addend Register ........................53814.6.1.11 MII Message Detection............................................................538

    14.6.2 IEEE1588 Over CAN..............................................................................54214.6.3 Theory of Operation (Auxiliary Snapshots) ...............................................543

    14.6.3.1 Master Mode Programming Considerations .................................54314.6.3.2 Slave Mode Programming Considerations...................................543

    15.0 I2C Interface..........................................................................................................54515.1 Overview........................................................................................................54515.2 Features.........................................................................................................54515.3 Register Address Map.......................................................................................545

    15.3.1 PCI Configuration Registers ...................................................................54515.3.2 Memory-Mapped I/O Registers (BAR: MEM_BASE) ....................................546

    15.4 Registers ........................................................................................................54715.4.1 PCI Configuration Registers ...................................................................547

    15.4.1.1 VID Vendor Identification Register .........................................54715.4.1.2 DID Device Identification Register..........................................54715.4.1.3 PCICMD PCI Command Register.............................................54715.4.1.4 PCISTSPCI Status Register....................................................54815.4.1.5 RID Revision Identification Register........................................54915.4.1.6 CC Class Code Register ........................................................54915.4.1.7 MLT Master Latency Timer Register ........................................55015.4.1.8 HEADTYP Header Type Register .............................................55015.4.1.9 MEM_BASE MEM Base Address Register ..................................55015.4.1.10 SSVID Subsystem Vendor ID Register ....................................55115.4.1.11 SSID Subsystem ID Register .................................................55115.4.1.12 CAP_PTR Capabilities Pointer Register ....................................55115.4.1.13 INT_LN Interrupt Line Register ..............................................55115.4.1.14 INT_PN Interrupt Pin Register ...............................................55215.4.1.15 MSI_CAPIDMSI Capability ID Register ....................................55215.4.1.16 MSI_NPRMSI Next Item Pointer Register.................................55215.4.1.17 MSI_MCRMSI Message Control Register ..................................55215.4.1.18 MSI_MARMSI Message Address Register .................................55315.4.1.19 MSI_MDMSI Message Data Register .......................................55315.4.1.20 PM_CAPIDPCI Power Management Capability ID Register ..........55415.4.1.21 PM_NPRPM Next Item Pointer Register ...................................55415.4.1.22 PM_CAPPower Management Capabilities Register .....................55415.4.1.23 PWR_CNTL_STSPower Management Control/Status Register......555

    15.4.2 Memory-Mapped I/O Registers (BAR: MEM_BASE) ....................................555

  • Intel Platform Controller Hub EG20TJuly 2012 DatasheetOrder Number: 324211-009US 17

    ContentsIntel Platform Controller Hub EG20T

    15.4.2.1 Slave Address Register (I2CSADR) ........................................... 55515.4.2.2 I2C Control Register (I2CCTL).................................................. 55615.4.2.3 I2C Status Register (I2CSR) .................................................... 55815.4.2.4 I2C Data Register (I2CDR) ...................................................... 56015.4.2.5 I2C Bus Monitor Register (I2CMON) .......................................... 56015.4.2.6 I2C Bus Transfer Rate Setting Counter (I2CBC) .......................... 56115.4.2.7 I2C Mode Register (I2CMOD) ................................................... 56115.4.2.8 I2C Buffer Mode Slave Address Register (I2CBUFSLV) ................. 56215.4.2.9 I2C Buffer Mode Subaddress Register (I2CBUFSUB) .................... 56315.4.2.10 I2C Buffer Mode Format Register (I2CBUFFOR) .......................... 56415.4.2.11 I2C Buffer Mode Control Register (I2CBUFCTL)........................... 56515.4.2.12 I2C Buffer Mode Interrupt Mask Register (I2CBUFMSK) ............... 56515.4.2.13 I2C Buffer Mode Status Register (I2CBUFSTA) ........................... 56615.4.2.14 I2C Buffer Mode Level Register (I2CBUFLEV) ............................. 56815.4.2.15 EEPROM Software Reset Mode Format Register (I2CESRFOR)....... 56815.4.2.16 EEPROM Software Reset Mode Control Register (I2CESRCTL) ....... 56915.4.2.17 EEPROM Software Reset Mode Interrupt Mask Register

    (I2CESRMSK) ......................................................................... 57015.4.2.18 EEPROM Software Reset Mode Status Register (I2CESRSTA)........ 57115.4.2.19 I2C Timer Register (I2CTMR) ................................................... 57115.4.2.20 I2C Input Noise Filter Setting Register (I2CNF)........................... 57215.4.2.21 SOFT RESET Register (SRST)................................................... 573

    15.5 Functional Description...................................................................................... 57415.5.1 Sequence of Operation ......................................................................... 574

    15.5.1.1 Flow of Initial Setting ............................................................. 57515.5.1.2 Flow of Slave Reception .......................................................... 57815.5.1.3 Flow of Slave Transmission ..................................................... 57915.5.1.4 Flow of Master Transmission.................................................... 58015.5.1.5 Flow of Master Reception ........................................................ 58115.5.1.6 Flow of Compound Mode (Receiving by Master after Transmitting

    from Master).......................................................................... 58215.5.1.7 Flow of Compound Mode (Transmitting from Master after Receiving

    by Master) ............................................................................. 58415.5.1.8 Flow for Arbitration Lost and NACK Received.............................. 58615.5.1.9 Flow for When Buffer Mode Used.............................................. 58715.5.1.10 Flow for When EEPROM Software Reset Mode Used..................... 58915.5.1.11 Flow for Switching Modes........................................................ 58915.5.1.12 Returning from Arbitration Lost................................................ 590

    15.5.2 Waveform in Each Mode........................................................................ 59015.5.2.1 Waveform Transmitted by Master............................................. 59015.5.2.2 Waveform Received by Master ................................................. 59115.5.2.3 Waveform Transmitted by Slave .............................................. 59115.5.2.4 Waveform Received by Slave................................................... 59115.5.2.5 Waveform of Compound Format (Master Transmission + Master

    Reception) ............................................................................. 59115.5.2.6 Waveform of Compound Format (Master Reception + Master

    Transmission) ........................................................................ 59215.5.2.7 Waveform for When Buffer Mode Used 1 ................................... 59215.5.2.8 Waveform for When Buffer Mode Used 2 ................................... 59215.5.2.9 Waveform for When Buffer Mode Used 3 ................................... 59215.5.2.10 Waveform for When Buffer Mode Used 4 ................................... 59315.5.2.11 Waveform for When Buffer Mode Used 5 ................................... 59315.5.2.12 Waveform for When Buffer Mode Used 6 ................................... 59415.5.2.13 Waveform for When Buffer Mode Used 7 ................................... 59415.5.2.14 Waveform for When Buffer Mode Used 8 ................................... 59515.5.2.15 Waveform of Clock Synchronization.......................................... 595

    15.5.3 Timing Diagrams of Setup and Clear in I2CCSR........................................ 59615.5.3.1 I2CSR Timing Diagram When Viewed From the Master

    (Transmitting Side) ................................................................. 597

  • Intel Platform Controller Hub EG20TContents

    Intel Platform Controller Hub EG20TDatasheet July 201218 Order Number: 324211-009US

    15.5.3.2 I2CSR Timing Diagram When Viewed From the Slave (ReceivingSi