Intel I/O Controller Hub 7 (ICH7) Family · Document Number: 307013-003 Intel® I/O Controller Hub...

848
Document Number: 307013-003 Intel ® I/O Controller Hub 7 (ICH7) Family Datasheet — For the Intel ® 82801GB ICH7, 82801GR ICH7R, 82801GDH ICH7DH, 82801GBM ICH7-M, 82801GHM ICH7-M DH, and 82801GU ICH7-U I/O Controller Hubs April 2007

Transcript of Intel I/O Controller Hub 7 (ICH7) Family · Document Number: 307013-003 Intel® I/O Controller Hub...

  • Document Number: 307013-003

    Intel I/O Controller Hub 7 (ICH7) FamilyDatasheet

    For the Intel 82801GB ICH7, 82801GR ICH7R, 82801GDH ICH7DH, 82801GBM ICH7-M, 82801GHM ICH7-M DH, and 82801GU ICH7-U I/O Controller Hubs

    April 2007

  • 2 Intel ICH7 Family Datasheet

    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, RELATINGTO 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. Intel products are not intended for use in medical, life saving, or life sustaining applications. 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 Intel I/O Controller Hub 7 (ICH7) Family chipset component 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.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.Alert on LAN is a result of the Intel-IBM Advanced Manageability Alliance and a trademark of IBM.

    Intel, Intel SpeedStep, and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.*Other names and brands may be claimed as the property of others.Copyright 20052007, Intel Corporation

  • Intel ICH7 Family Datasheet 3

    Contents

    1 Introduction ............................................................................................................ 391.1 Overview ......................................................................................................... 421.2 Intel ICH7 Family High-Level Component Differences ........................................... 50

    2 Signal Description ................................................................................................... 512.1 Direct Media Interface (DMI) to Host Controller ..................................................... 552.2 PCI Express* (Desktop and Mobile Only) .............................................................. 552.3 Platform LAN Connect Interface (Desktop and Mobile Only)..................................... 562.4 EEPROM Interface (Desktop and Mobile Only)........................................................ 562.5 Firmware Hub Interface (Desktop and Mobile Only)................................................ 562.6 PCI Interface .................................................................................................... 572.7 Serial ATA Interface (Desktop and Mobile Only) ..................................................... 592.8 IDE Interface.................................................................................................... 602.9 LPC Interface.................................................................................................... 622.10 Interrupt Interface ............................................................................................ 622.11 USB Interface ................................................................................................... 632.12 Power Management Interface.............................................................................. 642.13 Processor Interface............................................................................................ 662.14 SMBus Interface................................................................................................ 682.15 System Management Interface............................................................................ 682.16 Real Time Clock Interface ................................................................................... 692.17 Other Clocks..................................................................................................... 692.18 Miscellaneous Signals ........................................................................................ 702.19 AC 97/Intel High Definition Audio Link............................................................... 712.20 Serial Peripheral Interface (SPI) (Desktop and Mobile Only) .................................... 722.21 Intel Quick Resume Technology (Intel ICH7DH Only) ......................................... 722.22 General Purpose I/O Signals ............................................................................... 722.23 Power and Ground............................................................................................. 742.24 Pin Straps ........................................................................................................ 76

    2.24.1 Functional Straps ................................................................................... 762.24.2 External RTC Circuitry ............................................................................. 78

    3 Intel ICH7 Pin States............................................................................................. 793.1 Integrated Pull-Ups and Pull-Downs ..................................................................... 793.2 IDE Integrated Series Termination Resistors.......................................................... 803.3 Output and I/O Signals Planes and States............................................................. 813.4 Power Planes for Input Signals ............................................................................ 90

    4 Intel ICH7 and System Clock Domains................................................................... 95

    5 Functional Description ............................................................................................. 995.1 PCI-to-PCI Bridge (D30:F0) ................................................................................ 99

    5.1.1 PCI Bus Interface ................................................................................... 995.1.2 PCI Bridge As an Initiator ........................................................................ 99

    5.1.2.1 Memory Reads and Writes.......................................................... 995.1.2.2 I/O Reads and Writes .............................................................. 1005.1.2.3 Configuration Reads and Writes ................................................ 1005.1.2.4 Locked Cycles......................................................................... 1005.1.2.5 Target / Master Aborts ............................................................. 1005.1.2.6 Secondary Master Latency Timer............................................... 1005.1.2.7 Dual Address Cycle (DAC) ........................................................ 1005.1.2.8 Memory and I/O Decode to PCI................................................. 101

    5.1.3 Parity Error Detection and Generation ..................................................... 1015.1.4 PCIRST#............................................................................................. 101

  • 4 Intel ICH7 Family Datasheet

    5.1.5 Peer Cycles ..........................................................................................1025.1.6 PCI-to-PCI Bridge Model ........................................................................1025.1.7 IDSEL to Device Number Mapping ...........................................................1035.1.8 Standard PCI Bus Configuration Mechanism..............................................103

    5.2 PCI Express* Root Ports (D28:F0,F1,F2,F3,F4,F5) (Desktop and Mobile Only) ..........1035.2.1 Interrupt Generation .............................................................................1035.2.2 Power Management...............................................................................104

    5.2.2.1 S3/S4/S5 Support ...................................................................1045.2.2.2 Resuming from Suspended State ...............................................1045.2.2.3 Device Initiated PM_PME Message .............................................1045.2.2.4 SMI/SCI Generation.................................................................105

    5.2.3 SERR# Generation ................................................................................1055.2.4 Hot-Plug..............................................................................................106

    5.2.4.1 Presence Detection ..................................................................1065.2.4.2 Message Generation ................................................................1065.2.4.3 Attention Button Detection .......................................................1075.2.4.4 SMI/SCI Generation.................................................................107

    5.3 LAN Controller (B1:D8:F0) (Desktop and Mobile Only) ..........................................1085.3.1 LAN Controller PCI Bus Interface.............................................................108

    5.3.1.1 Bus Slave Operation ................................................................1095.3.1.2 CLKRUN# Signal (Mobile Only)..................................................1105.3.1.3 PCI Power Management ...........................................................1105.3.1.4 PCI Reset Signal......................................................................1105.3.1.5 Wake-Up Events......................................................................1115.3.1.6 Wake on LAN* (Preboot Wake-Up).............................................112

    5.3.2 Serial EEPROM Interface ........................................................................1125.3.3 CSMA/CD Unit ......................................................................................113

    5.3.3.1 Full Duplex .............................................................................1135.3.3.2 Flow Control ...........................................................................1135.3.3.3 VLAN Support .........................................................................113

    5.3.4 Media Management Interface .................................................................1135.3.5 TCO Functionality .................................................................................114

    5.3.5.1 Advanced TCO Mode ................................................................1145.4 Alert Standard Format (ASF) (Desktop and Mobile Only) .......................................115

    5.4.1 ASF Management Solution Features/Capabilities .......................................1165.4.2 ASF Hardware Support ..........................................................................117

    5.4.2.1 Intel 82562EM/EX .................................................................1175.4.2.2 EEPROM (256x16, 1 MHz) ........................................................1175.4.2.3 Legacy Sensor SMBus Devices ..................................................1175.4.2.4 Remote Control SMBus Devices .................................................1175.4.2.5 ASF Sensor SMBus Devices.......................................................117

    5.4.3 ASF Software Support ...........................................................................1185.5 LPC Bridge (w/ System and Management Functions) (D31:F0) ...............................118

    5.5.1 LPC Interface .......................................................................................1185.5.1.1 LPC Cycle Types ......................................................................1195.5.1.2 Start Field Definition ................................................................1195.5.1.3 Cycle Type / Direction (CYCTYPE + DIR) .....................................1205.5.1.4 SIZE......................................................................................1205.5.1.5 SYNC.....................................................................................1215.5.1.6 SYNC Time-Out.......................................................................1215.5.1.7 SYNC Error Indication ..............................................................1215.5.1.8 LFRAME# Usage......................................................................1225.5.1.9 I/O Cycles ..............................................................................1225.5.1.10 Bus Master Cycles ...................................................................1225.5.1.11 LPC Power Management ...........................................................1225.5.1.12 Configuration and Intel ICH7 Implications.................................123

    5.5.2 SERR# Generation ................................................................................123

  • Intel ICH7 Family Datasheet 5

    5.6 DMA Operation (D31:F0).................................................................................. 1245.6.1 Channel Priority ................................................................................... 124

    5.6.1.1 Fixed Priority.......................................................................... 1255.6.1.2 Rotating Priority ..................................................................... 125

    5.6.2 Address Compatibility Mode ................................................................... 1255.6.3 Summary of DMA Transfer Sizes............................................................. 125

    5.6.3.1 Address Shifting When Programmed for 16-Bit I/O Count by Words ................................................................................... 126

    5.6.4 Autoinitialize........................................................................................ 1265.6.5 Software Commands............................................................................. 126

    5.7 LPC DMA (Desktop and Mobile Only) .................................................................. 1275.7.1 Asserting DMA Requests........................................................................ 1275.7.2 Abandoning DMA Requests .................................................................... 1275.7.3 General Flow of DMA Transfers ............................................................... 1285.7.4 Terminal Count .................................................................................... 1285.7.5 Verify Mode ......................................................................................... 1285.7.6 DMA Request Deassertion...................................................................... 1295.7.7 SYNC Field / LDRQ# Rules..................................................................... 129

    5.8 8254 Timers (D31:F0) ..................................................................................... 1305.8.1 Timer Programming .............................................................................. 1315.8.2 Reading from the Interval Timer............................................................. 132

    5.8.2.1 Simple Read........................................................................... 1325.8.2.2 Counter Latch Command.......................................................... 1325.8.2.3 Read Back Command .............................................................. 132

    5.9 8259 Interrupt Controllers (PIC) (D31:F0) .......................................................... 1335.9.1 Interrupt Handling................................................................................ 134

    5.9.1.1 Generating Interrupts.............................................................. 1345.9.1.2 Acknowledging Interrupts ........................................................ 1345.9.1.3 Hardware/Software Interrupt Sequence ..................................... 135

    5.9.2 Initialization Command Words (ICWx) ..................................................... 1355.9.2.1 ICW1 .................................................................................... 1355.9.2.2 ICW2 .................................................................................... 1365.9.2.3 ICW3 .................................................................................... 1365.9.2.4 ICW4 .................................................................................... 136

    5.9.3 Operation Command Words (OCW) ......................................................... 1365.9.4 Modes of Operation .............................................................................. 136

    5.9.4.1 Fully Nested Mode................................................................... 1365.9.4.2 Special Fully-Nested Mode........................................................ 1375.9.4.3 Automatic Rotation Mode (Equal Priority Devices)........................ 1375.9.4.4 Specific Rotation Mode (Specific Priority).................................... 1375.9.4.5 Poll Mode............................................................................... 1375.9.4.6 Cascade Mode ........................................................................ 1385.9.4.7 Edge and Level Triggered Mode................................................. 1385.9.4.8 End of Interrupt (EOI) Operations ............................................. 1385.9.4.9 Normal End of Interrupt........................................................... 1385.9.4.10 Automatic End of Interrupt Mode .............................................. 138

    5.9.5 Masking Interrupts ............................................................................... 1395.9.5.1 Masking on an Individual Interrupt Request ................................ 1395.9.5.2 Special Mask Mode.................................................................. 139

    5.9.6 Steering PCI Interrupts ......................................................................... 1395.10 Advanced Programmable Interrupt Controller (APIC) (D31:F0) .............................. 140

    5.10.1 Interrupt Handling................................................................................ 1405.10.2 Interrupt Mapping ................................................................................ 1405.10.3 PCI / PCI Express* Message-Based Interrupts .......................................... 1415.10.4 Front Side Bus Interrupt Delivery ........................................................... 141

    5.10.4.1 Edge-Triggered Operation......................................................... 142

  • 6 Intel ICH7 Family Datasheet

    5.10.4.2 Level-Triggered Operation.........................................................1425.10.4.3 Registers Associated with Front Side Bus Interrupt Delivery ..........1425.10.4.4 Interrupt Message Format ........................................................142

    5.11 Serial Interrupt (D31:F0)..................................................................................1435.11.1 Start Frame .........................................................................................1435.11.2 Data Frames ........................................................................................1445.11.3 Stop Frame..........................................................................................1445.11.4 Specific Interrupts Not Supported via SERIRQ...........................................1445.11.5 Data Frame Format ...............................................................................145

    5.12 Real Time Clock (D31:F0) .................................................................................1465.12.1 Update Cycles ......................................................................................1465.12.2 Interrupts............................................................................................1475.12.3 Lockable RAM Ranges............................................................................1475.12.4 Century Rollover ...................................................................................1475.12.5 Clearing Battery-Backed RTC RAM...........................................................147

    5.13 Processor Interface (D31:F0) ............................................................................1495.13.1 Processor Interface Signals ....................................................................149

    5.13.1.1 A20M# (Mask A20)..................................................................1495.13.1.2 INIT# (Initialization)................................................................1505.13.1.3 FERR#/IGNNE# (Numeric Coprocessor Error/ Ignore Numeric

    Error) ....................................................................................1505.13.1.4 NMI (Non-Maskable Interrupt) ..................................................1515.13.1.5 Stop Clock Request and CPU Sleep (STPCLK# and CPUSLP#) ........1515.13.1.6 CPU Power Good (CPUPWRGOOD) .............................................1515.13.1.7 Deeper Sleep (DPSLP#) (Mobile/Ultra Mobile Only) ......................151

    5.13.2 Dual-Processor Issues (Desktop Only) .....................................................1525.13.2.1 Signal Differences ...................................................................1525.13.2.2 Power Management .................................................................152

    5.14 Power Management (D31:F0) ............................................................................1535.14.1 Features ..............................................................................................1535.14.2 Intel ICH7 and System Power States .....................................................1535.14.3 System Power Planes ............................................................................1565.14.4 SMI#/SCI Generation............................................................................156

    5.14.4.1 PCI Express* SCI (Desktop and Mobile Only) ..............................1595.14.4.2 PCI Express* Hot-Plug (Desktop and Mobile Only) .......................159

    5.14.5 Dynamic Processor Clock Control ............................................................1595.14.5.1 Transition Rules among S0/Cx and Throttling States.....................1605.14.5.2 Deferred C3/C4 (Mobile/Ultra Mobile Only) .................................1615.14.5.3 POPUP (Auto C3/C4 to C2) (Mobile/Ultra Mobile Only) ..................1615.14.5.4 POPDOWN (Auto C2 to C3/C4) (Mobile/Ultra Mobile Only) .............161

    5.14.6 Dynamic PCI Clock Control (Mobile/Ultra Mobile Only)................................1615.14.6.1 Conditions for Checking the PCI Clock ........................................1625.14.6.2 Conditions for Maintaining the PCI Clock.....................................1625.14.6.3 Conditions for Stopping the PCI Clock ........................................1625.14.6.4 Conditions for Re-Starting the PCI Clock .....................................1625.14.6.5 LPC Devices and CLKRUN# (Mobile and Ultra Mobile Only) ............162

    5.14.7 Sleep States ........................................................................................1635.14.7.1 Sleep State Overview...............................................................1635.14.7.2 Initiating Sleep State ...............................................................1635.14.7.3 Exiting Sleep States.................................................................1635.14.7.4 PCI Express* WAKE# Signal and PME Event Message (

    Desktop and Mobile only) .........................................................1655.14.7.5 Sx-G3-Sx, Handling Power Failures ............................................165

    5.14.8 Thermal Management............................................................................1665.14.8.1 THRM# Signal.........................................................................1665.14.8.2 Processor Initiated Passive Cooling ............................................1665.14.8.3 THRM# Override Software Bit ...................................................167

  • Intel ICH7 Family Datasheet 7

    5.14.8.4 Active Cooling ........................................................................ 1675.14.9 Event Input Signals and Their Usage....................................................... 167

    5.14.9.1 PWRBTN# (Power Button) ........................................................ 1675.14.9.2 RI# (Ring Indicator)................................................................ 1685.14.9.3 PME# (PCI Power Management Event) ....................................... 1695.14.9.4 SYS_RESET# Signal ................................................................ 1695.14.9.5 THRMTRIP# Signal.................................................................. 1695.14.9.6 BM_BUSY# (Mobile/Ultra Mobile Only) ....................................... 170

    5.14.10ALT Access Mode .................................................................................. 1705.14.10.1Write Only Registers with Read Paths in ALT Access Mode............. 1715.14.10.2PIC Reserved Bits ................................................................... 1735.14.10.3Read Only Registers with Write Paths in ALT Access Mode............. 173

    5.14.11System Power Supplies, Planes, and Signals ............................................ 1735.14.11.1Power Plane Control with SLP_S3#, SLP_S4# and SLP_S5# ......... 1735.14.11.2SLP_S4# and Suspend-To-RAM Sequencing................................ 1745.14.11.3PWROK Signal ........................................................................ 1745.14.11.4CPUPWRGD Signal .................................................................. 1755.14.11.5VRMPWRGD Signal.................................................................. 1755.14.11.6BATLOW# (Battery Low) (Mobile/Ultra Mobile Only)..................... 1755.14.11.7Controlling Leakage and Power Consumption during Low-Power

    States ................................................................................... 1755.14.12Clock Generators.................................................................................. 176

    5.14.12.1Clock Control Signals from Intel ICH7 to Clock Synthesizer (Mobile/Ultra Mobile Only)....................................... 176

    5.14.13Legacy Power Management Theory of Operation ....................................... 1775.14.13.1APM Power Management (Desktop Only) .................................... 1775.14.13.2Mobile APM Power Management (Mobile/Ultra Mobile Only) ........... 177

    5.15 System Management (D31:F0).......................................................................... 1785.15.1 Theory of Operation.............................................................................. 178

    5.15.1.1 Detecting a System Lockup ...................................................... 1785.15.1.2 Handling an Intruder ............................................................... 1785.15.1.3 Detecting Improper Firmware Hub Programming ......................... 179

    5.15.2 Heartbeat and Event Reporting via SMBus (Desktop and Mobile Only) ......... 1795.16 IDE Controller (D31:F1) ................................................................................... 183

    5.16.1 PIO Transfers....................................................................................... 1835.16.1.1 PIO IDE Timing Modes............................................................. 1845.16.1.2 IORDY Masking....................................................................... 1845.16.1.3 PIO 32-Bit IDE Data Port Accesses ............................................ 1845.16.1.4 PIO IDE Data Port Prefetching and Posting ................................. 185

    5.16.2 Bus Master Function ............................................................................. 1855.16.2.1 Physical Region Descriptor Format............................................. 1855.16.2.2 Bus Master IDE Timings........................................................... 1865.16.2.3 Interrupts .............................................................................. 1865.16.2.4 Bus Master IDE Operation ........................................................ 1875.16.2.5 Error Conditions...................................................................... 188

    5.16.3 Ultra ATA/100/66/33 Protocol................................................................. 1885.16.3.1 Operation .............................................................................. 189

    5.16.4 Ultra ATA/33/66/100 Timing .................................................................. 1905.16.5 ATA Swap Bay...................................................................................... 1905.16.6 SMI Trapping ....................................................................................... 190

    5.17 SATA Host Controller (D31:F2) (Desktop and Mobile Only) .................................... 1915.17.1 Theory of Operation.............................................................................. 192

    5.17.1.1 Standard ATA Emulation .......................................................... 1925.17.1.2 48-Bit LBA Operation............................................................... 192

    5.17.2 SATA Swap Bay Support ........................................................................ 1935.17.3 Intel Matrix Storage Technology Configuration (Intel ICH7R, ICH7DH,

    and ICH7-M DH Only) ........................................................................... 193

  • 8 Intel ICH7 Family Datasheet

    5.17.3.1 Intel Matrix Storage Manager RAID Option ROM ........................1945.17.4 Power Management Operation ................................................................194

    5.17.4.1 Power State Mappings..............................................................1945.17.4.2 Power State Transitions ............................................................1955.17.4.3 SMI Trapping (APM).................................................................196

    5.17.5 SATA LED ............................................................................................1965.17.6 AHCI Operation (Intel ICH7R, ICH7DH, and Mobile Only) .........................1965.17.7 Serial ATA Reference Clock Low Power Request (SATACLKREQ#) .................197

    5.18 High Precision Event Timers ..............................................................................1975.18.1 Timer Accuracy.....................................................................................1975.18.2 Interrupt Mapping.................................................................................1985.18.3 Periodic vs. Non-Periodic Modes ..............................................................1985.18.4 Enabling the Timers ..............................................................................1995.18.5 Interrupt Levels....................................................................................1995.18.6 Handling Interrupts...............................................................................1995.18.7 Issues Related to 64-Bit Timers with 32-Bit Processors ..............................200

    5.19 USB UHCI Host Controllers (D29:F0, F1, F2, and F3) ............................................2005.19.1 Data Structures in Main Memory .............................................................2005.19.2 Data Transfers to/from Main Memory.......................................................2005.19.3 Data Encoding and Bit Stuffing ...............................................................2005.19.4 Bus Protocol.........................................................................................200

    5.19.4.1 Bit Ordering............................................................................2005.19.4.2 SYNC Field .............................................................................2015.19.4.3 Packet Field Formats................................................................2015.19.4.4 Address Fields.........................................................................2015.19.4.5 Frame Number Field ................................................................2015.19.4.6 Data Field ..............................................................................2015.19.4.7 Cyclic Redundancy Check (CRC) ................................................201

    5.19.5 Packet Formats.....................................................................................2015.19.6 USB Interrupts .....................................................................................201

    5.19.6.1 Transaction-Based Interrupts ....................................................2025.19.6.2 Non-Transaction Based Interrupts ..............................................203

    5.19.7 USB Power Management ........................................................................2045.19.8 USB Legacy Keyboard Operation .............................................................204

    5.20 USB EHCI Host Controller (D29:F7)....................................................................2075.20.1 EHC Initialization ..................................................................................207

    5.20.1.1 BIOS Initialization ...................................................................2075.20.1.2 Driver Initialization ..................................................................2075.20.1.3 EHC Resets.............................................................................208

    5.20.2 Data Structures in Main Memory .............................................................2085.20.3 USB 2.0 Enhanced Host Controller DMA ...................................................2085.20.4 Data Encoding and Bit Stuffing ...............................................................2085.20.5 Packet Formats.....................................................................................2085.20.6 USB 2.0 Interrupts and Error Conditions ..................................................209

    5.20.6.1 Aborts on USB 2.0-Initiated Memory Reads.................................2095.20.7 USB 2.0 Power Management ..................................................................210

    5.20.7.1 Pause Feature.........................................................................2105.20.7.2 Suspend Feature .....................................................................2105.20.7.3 ACPI Device States..................................................................2105.20.7.4 ACPI System States.................................................................2115.20.7.5 Mobile/Ultra Mobile Only Considerations .....................................211

    5.20.8 Interaction with UHCI Host Controllers.....................................................2115.20.8.1 Port-Routing Logic ...................................................................2115.20.8.2 Device Connects .....................................................................2135.20.8.3 Device Disconnects..................................................................2135.20.8.4 Effect of Resets on Port-Routing Logic ........................................214

  • Intel ICH7 Family Datasheet 9

    5.20.9 USB 2.0 Legacy Keyboard Operation ....................................................... 2145.20.10USB 2.0 Based Debug Port .................................................................... 214

    5.20.10.1 Theory of Operation ............................................................... 2155.21 SMBus Controller (D31:F3) ............................................................................... 219

    5.21.1 Host Controller..................................................................................... 2205.21.1.1 Command Protocols ................................................................ 220

    5.21.2 Bus Arbitration..................................................................................... 2245.21.3 Bus Timing .......................................................................................... 224

    5.21.3.1 Clock Stretching ..................................................................... 2245.21.3.2 Bus Time Out (Intel ICH7 as SMBus Master)............................. 224

    5.21.4 Interrupts / SMI#................................................................................. 2255.21.5 SMBALERT# ........................................................................................ 2265.21.6 SMBus CRC Generation and Checking...................................................... 2265.21.7 SMBus Slave Interface .......................................................................... 226

    5.21.7.1 Format of Slave Write Cycle ..................................................... 2275.21.7.2 Format of Read Command........................................................ 2295.21.7.3 Format of Host Notify Command ............................................... 231

    5.22 AC 97 Controller (Audio D30:F2, Modem D30:F3) (Desktop and Mobile Only) ......... 2325.22.1 PCI Power Management ........................................................................ 2345.22.2 AC-Link Overview ................................................................................. 234

    5.22.2.1 Register Access ...................................................................... 2365.22.3 AC-Link Low Power Mode....................................................................... 237

    5.22.3.1 External Wake Event ............................................................... 2385.22.4 AC 97 Cold Reset................................................................................. 2395.22.5 AC 97 Warm Reset............................................................................... 2395.22.6 Hardware Assist to Determine ACZ_SDIN Used Per Codec .......................... 239

    5.23 Intel High Definition Audio Overview................................................................ 2405.23.1 Intel High Definition Audio Docking (Mobile Only) ................................... 240

    5.23.1.1 Dock Sequence....................................................................... 2405.23.1.2 Exiting D3/CRST# when Docked ............................................... 2415.23.1.3 Cold Boot/Resume from S3 When Docked .................................. 2425.23.1.4 Undock Sequence ................................................................... 2425.23.1.5 Interaction Between Dock/Undock and Power Management

    States ................................................................................... 2435.23.1.6 Relationship between AZ_DOCK_RST# and AZ_RST# .................. 243

    5.24 Intel Active Management Technology (Intel AMT) (Desktop and Mobile Only)....... 2445.24.1 Intel AMT Features ............................................................................. 2445.24.2 Intel AMT Requirements ...................................................................... 244

    5.25 Serial Peripheral Interface (SPI) (Desktop and Mobile Only) .................................. 2455.25.1 SPI Arbitration between Intel ICH7 and Intel PRO 82573E ....................... 2455.25.2 Flash Device Configurations ................................................................... 2455.25.3 SPI Device Compatibility Requirements ................................................... 246

    5.25.3.1 Intel ICH7 SPI Based BIOS Only Configuration Requirements (Non-Shared Flash Configuration) ............................................. 246

    5.25.3.2 Intel ICH7 with Intel PRO 82573E with Intel AMT FirmwareConfiguration Requirements (Shared Flash Configuration) ............ 246

    5.25.4 Intel ICH7 Compatible Command Set.................................................... 2475.25.4.1 Required Command Set for Inter Operability............................... 2475.25.4.2 Recommended Standard Commands.......................................... 2475.25.4.3 Multiple Page Write Usage Model ............................................... 248

    5.25.5 Flash Protection ................................................................................... 2485.25.5.1 BIOS Range Write Protection .................................................... 2485.25.5.2 SMI# Based Global Write Protection .......................................... 2495.25.5.3 Shared Flash Address Range Protection...................................... 249

    5.26 Intel Quick Resume Technology (Digital Home Only) .......................................... 2495.26.1 Visual Off ............................................................................................ 249

  • 10 Intel ICH7 Family Datasheet

    5.26.2 CE-like On/Off ......................................................................................2495.26.3 Intel Quick Resume Technology Signals (ICH7DH Only)............................2505.26.4 Power Button Sequence (ICH7DH Only) ...................................................250

    5.27 Feature Capability Mechanism ...........................................................................251

    6 Register and Memory Mapping ...............................................................................2536.1 PCI Devices and Functions ................................................................................2546.2 PCI Configuration Map ......................................................................................2556.3 I/O Map..........................................................................................................255

    6.3.1 Fixed I/O Address Ranges ......................................................................2556.3.2 Variable I/O Decode Ranges ...................................................................258

    6.4 Memory Map ...................................................................................................2596.4.1 Boot-Block Update Scheme ....................................................................261

    7 Chipset Configuration Registers .............................................................................2637.1 Chipset Configuration Registers (Memory Space)..................................................263

    7.1.1 VCHVirtual Channel Capability Header Register ......................................2657.1.2 VCAP1Virtual Channel Capability #1 Register .........................................2657.1.3 VCAP2Virtual Channel Capability #2 Register .........................................2667.1.4 PVCPort Virtual Channel Control Register...............................................2667.1.5 PVSPort Virtual Channel Status Register ................................................2667.1.6 V0CAPVirtual Channel 0 Resource Capability Register..............................2677.1.7 V0CTLVirtual Channel 0 Resource Control Register ..................................2677.1.8 V0STSVirtual Channel 0 Resource Status Register...................................2687.1.9 V1CAPVirtual Channel 1 Resource Capability Register..............................2687.1.10 V1CTLVirtual Channel 1 Resource Control Register ..................................2697.1.11 V1STSVirtual Channel 1 Resource Status Register...................................2697.1.12 RCTCLRoot Complex Topology Capabilities List Register ...........................2707.1.13 ESDElement Self Description Register ...................................................2707.1.14 ULDUpstream Link Descriptor Register ..................................................2707.1.15 ULBAUpstream Link Base Address Register ............................................2717.1.16 RP1DRoot Port 1 Descriptor Register.....................................................2717.1.17 RP1BARoot Port 1 Base Address Register...............................................2717.1.18 RP2DRoot Port 2 Descriptor Register.....................................................2727.1.19 RP2BARoot Port 2 Base Address Register...............................................2727.1.20 RP3DRoot Port 3 Descriptor Register.....................................................2727.1.21 RP3BARoot Port 3 Base Address Register...............................................2737.1.22 RP4DRoot Port 4 Descriptor Register.....................................................2737.1.23 RP4BARoot Port 4 Base Address Register...............................................2737.1.24 HDDIntel High Definition Audio Descriptor Register...............................2747.1.25 HDBAIntel High Definition Audio Base Address Register.........................2747.1.26 RP5DRoot Port 5 Descriptor Register.....................................................2747.1.27 RP5BARoot Port 5 Base Address Register...............................................2757.1.28 RP6DRoot Port 6 Descriptor Register.....................................................2757.1.29 RP6BARoot Port 6 Base Address Register...............................................2757.1.30 ILCLInternal Link Capabilities List Register .............................................2767.1.31 LCAPLink Capabilities Register .............................................................2767.1.32 LCTLLink Control Register....................................................................2777.1.33 LSTSLink Status Register ....................................................................2777.1.34 RPCRoot Port Configuration Register .....................................................2787.1.35 RPFNRoot Port Function Number for PCI Express Root Ports

    (Desktop and Mobile only) .....................................................................2797.1.36 TRSRTrap Status Register ....................................................................2807.1.37 TRCRTrapped Cycle Register ................................................................2807.1.38 TWDRTrapped Write Data Register ........................................................2807.1.39 IOTRn I/O Trap Register (0-3).............................................................281

  • Intel ICH7 Family Datasheet 11

    7.1.40 TCTLTCO Configuration Register........................................................... 2827.1.41 D31IPDevice 31 Interrupt Pin Register.................................................. 2837.1.42 D30IPDevice 30 Interrupt Pin Register.................................................. 2847.1.43 D29IPDevice 29 Interrupt Pin Register.................................................. 2857.1.44 D28IPDevice 28 Interrupt Pin Register (Desktop and Mobile Only) ............ 2867.1.45 D27IPDevice 27 Interrupt Pin Register.................................................. 2877.1.46 D31IRDevice 31 Interrupt Route Register.............................................. 2877.1.47 D30IRDevice 30 Interrupt Route Register.............................................. 2897.1.48 D29IRDevice 29 Interrupt Route Register.............................................. 2907.1.49 D28IRDevice 28 Interrupt Route Register.............................................. 2927.1.50 D27IRDevice 27 Interrupt Route Register.............................................. 2937.1.51 OICOther Interrupt Control Register ..................................................... 2947.1.52 RCRTC Configuration Register.............................................................. 2957.1.53 HPTCHigh Precision Timer Configuration Register ................................... 2957.1.54 GCSGeneral Control and Status Register ............................................... 2967.1.55 BUCBacked Up Control Register ........................................................... 2987.1.56 FDFunction Disable Register ................................................................ 2997.1.57 CGClock Gating (Mobile/Ultra Mobile Only) ............................................ 301

    8 LAN Controller Registers (B1:D8:F0) (Desktop and Mobile Only) ........................... 3038.1 PCI Configuration Registers (LAN ControllerB1:D8:F0) ....................................... 303

    8.1.1 VIDVendor Identification Register (LAN ControllerB1:D8:F0) ................. 3048.1.2 DIDDevice Identification Register (LAN ControllerB1:D8:F0) ................. 3048.1.3 PCICMDPCI Command Register (LAN ControllerB1:D8:F0) .................... 3058.1.4 PCISTSPCI Status Register (LAN ControllerB1:D8:F0) .......................... 3068.1.5 RIDRevision Identification Register (LAN ControllerB1:D8:F0) ............... 3078.1.6 SCCSub Class Code Register (LAN ControllerB1:D8:F0) ........................ 3078.1.7 BCCBase-Class Code Register (LAN ControllerB1:D8:F0) ...................... 3078.1.8 CLSCache Line Size Register (LAN ControllerB1:D8:F0) ........................ 3088.1.9 PMLTPrimary Master Latency Timer Register (LAN ControllerB1:D8:F0)... 3088.1.10 HEADTYPHeader Type Register (LAN ControllerB1:D8:F0)..................... 3088.1.11 CSR_MEM_BASE CSR Memory-Mapped Base

    Address Register (LAN ControllerB1:D8:F0)........................................... 3098.1.12 CSR_IO_BASE CSR I/O-Mapped Base Address Register

    (LAN ControllerB1:D8:F0)................................................................... 3098.1.13 SVID Subsystem Vendor Identification (LAN ControllerB1:D8:F0) ......... 3098.1.14 SID Subsystem Identification (LAN ControllerB1:D8:F0)...................... 3108.1.15 CAP_PTR Capabilities Pointer (LAN ControllerB1:D8:F0) ...................... 3108.1.16 INT_LN Interrupt Line Register (LAN ControllerB1:D8:F0).................... 3108.1.17 INT_PN Interrupt Pin Register (LAN ControllerB1:D8:F0) ..................... 3118.1.18 MIN_GNT Minimum Grant Register (LAN ControllerB1:D8:F0) .............. 3118.1.19 MAX_LAT Maximum Latency Register (LAN ControllerB1:D8:F0) ........... 3118.1.20 CAP_ID Capability Identification Register (LAN ControllerB1:D8:F0)...... 3118.1.21 NXT_PTR Next Item Pointer (LAN ControllerB1:D8:F0) ........................ 3128.1.22 PM_CAP Power Management Capabilities (LAN ControllerB1:D8:F0) ...... 3128.1.23 PMCSR Power Management Control/

    Status Register (LAN ControllerB1:D8:F0)............................................. 3138.1.24 PCIDATA PCI Power Management Data Register

    (LAN ControllerB1:D8:F0)................................................................... 3148.2 LAN Control / Status Registers (CSR) (LAN ControllerB1:D8:F0).......................... 315

    8.2.1 SCB_STASystem Control Block Status Word Register(LAN ControllerB1:D8:F0)................................................................... 316

    8.2.2 SCB_CMDSystem Control Block Command WordRegister (LAN ControllerB1:D8:F0)....................................................... 317

    8.2.3 SCB_GENPNTSystem Control Block General PointerRegister (LAN ControllerB1:D8:F0)....................................................... 319

  • 12 Intel ICH7 Family Datasheet

    8.2.4 PORTPORT Interface Register (LAN ControllerB1:D8:F0) .......................3198.2.5 EEPROM_CNTLEEPROM Control Register (LAN ControllerB1:D8:F0).........3218.2.6 MDI_CNTLManagement Data Interface (MDI) Control

    Register (LAN ControllerB1:D8:F0) .......................................................3228.2.7 REC_DMA_BCReceive DMA Byte Count Register

    (LAN ControllerB1:D8:F0) ...................................................................3228.2.8 EREC_INTREarly Receive Interrupt Register

    (LAN ControllerB1:D8:F0) ...................................................................3238.2.9 FLOW_CNTLFlow Control Register (LAN ControllerB1:D8:F0) .................3238.2.10 PMDRPower Management Driver Register (LAN ControllerB1:D8:F0) .......3248.2.11 GENCNTLGeneral Control Register (LAN ControllerB1:D8:F0).................3258.2.12 GENSTAGeneral Status Register (LAN ControllerB1:D8:F0)....................3268.2.13 SMB_PCISMB via PCI Register (LAN ControllerB1:D8:F0) ......................3268.2.14 Statistical Counters (LAN ControllerB1:D8:F0) .......................................327

    8.3 ASF Configuration Registers (LAN ControllerB1:D8:F0).......................................3298.3.1 ASF_RIDASF Revision Identification Register (LAN ControllerB1:D8:F0) ..3308.3.2 SMB_CNTLSMBus Control Register (LAN ControllerB1:D8:F0) ................3308.3.3 ASF_CNTLASF Control Register (LAN ControllerB1:D8:F0) .....................3318.3.4 ASF_CNTL_ENASF Control Enable Register (ASF ControllerB1:D8:F0) .....3328.3.5 ENABLEEnable Register (ASF ControllerB1:D8:F0) ...............................3338.3.6 APMAPM Register (ASF ControllerB1:D8:F0)........................................3348.3.7 WTIM_CONFWatchdog Timer Configuration Register

    (ASF ControllerB1:D8:F0) ...................................................................3348.3.8 HEART_TIMHeartbeat Timer Register (ASF ControllerB1:D8:F0).............3358.3.9 RETRAN_INTRetransmission Interval Register

    (ASF ControllerB1:D8:F0) ...................................................................3358.3.10 RETRAN_PCLRetransmission Packet Count Limit

    Register (ASF ControllerB1:D8:F0) .......................................................3368.3.11 ASF_WTIM1ASF Watchdog Timer 1 Register

    (ASF ControllerB1:D8:F0) ...................................................................3368.3.12 ASF_WTIM2ASF Watchdog Timer 2 Register

    (ASF ControllerB1:D8:F0) ...................................................................3368.3.13 PET_SEQ1PET Sequence 1 Register (ASF ControllerB1:D8:F0) ...............3378.3.14 PET_SEQ2PET Sequence 2 Register (ASF ControllerB1:D8:F0) ...............3378.3.15 STAStatus Register (ASF ControllerB1:D8:F0) .....................................3388.3.16 FOR_ACTForced Actions Register (ASF ControllerB1:D8:F0)...................3398.3.17 RMCP_SNUMRMCP Sequence Number Register

    (ASF ControllerB1:D8:F0) ...................................................................3408.3.18 SP_MODESpecial Modes Register (ASF ControllerB1:D8:F0) ..................3408.3.19 INPOLL_TCONFInter-Poll Timer Configuration Register

    (ASF ControllerB1:D8:F0) ...................................................................3408.3.20 PHIST_CLRPoll History Clear Register (ASF ControllerB1:D8:F0) ............3418.3.21 PMSK1Polling Mask 1 Register (ASF ControllerB1:D8:F0) ......................3418.3.22 PMSK2Polling Mask 2 Register (ASF ControllerB1:D8:F0) ......................3428.3.23 PMSK3Polling Mask 3 Register (ASF ControllerB1:D8:F0) ......................3428.3.24 PMSK4Polling Mask 4 Register (ASF ControllerB1:D8:F0) ......................3428.3.25 PMSK5Polling Mask 5 Register (ASF ControllerB1:D8:F0) ......................3438.3.26 PMSK6Polling Mask 6 Register (ASF ControllerB1:D8:F0) ......................3438.3.27 PMSK7Polling Mask 7 Register (ASF ControllerB1:D8:F0) ......................3438.3.28 PMSK8Polling Mask 8 Register (ASF ControllerB1:D8:F0) ......................344

    9 PCI-to-PCI Bridge Registers (D30:F0) ....................................................................3459.1 PCI Configuration Registers (D30:F0) .................................................................345

    9.1.1 VID Vendor Identification Register (PCI-PCID30:F0) .............................3469.1.2 DID Device Identification Register (PCI-PCID30:F0) .............................3469.1.3 PCICMDPCI Command (PCI-PCID30:F0) .............................................346

  • Intel ICH7 Family Datasheet 13

    9.1.4 PSTSPCI Status Register (PCI-PCID30:F0).......................................... 3479.1.5 RIDRevision Identification Register (PCI-PCID30:F0)............................ 3499.1.6 CCClass Code Register (PCI-PCID30:F0) ............................................ 3499.1.7 PMLTPrimary Master Latency Timer Register (PCI-PCID30:F0) ............... 3509.1.8 HEADTYPHeader Type Register (PCI-PCID30:F0) ................................. 3509.1.9 BNUMBus Number Register (PCI-PCID30:F0) ...................................... 3509.1.10 SMLTSecondary Master Latency Timer Register (PCI-PCID30:F0) ........... 3519.1.11 IOBASE_LIMITI/O Base and Limit Register (PCI-PCID30:F0) ................. 3519.1.12 SECSTSSecondary Status Register (PCI-PCID30:F0) ............................ 3529.1.13 MEMBASE_LIMITMemory Base and Limit Register (PCI-PCID30:F0)........ 3539.1.14 PREF_MEM_BASE_LIMITPrefetchable Memory Base

    and Limit Register (PCI-PCID30:F0) ..................................................... 3539.1.15 PMBU32Prefetchable Memory Base Upper 32 Bits

    Register (PCI-PCID30:F0) ................................................................... 3549.1.16 PMLU32Prefetchable Memory Limit Upper 32 Bits

    Register (PCI-PCID30:F0) ................................................................... 3549.1.17 CAPPCapability List Pointer Register (PCI-PCID30:F0) .......................... 3549.1.18 INTRInterrupt Information Register (PCI-PCID30:F0) ........................... 3549.1.19 BCTRLBridge Control Register (PCI-PCID30:F0)................................... 3559.1.20 SPDHSecondary PCI Device Hiding Register (PCI-PCID30:F0)................ 3569.1.21 DTCDelayed Transaction Control Register (PCI-PCID30:F0) ................... 3579.1.22 BPSBridge Proprietary Status Register (PCI-PCID30:F0) ....................... 3599.1.23 BPCBridge Policy Configuration Register (PCI-PCID30:F0)..................... 3609.1.24 SVCAPSubsystem Vendor Capability Register (PCI-PCID30:F0).............. 3619.1.25 SVIDSubsystem Vendor IDs Register (PCI-PCID30:F0)......................... 361

    10 LPC Interface Bridge Registers (D31:F0) ............................................................... 36310.1 PCI Configuration Registers (LPC I/FD31:F0) .................................................... 363

    10.1.1 VIDVendor Identification Register (LPC I/FD31:F0) .............................. 36410.1.2 DIDDevice Identification Register (LPC I/FD31:F0) .............................. 36410.1.3 PCICMDPCI COMMAND Register (LPC I/FD31:F0) ................................ 36510.1.4 PCISTSPCI Status Register (LPC I/FD31:F0) ....................................... 36510.1.5 RIDRevision Identification Register (LPC I/FD31:F0) ............................ 36610.1.6 PIProgramming Interface Register (LPC I/FD31:F0) ............................. 36610.1.7 SCCSub Class Code Register (LPC I/FD31:F0) ..................................... 36710.1.8 BCCBase Class Code Register (LPC I/FD31:F0).................................... 36710.1.9 PLTPrimary Latency Timer Register (LPC I/FD31:F0) ............................ 36710.1.10HEADTYPHeader Type Register (LPC I/FD31:F0) .................................. 36710.1.11SSSub System Identifiers Register (LPC I/FD31:F0)............................. 36810.1.12CAPPCapability List Pointer (LPC I/FD31:F0) ....................................... 36810.1.13PMBASEACPI Base Address Register (LPC I/FD31:F0) .......................... 36810.1.14ACPI_CNTLACPI Control Register (LPC I/F D31:F0) ............................. 36910.1.15GPIOBASEGPIO Base Address Register (LPC I/F D31:F0)..................... 36910.1.16GCGPIO Control Register (LPC I/F D31:F0) ........................................ 37010.1.17PIRQ[n]_ROUTPIRQ[A,B,C,D] Routing Control Register

    (LPC I/FD31:F0) (Desktop and Mobile Only) .......................................... 37010.1.18SIRQ_CNTLSerial IRQ Control Register (LPC I/FD31:F0) ....................... 37110.1.19PIRQ[n]_ROUTPIRQ[E,F,G,H] Routing Control Register

    (LPC I/FD31:F0) ................................................................................ 37210.1.20LPC_I/O_DECI/O Decode Ranges Register (LPC I/FD31:F0) .................. 37310.1.21LPC_ENLPC I/F Enables Register (LPC I/FD31:F0)................................ 37410.1.22GEN1_DECLPC I/F Generic Decode Range 1 Register (LPC I/FD31:F0).... 37510.1.23GEN2_DECLPC I/F Generic Decode Range 2Register (LPC I/FD31:F0)..... 37510.1.24GEN3_DECLPC I/F Generic Decode Range 3Register (LPC I/FD31:F0)..... 37610.1.25GEN4_DECLPC I/F Generic Decode Range 4Register (LPC I/FD31:F0)..... 37610.1.26FWH_SEL1Firmware Hub Select 1 Register (LPC I/FD31:F0) ................. 377

  • 14 Intel ICH7 Family Datasheet

    10.1.27FWH_SEL2Firmware Hub Select 2 Register (LPC I/FD31:F0) ..................37810.1.28FWH_DEC_EN1Firmware Hub Decode Enable Register (LPC I/FD31:F0) ..37810.1.29BIOS_CNTLBIOS Control Register (LPC I/FD31:F0) ..............................38110.1.30FDCAPFeature Detection Capability ID (LPC I/FD31:F0) ........................38210.1.31FDLENFeature Detection Capability Length (LPC I/FD31:F0) ..................38210.1.32FDVERFeature Detection Version (LPC I/FD31:F0)................................38210.1.33FDVCTFeature Vector Register (LPC I/FD31:F0) ...................................38310.1.34RCBARoot Complex Base Address Register (LPC I/FD31:F0) ..................384

    10.2 DMA I/O Registers (LPC I/FD31:F0).................................................................38510.2.1 DMABASE_CADMA Base and Current Address

    Registers (LPC I/FD31:F0)...................................................................38610.2.2 DMABASE_CCDMA Base and Current Count Registers (LPC I/FD31:F0) ...38710.2.3 DMAMEM_LPDMA Memory Low Page Registers (LPC I/FD31:F0) .............38710.2.4 DMACMDDMA Command Register (LPC I/FD31:F0) ..............................38810.2.5 DMASTADMA Status Register (LPC I/FD31:F0).....................................38810.2.6 DMA_WRSMSKDMA Write Single Mask Register (LPC I/FD31:F0)............38910.2.7 DMACH_MODEDMA Channel Mode Register (LPC I/FD31:F0) .................39010.2.8 DMA Clear Byte Pointer Register (LPC I/FD31:F0) ...................................39110.2.9 DMA Master Clear Register (LPC I/FD31:F0) ..........................................39110.2.10DMA_CLMSKDMA Clear Mask Register (LPC I/FD31:F0) ........................39110.2.11DMA_WRMSKDMA Write All Mask Register (LPC I/FD31:F0)...................392

    10.3 Timer I/O Registers (LPC I/FD31:F0) ...............................................................39210.3.1 TCWTimer Control Word Register (LPC I/FD31:F0) ...............................39310.3.2 SBYTE_FMTInterval Timer Status Byte Format Register

    (LPC I/FD31:F0) ................................................................................39510.3.3 Counter Access Ports Register (LPC I/FD31:F0) ......................................396

    10.4 8259 Interrupt Controller (PIC) Registers (LPC I/FD31:F0) .................................39610.4.1 Interrupt Controller I/O MAP (LPC I/FD31:F0) ........................................39610.4.2 ICW1Initialization Command Word 1 Register (LPC I/FD31:F0) ..............39710.4.3 ICW2Initialization Command Word 2 Register (LPC I/FD31:F0) ..............39810.4.4 ICW3Master Controller Initialization Command

    Word 3 Register (LPC I/FD31:F0) .........................................................39810.4.5 ICW3Slave Controller Initialization Command

    Word 3 Register (LPC I/FD31:F0) .........................................................39910.4.6 ICW4Initialization Command Word 4 Register (LPC I/FD31:F0) ..............39910.4.7 OCW1Operational Control Word 1 (Interrupt Mask)

    Register (LPC I/FD31:F0) ....................................................................40010.4.8 OCW2Operational Control Word 2 Register (LPC I/FD31:F0) ..................40010.4.9 OCW3Operational Control Word 3 Register (LPC I/FD31:F0) ..................40110.4.10ELCR1Master Controller Edge/Level Triggered Register (LPC I/FD31:F0)..40210.4.11ELCR2Slave Controller Edge/Level Triggered Register (LPC I/FD31:F0) ...403

    10.5 Advanced Programmable Interrupt Controller (APIC)(D31:F0)................................40410.5.1 APIC Register Map (LPC I/FD31:F0)......................................................40410.5.2 INDIndex Register (LPC I/FD31:F0) ...................................................40410.5.3 DATData Register (LPC I/FD31:F0) ....................................................40510.5.4 EOIREOI Register (LPC I/FD31:F0) ....................................................40510.5.5 IDIdentification Register (LPC I/FD31:F0) ...........................................40610.5.6 VERVersion Register (LPC I/FD31:F0) .................................................40610.5.7 REDIR_TBLRedirection Table (LPC I/FD31:F0)......................................407

    10.6 Real Time Clock Registers (LPC I/FD31:F0).......................................................40910.6.1 I/O Register Address Map (LPC I/FD31:F0) ............................................40910.6.2 Indexed Registers (LPC I/FD31:F0) ......................................................410

    10.6.2.1 RTC_REGARegister A (LPC I/FD31:F0) ..................................41110.6.2.2 RTC_REGBRegister B (General Configuration) (LPC I/FD31:F0).41210.6.2.3 RTC_REGCRegister C (Flag Register) (LPC I/FD31:F0) .............413

  • Intel ICH7 Family Datasheet 15

    10.6.2.4 RTC_REGDRegister D (Flag Register) (LPC I/FD31:F0) ............ 41410.7 Processor Interface Registers (LPC I/FD31:F0) ................................................. 415

    10.7.1 NMI_SCNMI Status and Control Register (LPC I/FD31:F0) .................... 41510.7.2 NMI_ENNMI Enable (and Real Time Clock Index)

    Register (LPC I/FD31:F0).................................................................... 41610.7.3 PORT92Fast A20 and Init Register (LPC I/FD31:F0) ............................. 41610.7.4 COPROC_ERRCoprocessor Error Register (LPC I/FD31:F0) .................... 41710.7.5 RST_CNTReset Control Register (LPC I/FD31:F0)................................. 417

    10.8 Power Management Registers (PMD31:F0) ....................................................... 41810.8.1 Power Management PCI Configuration Registers (PMD31:F0) ................... 418

    10.8.1.1 GEN_PMCON_1General PM Configuration 1 Register (PMD31:F0) ........................................................................ 419

    10.8.1.2 GEN_PMCON_2General PM Configuration 2 Register (PMD31:F0) ........................................................................ 420

    10.8.1.3 GEN_PMCON_3General PM Configuration 3 Register (PMD31:F0) ........................................................................ 422

    10.8.1.4 Cx-STATE_CNFCx State Configuration Register (PMD31:F0) (Mobile/Ultra Mobile Only) ................................... 424

    10.8.1.5 C4-TIMING_CNTC4 Timing Control Register (PMD31:F0) (Mobile/Ultra Mobile Only) ................................... 425

    10.8.1.6 BM_BREAK_EN Register (PMD31:F0) (Mobile/Ultra Mobile Only) . 42610.8.1.7 MSC_FUNMiscellaneous Functionality Register (PMD31:F0)...... 42710.8.1.8 EL_STSIntel Quick Resume Technology Status Register

    (PMD31:F0) (ICH7DH Only)................................................... 42710.8.1.9 EL_CNT1Intel Quick Resume Technology Control 1 Register

    (PMD31:F0) (ICH7DH Only)................................................... 42810.8.1.10EL_CNT2Intel Quick Resume Technology Control 2 Register

    (PMD31:F0) (ICH7DH Only)................................................... 42910.8.1.11GPIO_ROUTGPIO Routing Control Register (PMD31:F0) .......... 429

    10.8.2 APM I/O Decode................................................................................... 43010.8.2.1 APM_CNTAdvanced Power Management Control Port Register ..... 43010.8.2.2 APM_STSAdvanced Power Management Status Port Register ...... 430

    10.8.3 Power Management I/O Registers ........................................................... 43110.8.3.1 PM1_STSPower Management 1 Status Register ........................ 43210.8.3.2 PM1_ENPower Management 1 Enable Register.......................... 43510.8.3.3 PM1_CNTPower Management 1 Control ................................... 43610.8.3.4 PM1_TMRPower Management 1 Timer Register ......................... 43710.8.3.5 PROC_CNTProcessor Control Register...................................... 43710.8.3.6 LV2 Level 2 Register (Mobile/Ultra Mobile Only) ....................... 43910.8.3.7 LV3Level 3 Register (Mobile/Ultra Mobile Only)......................... 43910.8.3.8 LV4Level 4 Register (Mobile/Ultra Mobile Only)......................... 43910.8.3.9 PM2_CNTPower Management 2 Control Register

    (Mobile/Ultra Mobile Only)........................................................ 44010.8.3.10GPE0_STSGeneral Purpose Event 0 Status Register .................. 44010.8.3.11GPE0_ENGeneral Purpose Event 0 Enables Register .................. 44410.8.3.12SMI_ENSMI Control and Enable Register ................................. 44710.8.3.13SMI_STSSMI Status Register ................................................. 44910.8.3.14ALT_GP_SMI_ENAlternate GPI SMI Enable Register................... 45210.8.3.15ALT_GP_SMI_STSAlternate GPI SMI Status Register.................. 45210.8.3.16GPE_CNTL General Purpose Control Register ............................ 45310.8.3.17DEVACT_STS Device Activity Status Register .......................... 45410.8.3.18SS_CNT Intel SpeedStep Technology

    Control Register (Mobile/Ultra Mobile Only) ................................ 45510.8.3.19C3_RES C3 Residency Register (Mobile/Ultra Mobile Only) ......... 455

    10.9 System Management TCO Registers (D31:F0) ..................................................... 45610.9.1 TCO_RLDTCO Timer Reload and Current Value Register........................... 45610.9.2 TCO_DAT_INTCO Data In Register........................................................ 45710.9.3 TCO_DAT_OUTTCO Data Out Register ................................................... 457

  • 16 Intel ICH7 Family Datasheet

    10.9.4 TCO1_STSTCO1 Status Register ...........................................................45710.9.5 TCO2_STSTCO2 Status Register ...........................................................45910.9.6 TCO1_CNTTCO1 Control Register ..........................................................46010.9.7 TCO2_CNTTCO2 Control Register ..........................................................46110.9.8 TCO_MESSAGE1 and TCO_MESSAGE2 Registers........................................46110.9.9 TCO_WDCNTTCO Watchdog Control Register ..........................................46210.9.10SW_IRQ_GENSoftware IRQ Generation Register .....................................46210.9.11TCO_TMRTCO Timer Initial Value Register..............................................462

    10.10 General Purpose I/O Registers (D31:F0) .............................................................46310.10.1GPIO_USE_SELGPIO Use Select Register ...............................................46410.10.2GP_IO_SELGPIO Input/Output Select Register........................................46410.10.3GP_LVLGPIO Level for Input or Output Register ......................................46510.10.4GPO_BLINKGPO Blink Enable Register ...................................................46510.10.5GPI_INVGPIO Signal Invert Register .....................................................46610.10.6GPIO_USE_SEL2GPIO Use Select 2 Register[63:32]................................46610.10.7GP_IO_SEL2GPIO Input/Output Select 2 Register[63:32] ........................46710.10.8GP_LVL2GPIO Level for Input or Output 2 Register[63:32].......................467

    11 UHCI Controllers Registers ....................................................................................46911.1 PCI Configuration Registers (USBD29:F0/F1/F2/F3) ...........................................469

    11.1.1 VIDVendor Identification Register (USBD29:F0/F1/F2/F3) .....................47011.1.2 DIDDevice Identification Register (USBD29:F0/F1/F2/F3) .....................47011.1.3 PCICMDPCI Command Register (USBD29:F0/F1/F2/F3) ........................47011.1.4 PCISTSPCI Status Register (USBD29:F0/F1/F2/F3) ..............................47111.1.5 RIDRevision Identification Register (USBD29:F0/F1/F2/F3) ...................47111.1.6 PIProgramming Interface Register (USBD29:F0/F1/F2/F3) ....................47211.1.7 SCCSub Class Code Register (USBD29:F0/F1/F2/F3) ............................47211.1.8 BCCBase Class Code Register (USBD29:F0/F1/F2/F3)...........................47211.1.9 MLTMaster Latency Timer Register (USBD29:F0/F1/F2/F3) ....................47311.1.10HEADTYPHeader Type Register (USBD29:F0/F1/F2/F3) .........................47311.1.11BASEBase Address Register (USBD29:F0/F1/F2/F3) .............................47411.1.12SVID Subsystem Vendor Identification Register (USBD29:F0/F1/F2/F3) .47411.1.13SID Subsystem Identification Register (USBD29:F0/F1/F2/F3) .............47411.1.14INT_LNInterrupt Line Register (USBD29:F0/F1/F2/F3)..........................47511.1.15INT_PNInterrupt Pin Register (USBD29:F0/F1/F2/F3) ...........................47511.1.16USB_RELNUMSerial Bus Release Number Register

    (USBD29:F0/F1/F2/F3).......................................................................47511.1.17USB_LEGKEYUSB Legacy Keyboard/Mouse Control

    Register (USBD29:F0/F1/F2/F3)...........................................................47611.1.18USB_RESUSB Resume Enable Register (USBD29:F0/F1/F2/F3) ..............47811.1.19CWPCore Well Policy Register (USBD29:F0/F1/F2/F3)...........................478

    11.2 USB I/O Registers............................................................................................47911.2.1 USBCMDUSB Command Register ..........................................................48011.2.2 USBSTSUSB Status Register ................................................................48311.2.3 USBINTRUSB Interrupt Enable Register .................................................48411.2.4 FRNUMFrame Number Register ............................................................48411.2.5 FRBASEADDFrame List Base Address Register ........................................48511.2.6 SOFMODStart of Frame Modify Register ................................................48611.2.7 PORTSC[0,1]Port Status and Control Register ........................................487

    12 SATA Controller Registers (D31:F2) (Desktop and Mobile Only) .............................48912.1 PCI Configuration Registers (SATAD31:F2).........................................................489

    12.1.1 VIDVendor Identification Register (SATAD31:F2)..................................49112.1.2 DIDDevice Identification Register (SATAD31:F2)..................................49112.1.3 PCICMDPCI Command Register (SATAD31:F2)......................................49112.1.4 PCISTS PCI Status Register (SATAD31:F2)..........................................492

  • Intel ICH7 Family Datasheet 17

    12.1.5 RIDRevision Identification Register (SATAD31:F2) ............................... 49312.1.6 PIProgramming Interface Register (SATAD31:F2) ................................. 493

    12.1.6.1 When Sub Class Code Register (D31:F2:Offset 0Ah) = 01h........... 49312.1.6.2 When Sub Class Code Register (D31:F2:Offset 0Ah) = 04h........... 49412.1.6.3 When Sub Class Code Register (D31:F2:Offset 0Ah) = 06h........... 494

    12.1.7 SCCSub Class Code Register (SATAD31:F2) ......................................... 49512.1.8 BCCBase Class Code Register (SATAD31:F2SATAD31:F2) ..................... 49512.1.9 PMLTPrimary Master Latency Timer Register (SATAD31:F2).................... 49512.1.10PCMD_BARPrimary Command Block Base Address

    Register (SATAD31:F2)........................................................................ 49612.1.11PCNL_BARPrimary Control Block Base Address Register

    (SATAD31:F2) .................................................................................... 49612.1.12SCMD_BARSecondary Command Block Base Address

    Register (IDE D31:F1) .......................................................................... 49612.1.13SCNL_BARSecondary Control Block Base Address

    Register (IDE D31:F1) .......................................................................... 49712.1.14BAR Legacy Bus Master Base Address Register (SATAD31:F2) ............... 49712.1.15ABAR AHCI Base Address Register (SATAD31:F2) ................................ 497

    12.1.15.1Non AHCI Capable (Intel ICH7 Feature Supported Components Only) .................................................................. 497

    12.1.15.2AHCI Capable (Intel ICH7R, ICH7DH, and Mobile Only) .............. 49812.1.16SVIDSubsystem Vendor Identification Register (SATAD31:F2) ................ 49812.1.17SIDSubsystem Identification Register (SATAD31:F2)............................. 49812.1.18CAPCapabilities Pointer Register (SATAD31:F2) .................................... 49912.1.19INT_LNInterrupt Line Register (SATAD31:F2)....................................... 49912.1.20INT_PNInterrupt Pin Register (SATAD31:F2) ........................................ 49912.1.21IDE_TIMP Primary IDE Timing Register (SATAD31:F2).......................... 49912.1.22IDE_TIMS Slave IDE Timing Register (SATAD31:F2)............................. 50112.1.23SDMA_CNTSynchronous DMA Control Register (SATAD31:F2)................. 50212.1.24SDMA_TIMSynchronous DMA Timing Register (SATAD31:F2).................. 50312.1.25IDE_CONFIGIDE I/O Configuration Register (SATAD31:F2) .................... 50412.1.26PIDPCI Power Management Capability Identification

    Register (SATAD31:F2)........................................................................ 50612.1.27PCPCI Power Management Capabilities Register (SATAD31:F2) ............... 50612.1.28PMCSPCI Power Management Control and Status

    Register (SATAD31:F2)........................................................................ 50712.1.29MSICIMessage Signaled Interrupt Capability Identification (SATAD31:F2) 50712.1.30MSIMCMessage Signaled Interrupt Message Control (SATAD31:F2) ......... 50712.1.31MSIMA Message Signaled Interrupt Message Address (SATAD31:F2) ....... 50812.1.32MSIMDMessage Signaled Interrupt Message Data (SATAD31:F2) ............ 50912.1.33MAPAddress Map Register (SATAD31:F2)............................................. 50912.1.34PCSPort Control and Status Register (SATAD31:F2) .............................. 51012.1.35SIRSATA Initialization Register............................................................. 51112.1.36SIRISATA Indexed Registers Index ....................................................... 51212.1.37STRDSATA Indexed Register Data ........................................................ 512

    12.1.37.1STTT1SATA Indexed Registers Index 00h (SATA TX Termination Test Register 1) ....................................... 513

    12.1.37.2STMESATA Indexed Registers Index C1h (SATA Test Mode Enable Register) ............................................. 513

    12.1.37.3STTT2 SATA Indexed Registers Index 74h (SATA TX Termination Test Register 2) ....................................... 514

    12.1.38SCAP0SATA Capability Register 0 (SATAD31:F2)................................... 51412.1.39SCAP1SATA Capability Register 1 (SATAD31:F2)................................... 51512.1.40ATCAPM Trapping Control Register (SATAD31:F2) ................................. 51612.1.41ATSAPM Trapping Status Register (SATAD31:F2) .................................. 51612.1.42SP Scratch Pad Register (SATAD31:F2) .............................................. 516

  • 18 Intel ICH7 Family Datasheet

    12.1.43BFCSBIST FIS Control/Status Register (SATAD31:F2) ............................51712.1.44BFTD1BIST FIS Transmit Data1 Register (SATAD31:F2) .........................51812.1.45BFTD2BIST FIS Transmit Data2 Register (SATAD31:F2) .........................519

    12.2 Bus Master IDE I/O Registers (D31:F2)...............................................................51912.2.1 BMIC[P,S]Bus Master IDE Command Register (D31:F2) ...........................52012.2.2 BMIS[P,S]Bus Master IDE Status Register (D31:F2) ................................52112.2.3 BMID[P,S]Bus Master IDE Descriptor Table Pointer Register (D31:F2) ........52212.2.4 AIRAHCI Index Register (D31:F2).........................................................52212.2.5 AIDRAHCI Index Data Register (D31:F2) ...............................................522

    12.3 AHCI Registers (D31:F2) (Intel ICH7R, ICH7DH, ICH7-M, and ICH7-M DH Only) ....52312.3.1 AHCI Generic Host Control Registers (D31:F2)..........................................524

    12.3.1.1 CAPHost Capabilities Register (D31:F2) ...................................52412.3.1.2 GHCGlobal ICH7 Control Register (D31:F2) ..............................52612.3.1.3 ISInterrupt Status Register (D31:F2) ......................................52712.3.1.4 PIPorts Implemented Register (D31:F2)...................................52812.3.1.5 VSAHCI Version (D31:F2) ......................................................528

    12.3.2 Port Registers (D31:F2) .........................................................................52912.3.2.1 PxCLBPort [3:0] Command List Base Address Register (D31:F2) .53112.3.2.2 PxCLBUPort [3:0] Command List Base Address Upper

    32-Bits Register (D31:F2).........................................................53112.3.2.3 PxFBPort [3:0] FIS Base Address Register (D31:F2) ..................53112.3.2.4 PxFBUPort [3:0] FIS Base Address Upper 32-Bits

    Register (D31:F2) ...................................................................53212.3.2.5 PxISPort [3:0] Interrupt Status Register (D31:F2) ....................53212.3.2.6 PxIEPort [3:0] Interrupt Enable Register (D31:F2) ....................53312.3.2.7 PxCMDPort [3:0] Command Register (D31:F2) .........................53512.3.2.8 PxTFDPort [3:0] Task File Data Register (D31:F2) .....................53812.3.2.9 PxSIGPort [3:0] Signature Register (D31:F2) ...........................53812.3.2.10PxSSTSPort [3:0] Serial ATA Status Register (D31:F2)...............53912.3.2.11PxSCTL Port [3:0] Serial ATA Control Register (D31:F2) ............54012.3.2.12PxSERRPort [3:0] Serial ATA Error Register (D31:F2).................54112.3.2.13PxSACTPort [3:0] Serial ATA Active (D31:F2) ...........................54212.3.2.14PxCIPort [3:0] Command Issue Register (D31:F2) ....................543

    13 EHCI Controller Registers (D29:F7) .......................................................................54513.1 USB EHCI Configuration Registers

    (USB EHCID29:F7)........................................................................................54513.1.1 VIDVendor Identification Register (USB EHCID29:F7) ...........................54613.1.2 DIDDevice Identification Register (USB EHCID29:F7) ...........................54613.1.3 PCICMDPCI Command Register (USB EHCID29:F7) ..............................54713.1.4 PCISTSPCI Status Register (USB EHCID29:F7) ....................................54813.1.5 RIDRevision Identification Register (USB EHCID29:F7) .........................54913.1.6 PIProgramming Interface Register (USB EHCID29:F7) ..........................54913.1.7 SCCSub Class Code Register (USB EHCID29:F7)..................................54913.1.8 BCCBase Class Code Register (USB EHCID29:F7) ................................54913.1.9 PMLTPrimary Master Latency Timer Register (USB EHCID29:F7).............55013.1.10MEM_BASEMemory Base Address Register (USB EHCID29:F7)...............55013.1.11SVIDUSB EHCI Subsystem Vendor ID Register (USB EHCID29:F7) .........55013.1.12SIDUSB EHCI Subsystem ID Register (USB EHCID29:F7)......................55113.1.13CAP_PTRCapabilities Pointer Register (USB EHCID29:F7) ......................55113.1.14INT_LNInterrupt Line Register (USB EHCID29:F7) ...............................55113.1.15INT_PNInterrupt Pin Register (USB EHCID29:F7) .................................55113.1.16PWR_CAPIDPCI Power Management Capability ID

    Register (USB EHCID29:F7).................................................................55213.1.17NXT_PTR1Next Item Pointer #1 Register (USB EHCID29:F7) .................55213.1.18PWR_CAPPower Management Capabilities Register

    (USB EHCID29:F7).............................................................................552

  • Intel ICH7 Family Datasheet 19

    13.1.19PWR_CNTL_STSPower Management Control/Status Register (USB EHCID29:F7) ...................................................... 553

    13.1.20DEBUG_CAPIDDebug Port Capability ID Register (USB EHCID29:F7)...... 55413.1.21NXT_PTR2Next Item Pointer #2 Register (USB EHCID29:F7) ................ 55413.1.22DEBUG_BASEDebug Port Base Offset Register (USB EHCID29:F7) ......... 55413.1.23USB_RELNUMUSB Release Number Register (USB EHCID29:F7) ............ 55513.1.24FL_ADJFrame Length Adjustment Register (USB EHCID29:F7) .............. 55513.1.25PWAKE_CAPPort Wake Capability Register (USB EHCID29:F7)............... 55613.1.26LEG_EXT_CAPUSB EHCI Legacy Support Extended

    Capability Register (USB EHCID29:F7).................................................. 55613.1.27LEG_EXT_CSUSB EHCI Legacy Support Extended

    Control / Status Register (USB EHCID29:F7) ......................................... 55713.1.28SPECIAL_SMIIntel Specific USB 2.0 SMI Register (USB EHCID29:F7) ..... 55913.1.29ACCESS_CNTLAccess Control Register (USB EHCID29:F7) .................... 560

    13.2 Memory-Mapped I/O Registers .......................................................................... 56113.2.1 Host Controller Capability Registers ........................................................ 561

    13.2.1.1 CAPLENGTHCapability Registers Length Register....................... 56113.2.1.2 HCIVERSIONHost Controller Interface Version Number

    Register................................................................................. 56213.2.1.3 HCSPARAMSHost Controller Structural Parameters.................... 56213.2.1.4 HCCPARAMSHost Controller Capability Parameters Register........ 563

    13.2.2 Host Controller Operational Registers ...................................................... 56413.2.2.1 USB2.0_CMDUSB 2.0 Command Register ................................ 56513.2.2.2 USB2.0_STSUSB 2.0 Status Register ...................................... 56813.2.2.3 USB2.0_INTRUSB 2.0 Interrupt Enable Register ....................... 57013.2.2.4 FRINDEXFrame Index Register ............................................... 57113.2.2.5 CTRLDSSEGMENTControl Data Structure Segment Register........ 57213.2.2.6 PERIODICLISTBASEPeriodic Frame List Base Address Register.... 57213.2.2.7 ASYNCLISTADDRCurrent Asynchronous List Address Register ..... 57313.2.2.8 CONFIGFLAGConfigure Flag Register....................................... 57313.2.2.9 PORTSCPort N Status and Control Register .............................. 573

    13.2.3 USB 2.0-Based Debug Port Register ........................................................ 57713.2.3.1 CNTL_STSControl/Status Register .......................................... 57713.2.3.2 USBPIDUSB PIDs Register ..................................................... 58013.2.3.3 DATABUF[7:0]Data Buffer Bytes[7:0] Register ......................... 58113.2.3.4 CONFIGConfiguration Register ............................................... 581

    14 SMBus Controller Registers (D31:F3) .................................................................... 58314.1 PCI Configuration Registers (SMBUSD31:F3) .................................................... 583

    14.1.1 VIDVendor Identification Register (SMBUSD31:F3) .............................. 58314.1.2 DIDDevice Identification Register (SMBUSD31:F3) .............................. 58414.1.3 PCICMDPCI Command Register (SMBUSD31:F3) ................................. 58414.1.4 PCISTSPCI Status Register (SMBUSD31:F3) ....................................... 58514.1.5 RIDRevision Identification Register (SMBUSD31:F3) ............................ 58514.1.6 PIProgramming Interface Register (SMBUSD31:F3) ............................. 58614.1.7 SCCSub Class Code Register (SMBUSD31:F3) ..................................... 58614.1.8 BCCBase Class Code Register (SMBUSD31:F3).................................... 58614.1.9 SMB_BASESMBUS Base Address Register (SMBUSD31:F3) ................... 58614.1.10SVID Subsystem Vendor Identification Register (SMBUSD31:F2/F4) ..... 58714.1.11SID Subsystem Identification Register (SMBUSD31:F2/F4) .................. 58714.1.12INT_LNInterrupt Line Register (SMBUSD31:F3)...............