Part Number Hot Search : 
AR649 13718 01907 M48T12 NX2016SA FRK9160R 102M2AP M5230
Product Description
Full Text Search
 

To Download SIS5595 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 SIS5595 PCI System I/O Chipset
Pentium PCI System I/O Chipset SIS5595
Preliminary
Rev. 2.0 Nov. 02, 1998
This specification is subject to change without notice. Silicon Integrated Systems Corporation assumes no responsibility for any errors contained herein.
Copyright by Silicon Integrated Systems Corp., all rights reserved.
SIS5595 PCI System I/O Chipset
Contents
1 FEATURES ....................................................................................................... 1 1.1 1.2 2 2.1 2.2 3 3.1 3.1.1 3.1.2 3.1.3 3.1.4 3.2 3.2.1 3.2.2 3.3 3.3.1 3.3.2 3.4 3.5 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.6 3.6.1 3.7 3.7.1 3.7.2 3.7.3 3.8 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 SIS5595 PCI SYSTEM I/O.................................................................... 1 FUNCTIONAL BLOCK DIAGRAM ........................................................ 4 SIS5595 PIN ASSIGNMENT (TOP VIEW) ............................................ 6 SIS5595 CHIP ALPHABETICAL PIN LIST ............................................ 7 PCI BUS INTERFACE .......................................................................... 9 PCI TO ISA BUS BRIDGE ............................................................ 9 DISTRIBUTED DMA (DDMA)...................................................... 11 PC/PCI DMA ............................................................................... 12 SERIAL IRQ (SIRQ).................................................................... 12 ACPI /LEGACY PMU .......................................................................... 15 ADVANCED CONFIGURATION AND POWER INTERFACE (ACPI) .............................................................................15 POWER MANAGEMENT UNIT................................................... 33 SMBUS FUNCTIONAL DESCRIPTIONS............................................ 36 SMBUS HOST MASTER INTERFACE........................................ 36 SMBUS HOST SLAVE INTERFACE........................................... 36 USB INTERFACE ............................................................................... 37 DATA ACQUISITION MODULE (DAM)............................................... 38 GENERAL DESCRIPTION.......................................................... 38 POWER SUPPLY VOLTAGE MONITORING.............................. 39 FAN SPEED MONITORING........................................................ 39 THE ROUND-ROBIN SAMPLING CYCLE .................................. 40 INTERFACE REGISTER BLOCK................................................ 41 INTERNAL REGISTERS............................................................. 41 INTEGRATED REAL TIME CLOCK (RTC) ......................................... 41 REAL TIME CLOCK MODULE.................................................... 41 AUTOMATIC POWER CONTROL MODULE...................................... 44 APC REGISTERS....................................................................... 45 APC FUNCTIONS....................................................................... 45 S3 (STR) FUNCTION RELATED SIGNALS ................................ 50 INTEGRATED KEYBOARD CONTROLLER....................................... 52 STATUS REGISTER................................................................... 52 INPUT/OUTPUT BUFFER .......................................................... 53 INTERNAL OUTPUT PORT DEFINITIONS................................. 53 KEYBOARD INTERNAL BIOS COMMANDS ( I/O PORT 64H ) .. 54 PASSWORD SECURITY AND KEYBOARD POWER UP
i Silicon Integrated Systems Corporation
PIN ASSIGNMENT (TOP VIEW)....................................................................... 6
FUNCTIONAL DESCRIPTION .......................................................................... 9
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
FUNCTIONS ............................................................................... 56 RELATED PCI TO ISA BRIDGE CONFIGURATION REGISTERS .................................................................................... 58 ISA BUS INTERFACE ........................................................................ 59 ISA BUS CONTROLLER ............................................................ 59 DMA CONTROLLER................................................................... 59 INTERRUPT CONTROLLER ...................................................... 59 INTERRUPT STEERING ............................................................ 60 TIMER/COUNTER ...................................................................... 61 SYSTEM RESET ................................................................................ 61 PCI/ISA BUS INTERFACE ................................................................. 63 PCI BUS + CPU INTERFACE............................................................. 65 KBC + MISC. ...................................................................................... 67 USB CONTROLLER........................................................................... 72 RTC .................................................................................................... 73 DATA ACQUISITION INTERFACE ..................................................... 75 POWER PINS..................................................................................... 76
3.8.6 3.9 3.9.1 3.9.2 3.9.3 3.9.4 3.9.5 3.10 4 4.1 4.2 4.3 4.4 4.5 4.6 4.7 5 6
PIN DESCRIPTIONS....................................................................................... 63
HARDWARE TRAP ......................................................................................... 77 REGISTER SUMMARY ................................................................................... 79 6.1 6.2 6.2.1 6.2.2 6.2.3 6.2.4 6.3 6.4 6.5 6.6 6.6.1 6.6.2 6.7 6.7.1 6.8 PCI TO ISA BRIDGE CONFIGURATION REGISTERS ...................... 79 LEGACY ISA REGISTERS................................................................. 80 DMA REGISTERS ...................................................................... 80 INTERRUPT CONTROLLER REGISTERS................................. 82 TIMER REGISTERS ................................................................... 82 OTHER REGISTERS.................................................................. 82 PMU CONFIGURATION REGISTERS ............................................... 83 ACPI CONFIGURATION REGISTERS ............................................... 84 SMBUS IO REGISTERS..................................................................... 85 USB OPENHCI HOST CONTROLLER CONFIGURATION SPACE.... 85 USB CONFIGURATION SPACE (FUNCTION 2) ........................ 85 HOST CONTROLLER OPERATIONAL REGISTERS ................. 86 AUTOMATIC POWER CONTROL (APC) REGISTERS ...................... 87 RTC REGISTERS....................................................................... 87 DATA ACQUISITION MODULE (DAM) INTERNAL REGISTERS....... 88 PCI TO ISA BRIDGE CONFIGURATION REGISTERS ...................... 89 PMU CONFIGURATION REGISTERS ............................................. 111 ACPI CONFIGURATION REGISTERS ............................................. 134 SMBUS IO REGISTERS................................................................... 153 THE DATA ACQUISITION MODULE INTERNAL REGISTERS ........ 160
ii Silicon Integrated Systems Corporation
7
REGISTER DESCRIPTION ............................................................................. 89 7.1 7.2 7.3 7.4 7.5
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
7.6 7.7 7.8 7.8.1 7.8.2 7.8.3 7.8.4 7.8.5 8 8.1 8.2 8.3 8.4 8.5 8.5.1 8.5.2 8.5.3 9 10 9.1 APC CONTROL REGISTERS .......................................................... 168 OTHER REGISTERS ....................................................................... 173 USB OPENHCI HOST CONTROLLER CONFIGURATION SPACE.. 173 CONTROL AND STATUS PARTITION ..................................... 174 MEMORY POINTER PARTITION ............................................. 181 BITS FRAME COUNTER PARTITION ...................................... 184 ROOT HUB PARTITION ........................................................... 187 LEGACY SUPPORT REGISTERS............................................ 194 SIS5595 INTERNAL POWER PLANES ............................................ 198 ABSOLUTE MAXIMUM RATINGS.................................................... 199 DC CHARACTERISTICS.................................................................. 199 INTERNAL RTC POWER CONSUMPTION...................................... 202 AC CHARACTERISTICS .................................................................. 203 SIS5595 DMA CONTROLLER AC CHARACTERISTICS .......... 203 SIS5595 PCI-TO-ISA CYCLES AC CHARACTERISTICS ......... 204 SIS5595 MISC. AC CHARACTERISTICS ................................. 206 SIS5595 (PQFP 208-PIN PLASTIC FLAT PACKAGE)...................... 209 COPYRIGHT NOTICE................................................................................ 210
ELECTRICAL CHARACTERISTICS .............................................................. 198
MECHANICAL DIMENSION .......................................................................... 209
Preliminary V2.0 Nov. 2, 1998
iii
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Figures
FIGURE 1.2-1 FUNCTIONAL BLOCK DIAGRAM .................................................... 4 FIGURE 2.1-1 PIN ASSIGNMENT (TOP VIEW) ...................................................... 6 FIGURE 3.1-1 PCI ISA DELAY TRANSACTION.................................................... 10 FIGURE 3.1-2 START FRAME TIMING WITH SOURCE SAMPLED A LOW PULSE ON SMI# .......................................................................................... 13 FIGURE 3.1-3 STOP FRAME TIMING WITH HOST USING 17 SIRQ# SAMPLING PERIOD ........................................................................................... 13 FIGURE 3.2-1 GLOBAL SYSTEM STATE DIAGRAM............................................ 16 FIGURE 3.2-2 WAKE UP EVENTS IN S1 / S2....................................................... 18 FIGURE 3.2-3 5595'S TIMING DIAGRAM IN S2 STATE ....................................... 18 FIGURE 3.2-4 NORTH BRIDGE/5595'S TIMING DIAGRAM IN S3 STATE ........... 19 FIGURE 3.2-5 STPCLK# THROTTLING & PERFORMANCE ................................ 22 FIGURE 3.2-6 PROCESSOR POWER STATE DIAGRAM..................................... 23 FIGURE 3.2-7 STPCLK# SOURCE ....................................................................... 24 FIGURE 3.2-8 THERMAL DETECTION LOGIC ..................................................... 25 FIGURE 3.2-9 SCI / SMI# EVENTS OVERVIEW .................................................. 27 FIGURE 3.2-10 GENERAL PURPOSE TIMER LOGIC .......................................... 28 FIGURE 3.2-11 GPIO LOGIC ................................................................................ 29 FIGURE 3.4-1 USB SYSTEM BLOCK DIAGRAM .................................................. 38 FIGURE 3.5-1 DATA ACQUISITION MODULE BLOCK DIAGRAM ....................... 39 FIGURE 3.6-1 RTC MODULE BLOCK DIAGRAM.................................................. 42 FIGURE 3.6-2 ADDRESS MAP OF THE STANDARD BANK................................. 43 FIGURE 3.6-3 BLOCK DIAGRAM OF RTC............................................................ 44 FIGURE 3.7-1 TYPICAL TIMING SEQUENCE ON THE POWER CONTROL RELATED SIGNALS ...................................................................... 45 FIGURE 3.7-2 POWER UP REQUEST EVENTS................................................... 47 FIGURE 3.7-3 POWER BUTTON ON EVENT ....................................................... 47 FIGURE 3.7-4 RING UP EVENT............................................................................ 48 FIGURE 3.7-5 POWER MANAGE EVENT 1.......................................................... 49 FIGURE 3.7-6 POWER MANAGE EVENT 0.......................................................... 49 FIGURE 3.7-7 POWER DOWN REQUEST EVE.................................................... 50 FIGURE 3.9-1 INTERRUPT ROUTER IRX ............................................................ 61 FIGURE 3.10-1 TIMING SEQUENCE FOR POWER-ON PROCESS..................... 62 FIGURE 3.10-2 TIMING FOR GENERATING INIT#/CPURST# ............................. 62 FIGURE 5-1 BLOCK DIAGRAM FOR GENERATING CORE FREQUENCY....... 78 FIGURE 8.1-1 SIS5595 INTERNAL POWER PLANES ........................................ 198 FIGURE 8.5-1 DMA CYCLES .............................................................................. 204 FIGURE 8.5-2 THE AC TIMING DIAGRAM OF PCI TO ISA BUS CYCLES......... 206 FIGURE 8.5-3 MISCELLANEOUS TIMING .......................................................... 209 FIGURE 9.2-1 SIS5595 PACKAGE SPECIFICATION.......................................... 209
Preliminary V2.0 Nov. 2, 1998
iv
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Tables
TABLE 1.2-1 MULTI-FUNCTION PINS .................................................................... 5 TABLE 3.1-1 IRQS MAPPING IN SERIAL IRQ PERIODS ..................................... 14 TABLE 3.2-1 SLEEPING STATE AND CLOCK STATE ......................................... 17 TABLE 3.2-2 SLEEPING STATE AND POWER STATE ....................................... 17 TABLE 3.2-3 GPIOX RELATIONAL DATA TABLE................................................ 31 TABLE 3.2-4 RELOAD EVENTS FOR EACH TIMER............................................ 34 TABLE 3.2-5 WAKEUP EVENT FROM PMU ........................................................ 35 TABLE 3.3-1 SMBUS INTERRUPRELATED TABLE ............................................. 36 TABLE 3.6-1 THE ACCESS OF STANDARD/EXTEND BANK AND APC REGISTERS ..................................................................................... 42 TABLE 3.7-1 ADDRESS MAP OF THE APC CONTROL REGISTERS .................. 45 TABLE 3.9-1 8259 IRQS MAPPING....................................................................... 59 TABLE 7.8-1 LEGACY SUPPORT REGISTERS.................................................. 194 TABLE 7.8-2 EMULATED REGISTERS............................................................... 195 TABLE 8.2-1 MIN .AND MAX. VOLTAGE AND TEMPERATURE TABLE ............ 199 TABLE 8.3-1 SIS5595 DC CHARACTERISTICS TABLE ..................................... 199 TABLE 8.4-1 RTC POWER CONSUMPTION TABLE .......................................... 202 TABLE 8.5-1 DMA CONTROLLER AC CHARACTERISTICS TABLE .................. 203 TABLE 8.5-2 PCI-TO-ISA CYCLES AC CHARACTERISTICS TABLE ................. 204 TABLE 8.5-3 MISC. AC CHARACTERISTICS TABLE ......................................... 206
Preliminary V2.0 Nov. 2, 1998
v
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
1
1.1
FEATURES
SIS5595 PCI SYSTEM I/O Integrated PCI-to-ISA Bridge - Translates PCI Bus Cycles into ISA Bus Cycles. - Translates ISA Master or DMA Cycles into PCI Bus Cycles. - Provides a Dword Post Buffer for PCI to ISA Memory cycles. - Two 32 bit Prefetch/Post Buffers Enhance the DMA and ISA Master Performance. - Fully Compliant to PCI 2.1. Supports both Desktop and Mobile Advanced Power Management Logic - Meets ACPI 1.0 Requirements. - Supports Both ACPI and Legacy PMU. - Supports Suspend to RAM. - Supports Suspend to Hard Disk. - Optionally Tri-state ISA bus in low power state. - Supports Battery Management and LB/LLB/AC Indicator. - Supports CPU's SMM Mode Interface. - Supports CPU Stop Clock. - Supports Power Button of ACPI. - Supports three system timers and SMI# watchdog timer. - Supports Automatic Power Control. - Supports Modem Ring-in, RTC Alarm Wake up. - Supports Thermal Detection. - Supports GPIOs, and GPOs for External Devices Control. - Supports Programmable Chip Select. - Supports PCI Bus Power Management Interface Spec. 1.0 . - Supports Pentium II Sleep State.
Preliminary V2.0 Nov. 2, 1998
1
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Enhanced DMA Functions - 8-, 16- bit DMA Data Transfer. - Two 8237A Compatible DMA Controllers with Seven Independent Programmable Channels. - Provide the Readability of the two 8237 Associated Registers. - Support Distributed DMA. - Support PC/PCI DMA. - Per DMA channel programmable in legacy, DDMA or PC/PCI DMA mode operation. Integrated Two 8259A Interrupt Controllers - 14 Independently Programmable Channels for Level- or Edge-triggered Interrupts. - Provide the Readability of the two 8259A Associated Registers. - Support Serial IRQ. - Support the Reroutability for the PCI Interrupts. Three Programmable 16-bit Counters compatible with 8254 - System Timer Interrupt. - Generate Refresh Request. - Speaker Tone Output. - Provide the Readability of the 8254 Associated Registers. Integrated Keyboard Controller - Hardwired Logic Provides Instant Response. - Supports PS/2 Mouse Interface. - Supports Keyboard Password Security or Hot Key Power On Function. - Supports Hot Key "Sleep" Function. - Programmable Enable and Disable for Keyboard Controller and PS/2 Mouse. Integrated Real Time Clock(RTC) with 256B CMOS SRAM - Supports ACPI Day of Month Alarm/Month Alarm. - Supports various Power Up events, such as Button Up, Alarm Up, Ring Up, GPIO5/PME0# Up, GPIO10/ PME1# Up, Password Security Up, and Hotkey Up.
Preliminary V2.0 Nov. 2, 1998
2
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
- Supports various Power Down Events, like Software Power-down, Button Powerdown, and ACPI S3 Power-down. - Supports Power Supply '98. - Provides RTC year 2000 solution. Integrated Frequency Ratio Control Logic for Pentium II CPU Universal Serial Bus Host Controller - Open HCI Host Controller with Root Hub. - Two USB Ports. - Supports Legacy Devices. - Supports Over Current Detection. Integrated Hardware Monitor Logic - Up to 5 Positive Voltage Monitoring Inputs. - Two Fan Speed Monitoring Inputs. - One Temperature Sensings. - Supports thermister- or diode- temperature sensing for Pentium II CPU. - Threshold Comparison of all Monitored Values. Supports I2C Serial Bus/ SMBUS Supports 2MB Flash ROM Interface 208 pins PQFP Package 5V CMOS Technology
Preliminary V2.0 Nov. 2, 1998
3
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
1.2
FUNCTIONAL BLOCK DIAGRAM
PCLK PHOLD# PHLDA# SERR# INT[A:D]# AD[31:0] C/BE[3:0]# FRAME# IRDY# DEVSEL# TRDY# STOP# GPIO0/PAR GPIO17/SIRQ PCIRST#
DATA ACQUISITION INTERFACE
DXP/VIN4 DXN GPI[15:12]/ VIN[3:0] GPIO4/FAN1 GPIO11/FAN2
GPIO9/THERM#/BTI/SMIALERT#
PCI INTERFACE
DDCCLK DDCDAT RTCVDD RTCVSS PWRGD PSRSTB# PWRBT# RING OSC32KHI/IRQ8# OSC32KHO/RTCCS# PS_ON#/RTCALE
GPIO5/PME0#/DUAL_ON#
RTC
CPURST INIT A20M# SMI# STPCLK# INTR NMI IGNE# FERR#
GPIO3/CPU_STOP#/SLP#
GPO6/CKE_S/ACPILED GPIO10/PME1#/ACPILED CPU INTERFACE SD[15:0] SA[16:0] LA[23:17] SBHE# IO16# M16# BALE IORC# IOWC# MRDC# MWTC# SMRDC# SMWTC# BCLK RFH# ZWS# GPIO16/IOCHK# IOCHRDY AEN TC DRQ[7:5,3:0] DACK[7:5,3:0]# IRQ[15:14,11:9,7:3] SPKR ROMKBCS# CLK14M PDMAREQ0# PDMAREQ1#
BM_REQ# EXTSMI# GPCS0# UCLK48M GPIO7/OC0#/PPS GPIO8/OC1# UV0+ UV0UV1+ UV1KBVDD KBDAT/IRQ1 GPIO2/KBCLK PMDAT/IRQ12 GPIO1/PMCLK GPCS1#/KLOCK#
ACPI/LEGACY PMU
USB INTERFACE
ISA BUS INTERFACE
KBC
Figure 1.2-1 Functional Block Diagram
Preliminary V2.0 Nov. 2, 1998
4
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Table 1.2-1 Multi-Function Pins GPIO0/PAR GPIO1/PMCLK GPIO2/KBCLK GPIO3/CPU_STOP#/SLP# GPIO4/FAN1 GPIO5/PME0#/DUAL_ON# GPO6/CKE_S/ACPILED GPIO7/OC0#/PPS DXP/VIN4 GPIO8/OC1# GPIO9/THERM#/ BTI/SMBALERT# GPIO10/PME1#/ACPILED GPIO11/FAN2 GPI12/VIN0 GPI13/VIN1 GPI14/VIN2 GPI15/VIN3 GPIO16/IOCHK# GPIO17/SIRQ GPCS1#/KLOCK# OSC32KHI/IRQ8# OSC32KHO/RTCCS# PS_ON#/RTCALE KBDAT/IRQ1 PMDAT/IRQ12
Preliminary V2.0 Nov. 2, 1998
5
Silicon Integrated Systems Corporation
2
2.1
DACK1# DRQ1 RFH# SA12 SA11 BCLK SA10 SA9 SA8 SA7 SA6 OVDD DACK2# SA4 SA5 DVSS TC DVDD SA3 BALE SA2 SA1 SA0 IO16# SBHE# M16# LA23 LA22 LA21 LA20 LA19 OVSS LA18 LA17 DRQ0 DACK0# MRDC# DACK5# MWTC# SD8 SD9 DACK6# DRQ5 SD10 DRQ6 SD11 SD12 DRQ7 DACK7# SD13 SD14 SD15
208 205 200 195 190 185 180 175 170 165 160 157
1
156 155
5
150
10
145
Preliminary V2.0 Nov. 2, 1998
15
140
20
135
PIN ASSIGNMENT (TOP VIEW)
25
SIS5595 PIN ASSIGNMENT (TOP VIEW)
130
SIS5595
Figure 2.1-1 pin assignment
6
30 35 40 45 50 52
65 70 75 80 90 95 53 55 60 85
125
120
115
GPIO16/IOCHK# IRQ9 IRQ7 IRQ6 IRQ5 IRQ3 IRQ4 IRQ11 IRQ10 DXP/VIN4 DXN AVDD GPI15/VIN3 GPI14/VIN2 GPI13/VIN1 GPI12/VIN0 AVSS PWRGD RTCVSS OSC32KHO/RTCCS# OSC32KHI/IRQ8# RTCVDD PSRSTB# RING PS_ON#/RTCALE PWRBT# GPIO10/PME1#/ACPILED GPO6/CKE_S/ACPILED GPIO5/PME0#/DUAL_ON# KBVDD GPIO2/KBCLK GPIO1/PMCLK KBDAT/IRQ1 PMDAT/IRQ12 CLK14M ROMKBCS# SPKR GPIO4/FAN1 GPIO11/FAN2 GPIO9/THERM#/BTI/SMBALERT# DDCDAT DDCCLK FERR# STPCLK# INIT IGNE# NMI INTR SMI# CPURST A20M# GPCS1#/KLOCK#
110 105
100 104
SA13 SA14 DACK3# SA15 DRQ3 PDMAREQ0# OVSS IORC# IOWC# SA16 IRQ15 SMRDC# SMWTC# IRQ14 SD0 IOCHRDY SD5 SD2 AEN SD1 ZWS# SD4 SD3 SD7 DRQ2 SD6 PDMAGNT0# EXTSMI# GPIO3/CPU_STOP#/SLP# BM_REQ# PCIRST# PHLDA# GPIO8/OC1# DVSS GPIO7/OC0#/PPS DVDD UCLK48M USBVDD UV1UV1+ UV0UV0+ USBVSS PHOLD# AD31 AD30 AD29 OVSS AD28 AD27 AD26 AD25
SIS5595 PCI System I/O Chipset
OVDD AD24 C/BE3# AD23 AD22 OVSS AD21 AD20 AD19 AD18 AD17 AD16 IRDY# C/BE2# DVSS DEVSEL# DVDD FRAME# TRDY# OVSS STOP# SERR# C/BE1# OVDD AD15 AD14 AD13 AD12 C/BE0# AD11 AD10 OVSS AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 OVSS AD1 OVDD AD0 INTD# INTC# PCLK INTB# INTA# GPCS0# GPIO17/SIRQ GPIO0/PAR
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
2.2 SIS5595 CHIP ALPHABETICAL PIN LIST
SIGNAL NAME A20M# AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 AD8 AD9 AD10 AD11 AD12 AD13 AD14 AD15 AD16 AD17 AD18 AD19 AD20 AD21 AD22 AD23 AD24 AD25 AD26 AD27 AD28 AD29 AD30 AD31 AEN AVDD BALE BCLK BM_REQ# C/BE0#
SIS5595 PIN NO. 51 61 63 65 66 67 68 69 70 71 72 74 75 77 78 79 80 93 94 95 96 97 98 100 101 103 105 106 107 108 110 111 112 138 12 176 162 127 76
SIGNAL NAME C/BE1# C/BE2# C/BE3# CLK14M CPURST DACK0# DACK1# DACK2# DACK3# DACK5# DACK6# DACK7# DDCCLK DDCDAT DEVSEL# DRQ0 DRQ1 DRQ2 DRQ3 DRQ5 DRQ6 DRQ7 DVDD DVDD DVDD DVSS DVSS DVSS DVSS DXP/VIN4 DXN EXTSMI# FERR# FRAME# GPCS0# GPI12/VIN0 GPI13/VIN1 GPI14/VIN2 GPI15/VIN3
SIS5595 PIN NO. 82 91 102 35 50 192 157 169 154 194 198 205 42 41 89 191 158 132 152 199 201 204 88 121 174 17 90 123 172 10 11 129 43 87 55 16 15 14 13
SIGNAL NAME GPIO0/PAR GPIO1/PMCLK GPIO2/KBCLK GPIO3/CPU_STO P#/SLP# GPIO4/ FAN1 GPIO5/PME0#/ DUAL_ON# GPIO7/OC0#/PPS GPIO8/OC1# GPIO9/THERM#/B TI/SMBALERT# GPIO10/PME1#/A CPILED GPIO11/FAN2 GPIO16/IOCHK# GPIO17/SIRQ GPO6/CKE_S/ ACPILED IGNE# INIT INITA# INITB# INITC# INITD# INTR IO16# IOCHRDY IORC# IOWC# IRDY# IRQ3 IRQ4 IRQ5 IRQ6 IRQ7 IRQ9 IRQ10 IRQ11 IRQ14
SIS5595 PIN NO. 53 32 31 128 38 29 122 124 40 27 39 1 54 28 46 45 56 57 59 60 48 180 141 149 148 92 6 7 5 4 3 2 9 8 143
Preliminary V2.0 Nov. 2, 1998
7
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
SIGNAL NAME IRQ15 KBDAT/ IRQ1 KBVDD KLOCK#/CPCS1# LA17 LA18 LA19 LA20 LA21 LA22 LA23 M16# MRDC# MWTC# NMI OSC32KHI/IRQ8# OSC32KHO/ RTCCS# OVDD OVDD OVDD OVDD OVSS OVSS OVSS OVSS OVSS OVSS OVSS PCIRST# PCLK PDMAGNT0# PDMAREQ0# PHLDA# PHOLD# PMDAT/ IRQ12 PS_ON#/ RTCALE PSRSTB# RFH# RING PWRBT# PWRGD SIS5595 PIN NO. 146 33 30 52 190 189 187 186 185 184 183 182 193 195 47 21 20 62 81 104 168 64 73 85 99 109 150 188 126 58 130 151 125 113 34 25 23 159 24 26 18 SIGNAL NAME ROMKBCS# RTCVDD RTCVSS SA0 SA1 SA2 SA3 SA4 SA5 SA6 SA7 SA8 SA9 SA10 SA11 SA12 SA13 SA14 SA15 SA16 SBHE# SD0 SD1 SD2 SD3 SD4 SD5 SD6 SD7 SD8 SD9 SD10 SD11 SD12 SD13 SD14 SD15 SERR# SMI# SMRDC# SMWTC# SPKR STOP# SIS5595 PIN NO. 36 22 19 179 178 177 175 170 171 167 166 165 164 163 161 160 156 155 153 147 181 142 137 139 134 135 140 131 133 196 197 200 202 203 206 207 208 83 49 145 144 37 84 SIGNAL NAME STPCLK# TC TRDY# UCLK48M USBVDD USBVSS UV0UV0+ UV1UV1+ ZWS# SIS5595 PIN NO. 44 173 86 120 119 114 116 115 118 117 136
Preliminary V2.0 Oct.6, 1998
8
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3
FUNCTIONAL DESCRIPTION
SIS5595 is a highly integrated system I/O that constitutes a high performance, rich featured, yet glueless solution for both Pentium and Pentium II systems. The SIS5595 PCI system I/O integrates the PCI-to-ISA bridge with the DDMA and PC/PCI DMA, Serial IRQ capability, the ACPI/Legacy PMU, the Data Acquisition Interface, the Universal Serial Bus host/hub interface, and the ISA bus interface, which contains the ISA bus controller, the DMA controllers, the interrupt controllers, and the Timers. It also integrates the Keyboard controller, and the Real Time Clock (RTC). The built-in USB controller, which is fully compliant to OHCI (Open Host Controller Interface), provides two USB ports capable of running full/low speed USB devices. The Data Acquisition Interface offers the ability of monitoring and reporting the environmental condition of the PC. It could monitor 5 positive analog voltage inputs, 2 Fan speed inputs, and one external temperature inputs. It also integrates the automatic power control logic to control the power ON/OFF for ATX power supply. In addition, SIS5595 also integrates the thermal detection and frequency ratio control logic for Pentium II CPU. 3.1 PCI BUS INTERFACE
3.1.1 PCI TO ISA BUS BRIDGE As a PCI slave device, the PCI-to-ISA Bridge responds to both I/O and memory transfers. It always target-terminates after the first data phase for any bursting cycle.
The PCI-to-ISA Bridge is assigned as the subtractive decoder in the Bus 0 of the PCI/ISA system by accepting all accesses not positively decoded by some other agents. In reality, it only subtractively responds to low 64K I/O or low 16M memory accesses. It also positively decodes BIOS memory space by asserting DEVSEL# signal on the medium timing. It is optional to do positive or subtractive decode on I/O addresses for some internal registers. As a PCI master device, the PCI master bridge on behalf of DMA devices or ISA Master devices drives the AD bus, C/BE[3:0]# and PAR signals. When MEMR# or MEMW# is asserted, the PCI-to-ISA bridge will generate FRAME#, and IRDY# to PCI bus if the targeted memory is not on the ISA side. The valid address and command are driven during the address phase, and PAR signal is asserted one clock after that phase. It always activates FRAME# for 2 PCLKs because it does not conduct any bursting cycle. The ISA address decoder is used to determine the destination of ISA master devices or DMA devices. This decoder provides the following options as they are defined in registers 48h to 4Bh of PCI to ISA Bridge configuration space. a. Memory: 0-512K b. Memory: 512K-640K c. Memory: 640K-768K (video buffer) d. Memory: 768K-896K in eight 16K sections (Expansion ROM) e. Memory: 896K-960K (lower BIOS area)
Preliminary V2.0 Nov. 2, 1998
9
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
f. Memory: 1M-XM-16M within which a hole can be opened. Access to the hole is not forwarded to PCI bus. g. Memory: >16M automatically forward to PCI. Delayed transaction is a mechanism used when the target, like PCI-to-ISA bridge in SIS5595 on behalf of the ISA devices, cannot complete the transaction within the initial latency of 16 PCI clocks. To support delayed transaction function, the PCI-to-ISA bridge would latch all the information required to complete the transaction and then terminate the master with a retry. The PCI-to-ISA Bridge will then translate the request into ISA cycle to obtain the requested data for a read transaction or complete the actual request if a write request. During this period the original master would keep retrying the cycles while other PCI masters are also allowed to use the bus that would normally be wasted holding the original master in wait states. Eventually, the original master would get the latched data for read transaction, or complete the cycle for the write transaction when the PCI-to-ISA Bridge completes the ISA cycles. * DMA/ISA Master Cycles
ISA devices or DMA controller embedded in the PCI-to-ISA Bridge of SIS5595 may become ISA master and initiate cycles to access PCI bus. It is quite often that the ISA master may request for ISA bus while there is a delayed transaction undergoing. As a result, an arbitration rule is adopted in the PCI-to-ISA Bridge to prevent conflict on the ISA bus. In this section, the actions of an ISA master cycle will be described first, and next outline the arbitration rules. For convenience, the progress of a delayed transaction cycle will be divided into three phases: DT_PH_1, DT_PH_2 and DT_PH_3.
T1 PCI BUS
T3
T1
T3
T2 ISA BUS
T2
DT_PH_1
DT_PH_2
DT_PH_3
DT_PH_1
DT_PH_2
DT_PH_3 DT_PH_1
: BUS BUSY PERIOD
T1: A new delayed transaction is accepted T2: The delayed transaction is completed on ISA bus T3: Original master completes the delayed transaction cycle
Figure 3.1-1 PCI ISA Delay Transaction DT_PH_1: This is the period when there is no pending delayed transaction in progress
Preliminary V2.0 Nov. 2, 1998
10
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
DT_PH_2: This is the period when the ISA cycle corresponding to the delayed transaction is undergoing on ISA bus. DT_PH_3: From the end of ISA cycle up to the original PCI master successfully retries and completes the whole delayed transaction. Note: the delayed transaction is said to be pending during DT_PH_2 and DT_PH_3. Traditionally, ISA (DMA) masters request ISA bus by asserting their corresponding DRQs to DMA controller embedded in the PCI-to-ISA bridge. The PCI-to-ISA bridge will then generate PHOLD# to system arbiter to request for PCI bus. The PHOLD# will be asserted as long as DRQ is asserted by the ISA master. In response to PHOLD#, the system arbiter grants PCI bus to PCI-to-ISA bridge by asserting PHLDA#. The PCI-to-ISA bridge, upon receiving PHLDA#, will first check if ISA bus is busy or idle. If busy, it will defer the assertion of DACK# until ISA bus returns to idle. If idle, it will assert the corresponding DACK# immediately to inform ISA master to start. When ISA master receives DACK#, it can then start its cycles transferring data to or from PCI (ISA) bus. When ISA master finishes its cycles, it de-asserts DRQ and then PHOLD# will also be de-asserted immediately. The system arbiter, in response to the desertion of PHOLD#, will immediately de-assert PHLDA#. This completes the whole sequence of ISA master cycles. * Delayed Transaction and ISA Master Arbitration Rule 1) When ISA master issues DREQ and there is no pending delayed transaction, this is the normal case that no arbitration is needed and the PCI-to-ISA bridge behaves exactly as that stated above. 2) When ISA master issues DREQ and there is currently a delayed transaction pending, the PCI-to-ISA bridge will disregard the pending delayed transaction and immediately generate PHOLD# to request for PCI bus. 3) When the system arbiter grants PCI bus to ISA master by asserting PHLDA#, and the delayed transaction is in DT_PH_2, i.e., the ISA bus is busy, the PCI-to-ISA bridge should defer the assertion of DACK# until DT_PH_3 is entered. Otherwise, ISA master will start its cycles as soon as DACK# is asserted and may result in ISA bus conflict. 4) If PHLDA# is asserted when the pending delayed transaction is already in DT_PH_3, i.e., the ISA bus has returned to idle, the PCI-to-ISA bridge can assert DACK# immediately and hence ISA master may start its cycles even when the delayed transaction is not yet completed on PCI bus. 5) During the period that ISA master is active and delayed transaction is pending in DT_PH_3, the original PCI master that initiated the delayed transaction will temporarily stop retrying on the PCI bus because PCI bus is now owned by ISA master. 6) After the ISA master finishes its data transfers, the original PCI master should eventually re-gain PCI bus and retry successfully. 3.1.2 DISTRIBUTED DMA (DDMA) Distributed DMA allows the individual DMA channels to be separated into different physical devices on the PCI bus. In distributed DMA, the DMA Master contains the addresses that were occupied by the traditional ISA DMA Controller (8237). This device will respond to any system read or write to the traditional ISA DMA address locations so the software will
Preliminary V2.0 Nov. 2, 1998
11
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
continue to think it is communicating with a standard DMA controller. The SIS5595 is the DMA Master and the protocol is as follows: 1) When the CPU Bridge attempts to read/write a legacy DMA register, a PCI I/O cycle will be initiated on the PCI bus with a legacy DMA address. The SIS5595 will take control of this cycle by driving DEVSEL# active, asserting PHOLD# and issuing a PCI retry to terminate this cycle. 2) When granted the PCI bus, the SIS5595 will run up to 4 PCI I/O read/write cycles. The specific I/O addresses for each legacy DMA address are remappable. The purpose of these read/writes is to return/send the individual channel read/write information. DMA Slave devices must only respond to the slave address assigned to them and not any legacy DMA address. 3) At the end of the last read/write the SIS5595 will set an internal flag indicating the completion and will de-assert PHOLD# and wait for the retried PCI I/O read/write from the CPU bridge. The PCI I/O read/write will be retried. If it was a read, the SIS5595 will return the data. If it was a write, the SIS5595 will simply terminate the cycle. Then the SIS5595 will reset the internal flag. 3.1.3 PC/PCI DMA SIS5595B supports one PC/PCI PDMAREQ0#/PDMAGNT0# pairs. PCI devices plugged in the PCI slot may initiate PC/PCI DMA transfer cycles through the PDMAREQ0#/ PDMAGNT0# pair. For DMA operation, three types of transfer cycles are supported: Memory-to-I/O, I/O-to-Memory and Verify. SIS5595B also supports ISA master operation through PC/PCI DMA channels, on which a PCI device may request the PCI bus through the PDMAREQ0#/PDMAGNT0# pair. Each of the seven DMA channels can be individually programmed to be in Legacy, DDMA or PC/PCI DMA mode. Care must be taken to ensure only one of the three operation modes is enabled for a particular DMA channel. The legacy 8237 compatible registers will be used to control the operation of PC/PCI DMA, for software backward compatibility. 3.1.4 SERIAL IRQ (SIRQ) The Serial IRQ provides a mechanism for communicating IRQ status between ISA legacy components, PCI components, and PCI system controllers. A serial interface is specified that provides a means for transferring IRQ and/or other information from one system component to a system host controller. A transfer, called a serial IRQ cycle, consists of three frame types: one Start Frame, several IRQ/Data Frames, and one Stop Frame. This protocol uses the PCI clock as its clock source and conforms to the PCI bus electrical specification. 3.1.4.1 Timing Diagrams For Serial IRQ Cycle
Preliminary V2.0 Nov. 2, 1998
12
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
SL or H PCICLK SIRQ# Drive Source
START FRAME
IRQ1 FRAME
SMI# FRAME
H
R
T
S
R
T
S
R
T
S
R
T
START 1 Host Controller None None SMI#
H=Host Control
SL=Slave Control
R=Recovery
T=Turn-around
S=Sample
1. Start Frame pulse can be 4-8 clocks wide.
Figure 3.1-2 Start Frame Timing with Source Sampled a Low Pulse on SMI#
IRQ14 FRAME IRQ15 FRAME IOCHK# FRAME STOP FRAME
2
NEXT CYCLE
S PCICLK SIRQ# Drive
R
T
S
R
T
S
R
T
I
H
R
T
STOP None IRQ15 None
1
ST ART
3
Host Controller
H=Host Control
R=Recovery
T=Turn-around
S=Sample
I=Idle
1. Stop pulse is 2 clocks wide for Q uiet mode, 3 clocks wide for Continuous mode. 2. There may be none, one or more Idel states during the Stop Frame. 3. The next Se rial IRQ cycle's Start Frame pulse may or may not start immediately after the turn-around clock of the Stop Frame.
Figure 3.1-3 Stop Frame Timing with Host using 17 SIRQ# Sampling Period 3.1.4.2 Serial IRQ Cycle Control There are two modes of operations for the serial IRQ start frame. 1) Quiet (Active) Mode: Any device may initiate a Start Frame by driving SIRQ# low for one clock, while SIRQ# is idle. After driving low one clock the SIRQ# must immediately be tri-stated without any time driving high. A Start Frame may not be initiated while the SIRQ# is Active. The SIRQ# is Idle between Stop and Start Frames. This mode of operation allows the SIRQ# to be Idle when there are no IRQ/Data transitions which should be most of the time. Once a Start Frame has been initiated, the SIS5595 will take over driving the SIRQ# low in the next clock and will continue driving the SIRQ# low for a programmable period of three to seven clocks more. This makes a total low pulse width of four to eight clocks. Finally, SIS5595 will drive the SIRQ# back high for one clock, then tri-state. Any serial IRQ device which detects any transition on an SIRQ# line for which it is responsible must initiate a Start Frame in order to update the SIS5595 unless the
Preliminary V2.0 Nov. 2, 1998
13
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
SIRQ# is already in a serial IRQ cycle and the IRQ/Data transition can be delivered in the serial IRQ cycle. 2) Continuous (Idle) Mode: Only the SIS5595 can initiate a Start Frame to update SIRQ# line information. All other serial IRQ agents become passive and may not initiate a Start Frame. SIRQ# will be driven low for four to eight clocks by the SIS5595. There are two functions in this mode. It can be used to stop or idle the SIRQ# or the SIS5595 can operate SIRQ# in a continuous mode by initiating a Start Frame at the end of every Stop Frame. A serial IRQ mode transition can only occur during the Stop Frame. Upon reset, the Serial IRQ bus is defaulted to continuous mode, therefore only the SIS5595 can initiate the first Start Frame. Slave must continuously sample the Stop Frames pulse width to determine the next serial IRQ cycle's mode. 3.1.4.3 IRQ/Data Frame Once a Start Frame has been initiated, all serial IRQ devices must detect the rising edge of the Start pulse and start counting IRQ/Data Frames from there. There are three clock phases for each IRQ/Data Frame: Sample Phase, Recovery Phase, and Turn-around Phase. During the Sample phase the serial IRQ device must drive the SIRQ# low, if and only if, its last detected IRQ/Data value was low. If its detected IRQ/Data value is high, SIRQ# must be left tri-stated. During the Recovery phase, a serial IRQ device will drive SIRQ# back high if it has driven the SIRQ# low in the previous clock. During the Turn-around phase all serial IRQ devices must be tri-stated. All serial IRQ devices will drive SIRQ# low at the appropriate sample point regardless of which device initiated the sample activity, if its associated IRQ/Data line is low. The Sample phase for each IRQ/Data follows the low to high transition of the Start Frame pulse by a number of clocks equal to the IRQ/Data Frame times three, minus one. (e.g., the IRQ5 sample clock is the sixth IRQ/Data frame, (6x3)-1=17th clock after the rising edge of the Start Pulse). Table 3.1-1 IRQs Mapping in Serial IRQ Periods SERIAL IRQ SAMPLING PERIODS IRQ/Data Frame 1 2 3 4 5 6 7 8 9 10 11 12 13 Preliminary V2.0 Nov. 2, 1998 Signal Sampled Reserved IRQ1 SMI# IRQ3 IRQ4 IRQ5 IRQ6 IRQ7 IRQ8# IRQ9 IRQ10 IRQ11 IRQ12 14 # of clocks past Start 2 5 8 11 14 17 20 23 26 29 32 35 38
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
SERIAL IRQ SAMPLING PERIODS IRQ/Data Frame 14 15 16 17 18 19 20 21 32:22 Signal Sampled IRQ13 IRQ14 IRQ15 IOCHCK# INTA# INTB# INTC# INTD# Unassigned # of clocks past Start 41 44 47 50 53 56 59 62 95
At the end of each Sample phase, the SIS5595 will sample the state of the SIRQ# line and replicate the status on the original IRQ/Data line at the input to the 8259s Interrupt Controller. 3.1.4.4 Stop Cycle Control Once all IRQ/Data frames have completed, the SIS5595 will terminate SIRQ# activity by driving Stop cycle. Only the SIS5595 can initiate the stop frame. A Stop Frame is indicated by the SIS5595 driving SIRQ# low for two clocks (Quiet Mode) or 3 clocks (Continuous Mode), then back high for one clock. In the Quiet mode, any serial IRQ device may initiate a Start frame in the third clock or more after the rising edge of the Stop frame pulse. In the Continuous mode, only the SIS5595 may initiate a Start frame in the third clock or more after the rising edge of the Stop frame pulse. 3.2 ACPI /LEGACY PMU
3.2.1 ADVANCED CONFIGURATION AND POWER INTERFACE (ACPI) Advanced Configuration and Power Interface (ACPI) is PC 97/98 specification. ACPI extends the portability for different platforms by moving the power management function into the OS. ACPI also releases the restriction of ROM BIOS capacity on the complexity of the advanced power management functions. The power management events of ACPI are initiated by the assertion of System Control Interrupt (SCI). System uses SCI to send ACPI-relevant notifications to the host OS, and then OS executes the specific service sub-routines according to which enable bit and status bit is set. The ACPI architecture in SIS5595 consists of the Fixed Features logic, Generic Features logic, Legacy Features logic, and the configuration registers to ensure fluent communication with the ACPI-compliant OS. The Fixed Features meet ACPI SPEC 1.0 requirement. The SCI/SMI# generating logic in ACPI senses external environmental changes or requests and interrupts, the OS to take some action. The wakeup logic will sequence the system from the S1/S2 to G0/S0 working state. Besides, sequencing the system from S3/S5 to G0/S0 can only be achieved through the power up events processed in the RTC/APC module. 3.2.1.1 Fixed Features
Preliminary V2.0 Nov. 2, 1998
15
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
From ACPI specification, SIS5595 supports the four global system states (G0-G3), and the traditional Legacy system state as shown in the Figure 3.2-1 Global System State Diagram. The ACPI-compliant OS assumes the responsibility of sequencing the platform between these various global states. The ACPI-compliant OS is invoked by the shareable interrupt to which SCI is routed. The re-routability of SCI is through the programming of register 6Ah of the PCI to ISA configuration space. Transition of Legacy to/from ACPI is through issuing ACPI activate/deactivate command to the SMI# handler by doing I/O write command to the SMI# Command Port (35h).
C0
Power Failure
ACPI Boot (SCI_EN=1)
S0 Working (G0)
SLP_TYPx=(001011) and SLP_EN=1
S3 S2 S1
Wake Event
Mech Off (G3)
SCI_EN=1 SCI_EN=0 SLP_TYPx=10 1 and SLP_EN=1 or PWRBTN_OR ACPI Boot (SCI_EN=1)
SLP_TYPx=10 0 and SLP_EN=1
Sleeping (G1)
Legacy Boot (SCI_EN=0)
Software Suspend to Disk
Legacy
Legacy Boot (SCI_EN=0)
S4/S5 Soft-Off (G2)
Figure 3.2-1 Global System State Diagram * Sleeping State
ACPI state machine would stay at G0 working state as the normal operating state in which different devices are dynamically transiting between the respective power states, and processors are dynamically transiting between their respective states (C0, C1, C2, C3). In reality, the system G1 State consists of S1, S2, S3, and S4 State hierarchically in the sense of sleeping states. The O.S. can initiate the sleeping state transition by programming the SLP_TYPx field with the appropriate value and then setting the SLP_ENx bit high. Table 3.2-1 Sleeping State and Clock State summarizes the recommended arrangement of CLK; Table 3.2-2 Sleeping State and Power State describes the recommended arrangement of the power state for the major components at the three sleeping states. In S2 state, the CLK to the CPU can be further stopped in SiS cored based Pentium system. However, all the clocks in S2 State must keep running in SiS cored based Pentium II system due to the nature of the clock scheme used. It is optional to put memory subsystem into the self-refresh
Preliminary V2.0 Nov. 2, 1998
16
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
mode while the system enters S2 State. However, it is a MUST for a system to place the memory subsystem into self-refresh mode when it enters S3 State.
Table 3.2-1 Sleeping State and Clock State SYSTEM STATE S1 S2 CLOCK STATE Assert STPCLK# ; Assert STPCLK# ; Use GPIO3 to stop CPUCLK ; Use GPIO3 as SLP# to put Pentium II into SLEEP state Disable all the clocks except that for the wake-up logic (*1)
S3
(*1) Only 5595/32KHz is alive. Wake-up logic in SIS5595 chipset family normally relates to RTC module. Table 3.2-2 Sleeping State and Power State SYSTEM STATE S1 S2 S3 S4/S5 POWER STATE Keep all the power supplied Can turn off the power for ISA devices Can turn off all the power except for the SDRAM and the wake-up logic Turn off all the power except for the wake-up logic.
The following statement details the running steps of S1, S2 and S3 State: * S1 state
Entering S1 state is achieved by setting SLP_EN bit HIGH and SLP_TPY=001. All system power is still alive in this state. A set of wake-up Events can be enabled, before entering S1, to wake up the system back to G0 State. * S2 state
The North Bridge in the following context may stand for SiS530 used in Pentium system or SiS5600/SiS620 used in Pentium II system, respectively. 1) Disable PCI system Arbiter & AGP arbiter 2) Program into S2 mode with the consequence that STPCLK# is asserted. 3) North Bridge keeps processing whatever is requested until CPU generates a stop grant (stpgnt) cycle. The North Bridge then forwards the stpgnt cycle via PCI special cycle to the PCI bus. While intercepting the stpgnt special cycle on the PCI bus, 5595 will optionally first mask the ISA commands (IORC#, IOWC#, MRDC#, and MWTC#), float all the ISA signals, and then assert GPIO3 in 32 PCICLKs later. GPIO3 can be used to disable the CPUCLK in Preliminary V2.0 Nov. 2, 1998 17 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Pentium system. However, it is recommended that GPIO3 is connected to SLP# of Pentium II processor to place it into very low power SLEEP STATE in which the processor maintains its context, and PLL, and has stopped all internal clocks. 4) When the system is awaken, the WAK_STS is set, re-enable the ISA bus, unmask the ISA commands, and finally de-assert the STPCLK# in about 4ms. A period of 4ms is reserved to allow the CPU/PLL stabilization. A set of wake up events illustrated in Figure 3.2-2 Wake up events in S1 / S2 are supported to wake up the system in the S2 state. Enabling "Mask the ISA command" and "Float the ISA signals" upon waking up from S2 State can be achieved by setting bit 3 of ACPI Reg. 13h. No ISA cycles should be initiated before RSTDRV is de-asserted. Setting bit 2 of ACPI reg. 13h can select the GPIO3 multifunction pin to function as CPU_STOP#/SLP#.
USB IRQ / SMI# (bit)Source (30)USB (29)GP_TMR (28)EXTSMI# (26)Hotkey (25)Ring (24)DAM (23)SMBus (17:7,5:0)GPIO GPE Enable ACPI 18h
EXTSMI# Ring Logic DAM IRQ / SMI# SMBus GPIOxx
GPE Status ACPI 14h PM1 Status ACPI 00h
IRQ8# PWRBT#
(bit)Source (10)RTC (08)PWRBTN# PM1 Enable ACPI 02h
Wake up Event Set in S1 /S2
IRQWK_EN ACPI 18h.31 IRQ Wakeup evet from PMU Block IRQWK_STS ACPI 18h.31
Figure 3.2-2 Wake up events in S1 / S2 Note : DAM means Data Acquisition Module.
enter S2
1~2PCLKs
4ms
STPCLK#
1~2PCLKs
stpgnt maskisa# floatisa#
32PCLKs 1~2PCLKs
GPIO3 w ak_sts RSTDRV
tri-state
W ake up event
Clear by BIOS
Figure 3.2-3 5595's Timing Diagram in S2 State Note : stpgnt, maskisa, floatisa, and wak_sts are internal signals. Preliminary V2.0 Nov. 2, 1998 18 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
enter S3 STPCLK# Boot Process stpgnt 32~64u
128~160u
clear APC reg 04h.7
CKE_S (DUAL_ON#) PS_ON# PCIRST
Power up request events
Set 6Ch.[5:4] of Host to PCI config. space
CKE_N
Set 6Ch.4 of Host to PCI config. space
CKE
Figure 3.2-4 North Bridge/5595's Timing Diagram in S3 State Note : "stpgnt" is an internal signal. CKE_N and CKE are driven by SiS North Bridge. * S3 state (Suspend To RAM)
Disable PCI system Arbiter & AGP arbiter. Similar to the S2 state, STPCLK# is asserted as a result of transiting the system into S3 state by writing 011(binary digit) to SLP_TYP field of register 04h in the ACPI IO space. Having intercepted the Stop_Grant special cycle on the PCI bus, the SIS5595 will enable and drive CKE_S low in 32us to 64 us, and then negate PS_ON# in another 128us to 160us later. Figure 3.2-4 North Bridge/5595's Timing Diagram in S3 State is the timing diagram showing the sequence happening on the SIS5595 while entering/exiting S3 State. To provide a fast wake-up latency, it is highly recommended to place the system into the Suspend to RAM (STR) state in S3 state. Placing the system into STR is normally achieved through keeping the system image in the main memory (not in the hard disk). Except the memory subsystem, and the wake-up logic, the power to the rest of the M/B components is removed. Moreover, the memory subsystem is put into the low power state. For today's mainstream memory like EDO or SDRAM, placing it into low power state can be performed by programming it for self-refresh mode. Per the SDRAM specification, it is required to keep CKE low as long as it is maintained in self-refresh mode. There are two classes of CKE signals generated in SiS chipset. One is CKE_N from the North Bridge, and the other is CKE_S from SIS5595. For a system which does not support Suspend to RAM (STR), CKE can be simply connected to a pull high resistor. To support Suspend to RAM function, an external LVT 245 is employed to generate 6 CKE signal lines to support 3 DIMM configuration. Please refer to the SiS5600/ SiS620/SIS5595 design guide or the associated application circuit for more detail. The
Preliminary V2.0 Nov. 2, 1998
19
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
following details the protocol of CKE_N, and CKE_S while entering/exiting the self-refresh mode. When Battery is first plugged in, CKE_S is put into HI_Z State. In fact, CKE line is driven high by external pull up resistor at this moment. Note that the pull-up resistor should be connected to the power supplying the SDRAM. CKE_N is also put into HI-Z State upon power up every time. Upon power up or wake-up, the BIOS should read the STR_STS bit stored in RTC APC 06h bit 5 to determine if it needs to alter the CKE_N, and CKE_S state. If it is, the BIOS should program the North Bridge to drive CKE_N low, put the CKE_S into high impedance state, and then drive the CKE_N high to exit SDRAM from self-refresh mode. If STR_STS bit is not set, leave CKE_N and CKE_S in the high impedance state, and have the external pull-up resistor driving CKE high. On the other hand, CKE_N and CKE_S perform in the following way while entering into S3 State. 1) The North Bridge enables CKE_N low after the completion of emptying the write buffer. 2) The SIS5595 drives CKE_S low in 32 us later after having intercepted the Stop_Grant special cycle on the PCI bus. 3) CKE_N stops driving CKE line in 128us to 160us later as a result of the negation of PS_ON# to turn off the power. Starting from this point, SDRAM and the wake-up logic is powered by the AUX3V (or AUX5V), or Vdual from Power Supply '98. The CKE_S keeps the CKE line low from this moment. CKE_S can also be connected to DUAL_ON# of the power supply '98. The following example to represent routine recommended for regulating the CKE_S and CKE_N in the S3 State for SIS5595 working with SiS530 or SiS5600/SiS620. {Power up or resuming sequence for SiS530 or SiS5600/SiS620 core based system} ... If (STR_STS) /* Drive CKE_N low with the following two steps */ Set bit 4 of reg. 6Ch in the Host to PCI config. space ; Set bit 5 of reg. 6Ch in the Host to PCI config. space ; /* Place CKE_S into high impedance state */ Clear bit 7 of APC Reg 04h in the SIS5595; /* Drive CKE_N high */ Clear bit 4 of reg. 6Ch in the Host to PCI configuration space ; If (!STR_STS) If (the system would like to support STR) /* Drive CKE_N high */ Set bit 5 of reg. 6Ch in the Host to PCI config. Space ; Preliminary V2.0 Nov. 2, 1998 20 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Else Leave CKE_N, and CKE_S as they are ; While in the G1 State, a set of Wake_Up Events can be enabled to transit the system state back to G0. Please refer to " RTC APC " illustrating the supported wake up events in S3 State. * G2---S4/S5(Suspend To Disk/Soft Off)
The G2 soft-off state is an O.S. initiated system shutdown. The State can be initiated by programming the SLP_TYPx field with S5 value and setting the SLP_ENx bit high. Also, a hardware event, which is driven by pressing the power button for more than four seconds can transit the system to the G2 state while it is in the G0 state. This hardware event is called a Power Button Over-ride, and is mainly provided to turn off a hung system in case. Putting system in the G2 state will de-assert PS_ON# eventually from hardware point of view. In the G2 State, only the RTC power is alive. While in the G2 state, the SIS5595 could sense the following seven power up events to transit the system to the Legacy system state by asserting the PS_ON#. They are RTC Alarm On event, Power Button Up (PWRBT#) event, Ring Up event, PME0# event, PME1# event, Hotkey Match event, and Password Match event. Please see the APC portion of the RTC module for more details. * * Processor Power State STPCLK# Throttling (C0)
SIS5595 supports the four power states in the G0/S0 working state. While in the C0 state, it provides programmable throttling function to place the processor executing at a designated performance level relative to its maxima performance. This can be achieved by programming the Throttling Duty Cycle Control field (ACPI: 0Ch[3:1]) with desired value, and setting Throttling Function Enable bit (ACPI: 0Ch[4]) to HIGH. * CPU Power State Level 1 (C1)
The C1 State is supported through the HLT instruction. For instance, the execution of a HALT instruction will cause CPU to automatically enter the Auto HALT Power down state where Icc of the processor will be -20% of the Icc in the Normal State. In this state, the CPU will transit to the Normal state upon the occurrence of INTR, NMI, SMI#, RESET, or INIT. CPU would not recognize AHOLD, BOFF#, and EADS# for cache invalidation or write-back. That is, the system is no longer able to allow bus master snooping, or memory access. As such, C2 low power state provides an alternative not to block bus master streaming while the CPU is put into the low power state.
Preliminary V2.0 Nov. 2, 1998
21
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
duty cycle value
STPCLK#
%100 performance %12.5 performance %25 performance %37.5 performance %50 performance %67.5 performance %75 performance %87.5 performance
000 001 010 011 100 101 110 111
Figure 3.2-5 STPCLK# Throttling & Performance * CPU Power State Level 2(C2)
In the C2 power state, SIS5595 places the processor into the low power state by keeping STPCLK# low as long as no interrupt requests occur. Entering C2 state is through reading P_LVL2 register (ACPI Register 10h) as it is defined in the ACPI specification. Exiting C2 is effective when any interrupt is asserted. Register 68h, and 69h in the PMU configuration space defines which interrupt requests among the IRQ15-3, 1-0, and NMI are enabled to exit C2. Beside, the PMU configuration space register 50h bit 24 should be enabled. * CPU Power State Level 3(C3)
As a more rigid or flexible alternative to the handling of bus master in the CPU low power state, SIS5595 supports the C3 power state by also keeping STPCLK# low, which can be entered by reading P_LVL3 register (ACPI Register 11h). Optionally, GPIO3 used as SLP# can be asserted to place the Pentium II processor into SLEEP State. The main difference between C3 and C2 state is that the bus masters are prevented from writing into the memory in the C3 state. This is, prior to entering the C3 state, done by setting the ARB_DIS bit (ACPI Register 12h[0]) to HIGH which disables the system arbiter. Upon a bus master requesting an access, the CPU will awaken from C3 state if the BM_RLD bit (ACPI Register 05h[1]) is set, and re-enable bus master accesses by clearing the ARB_DIS to enable the system arbiter. If the BM_RLD bit is not set, the C3 Power State is not exited upon bus master requests. From hardware point of view, in the C3 state, to serve bus master requests, it is needed to transit the CPU back to C0 state by de-asserting STPCLK# while it is not needed for C2 state. Any interrupt will also bring the processor out of C3 power state. The BM_STS is set whenever any bus master request (REQ#) is asserted. Figure 3.2-6 Processor Power State Diagram illustrates the processor power state diagrams supported by SIS5595.
Preliminary V2.0 Nov. 2, 1998
22
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Over Heat
Throttling Enable =1 performance < %100
Chipset Support
Thermal STPCLK#
not Over Heat
%100 Performance
C0
Throttling
Throttling Enable =0
HLT
INTR, NMI, SMI#, RESET, INIT
Interrupt or Bus Master Request P_LVL3
P_LVL2
Interrupt
C1 Processor support
C2 Chipset support
C3 Chipset support
G0 Working
Figure 3.2-6 Processor Power State Diagram * System Timer Event (IRQ0)
In Legacy mode, SIS5595 supports special IRQ0 function. When in C2 or C3, the IRQ0 (system timer) can de-assert STPCLK# (&SLP#) 125us and does not exit C2 or C3. This function is enabled by setting ACPI Register 13h bit 0, and you should disable IRQ0 wake up event in PMU configuration space register 68-69h. Legacy PMU handler can use 125us to update system time or do something else. After 125us, STPCLK# is asserted again.
Preliminary V2.0 Nov. 2, 1998
23
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
STPCLK# of S1 / S2 IRQ0 125us Enable(13h.0) IRQ0
IRQ0 125us Conuter C0 Throttling Logic C2 Logic C3 Logic
STPCLK#
TH_EN(0Ch.4) 125us CLK interrupt interrupt Bus Master
GPIO9/THRM#
Thermal Throttling Logic
GPIO9/THRM#(28h.9=1) Thermal Throttling Enable(2Ah.6=1)
Figure 3.2-7 STPCLK# Source * Thermal STPCLK# Throttling
SIS5595 can support thermal detection by selecting GPIO9 as the THERM# pin. A 1ms debouncer is used to sense the status of THERM#. When the logic of the THERM# matches the programming active level, the STPCLK# is throttled if the Thermal Throttling Enable (bit 6 of ACPI register 2Ah) is set. The throttling will be stopped if the THERM# goes back to the inactive state as a result of the system temperature may be cooled down. Note that it is not necessary to set the Throttling Function Enable bit (ACPI IO 0Ch bit 4) for throttling the STPCLK# in response to the THERM# request. If THERM# is asserted, the system will enter the throttling mode directly (whose duty cycle is defined by ACPI I/O 2Ah, bit 4~2) or generate an SCI/SMI# by the thermal throttling function/GPIO9 selection bit (ACPI: 28h[9]). Please refer to Figure 3.2-8 Thermal Detection Logic.
Preliminary V2.0 Nov. 2, 1998
24
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Input Pin Polarity Status(1Ch.9) Selection(24h.9)
Enable(18h.9)
Status(14h.9) Trigger Mode Logic (Edge/Toggle trigger)
GPIO9 Event
GPIO9/THRM#
1ms CLK PCI CLK I/O Selection(20h.9=1) Input Mode Output Pin Status(1Ch) No Used GPIO9/THRM#(28h.9)
Figure 3.2-8 Thermal Detection Logic * Power Button
This button is a user interface control instead of the traditional power supplier switch. It can be used to cycle the system between the G0 and G1 state, as one of the power management events. Besides, the power button provides user a mechanism to force the system to enter the G2 State (Soft-Off) when the system has hung. This is called as power button over-ride. Normally, the SIS5595 generates a power button event in the form of SCI, or SMI# in the G0 working state while detecting the Press-and-Release sequence on the PWRBT# pin. However, by setting bit 4 of ACPI register 13 to 1, the power button event can be generated simply upon that the button is pressed. Upon the instant that power button is pressed to the instant that the power button override event is recognized, the specific routine can be invoked, and executed (due to SMI#, or SCI) to do any housekeeping before the power is removed. A 1ms de-bouncer associated with the power button is used to recognize and respond to the active low logic presented on the pin. If the PWRBT# is pressed for more than 4 seconds, the SIS5595 will turn off the system power by de-asserting the PS_ON#. If the PWRBT# is released within 4 seconds, only the PWRBTN_STS bit (ACPI: 00h[8]) will be set. If the PWRBTN_EN bit (ACPI: 02h[8]) is also enabled, an SMI# or SCI will be raised. There is a power button over-ride enable bit in ACPI Register 13h bit 5, which is enabled by default. Although the ACPI SPEC 1.0 no longer requires the support of this power button over-ride enable bit, SIS5595 keeps the bit in other location to allow the application software to disable the function just in case. * Power Management Timer
The SIS5595 supports a 24-bit power management timer, based on a 3.579545MHz clock, which provides an accurate time value used by system software to measure and profile system idleness (along with other tasks) while the system is in the working (G0) state. To allow software to extend the number of bits in the timer, the power management timer Preliminary V2.0 Nov. 2, 1998 25 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
generates an interrupt when the last bit of the timer changes (from 0 to 1 or 1 to 0). The PM Timer can be accessed directly by the ACPI driver or software. The TMR_STS status bit is set any time the last bit of the timer bit 23 goes from HIGH to LOW or LOW to HIGH. If the TMR_EN bit is set, the TMR_STS being set will generate an ACPI event (SCI/SMI#). The timer is reset when system wake-up from sleeping states (S1, S2) or hardware reset. * Real Time Clock Alarm
It is required to extend the current RTC definition of a 24-hour alarm to a one-month-alarm in ACPI specification. To extend the alarm bytes, SIS5595 supports both the Day of the Month Alarm, and Month Alarm function. The Day of the Month Alarm byte, and Month Alarm byte are located in the 7Eh, and 7Fh of the Standard Bank of the RTC CMOS RAM, respectively. The RTC_STS bit will be set once IRQ8# is asserted from the internal RTC module. The application software can set any specific time to generate an SCI or SMI# if the system is in the working state, or a wake-up event if the system is in the sleeping state S1, or S2. * SCI /SMI# Generation
When SCI_EN=1, most of the ACPI events can generate SCI; when SCI_EN=0 (Legacy mode) they can generate SMI#. Normally, ACPI events can generate SCI or SMI# only when the system is in the G0 working state. However, an option is reserved to generate SMI# in response to the ACPI events while the system is in one of the sleeping states. Figure 3.2-9 SCI / SMI# Events Overview summarizes all the supported ACPI events in SIS5595 to generate SCI/SMI#. System designer should take care that some events only generate SMI# or wake up system. For example, Hotkey can only generate SCI/SMI#, IRQWK can only generate wake-up events in S1 or S2 state, and SIRQ can only generate SMI#.
Preliminary V2.0 Nov. 2, 1998
26
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
(bit)Source (15)IRQ15 (14)IRQ14 (13)IRQ13 (12)IRQ12 (11)IRQ11 (10)IRQ10 (09)IRQ9 (08)IRQ8 (07)IRQ7 (06)IRQ6 (05)IRQ5 (04)IRQ4 (03)IRQ3 (02)NMI (01)IRQ1 (00)IRQ0
Wake up 0 Enable PMU 50~53h
PMU 79h PMU 7Ah
(bit)SMI# source
PMU Block
IRQ Wakeup event to ACPI 14h.31 SCI Enable PMU 80~83h
(bit)Wake up source
PMU 7Bh
(31)Ch0 IDE D0 (30)Ch1 IDE D0 (29)Keyboard Port IRQWK Enable (28)Serial Port 1 PMU 68~69h (27)Serial Port 2 (26)Parallel Port (25)DMA,USB MA Req. (24)IRQ0,1,3~15,NMI (23)Ring (22)10-bit I/O (21)16-bit I/O (20)Mem A-B Seg. (19)Mem C0000-C7FFF Ring Logic (18)VGA I/O 3B0-3DFh (17)Linear Frame Buffer (16)Microsoft Sound (15)Sound Blaster Port GPCS0# (14)MIDI Port (13)Game Port GPCS1# (12)GPCS0# (11)GPCS1# INIT (10)INIT (09)EXTSMI# ExtSMI# (08)PCI,IDE or AGP Master BM_REQ (07)AGP cycle (06)Floppy Port (05)Ch1 IDE D1 (04)Ch1 IDE D1
Wake up 1 Enable PMU 54~57h
Ring Logic
GPCS0# GPCS1# ExtSMI#
(31)Standby Tmr 0 (30)Standby Tmr 1 (29)Standby Timr 2 (28)Wake up 0 (27)Wake up 1 (26)Reserved (25)Ch0 IDE D0 (24)Ch1 IDE D0 (23)Keyboard Port (22)Serial Port 1 (21)Serial Port 2 (20)Parallel Ports (19)Ring (18)10-bit I/O (17)16-bit I/O (16)Mem A-B Seg. (15)Mem C0000-C7FFF (14)VGA I/O 3B0 3DF (13)Linear Frame Buffer (12)Microsoft Sound (11)Sound Blaster Port (10)MIDI port (09)Game Port (08)GPCS0# (07)GPCS1# (06)ExtSMI# (05)Floppy Port (04)Ch0 IDE D1 (03)Ch1 IDE D1 (02)APM(Sofware)
PMU_SCI (to ACPI Block)
SMI# Status PMU 64~67h
PMU_SMI#
SMI# Enable PMU 60~63h
PMU_SMI#
(bit)SMI# Source
DAM SMI# USB SMI# SMBus SMI#
Write ACPI 04h.2 GBL_RLS =1
(7)DAM_SMI# (6)USB_SMI# (4)SMI# CMD (3)SMBus SMI# (2)Perodic SMI# (1)Wake-up SMI# (0)Software SMI#
Legacy Enable ACPI 31h
*Note 1
SMI_STS ACPI 30h.5
ACPI Block
Legacy Status ACPI 30h GPIO Status ACPI 14h
GPIOxx
(bit)SMI# Source (17:7,5:1)GPIO SMI#
GPIO SMI# Enable ACPI 2Ch SIRQ SMI# Enable ACPI 18h.27
(bit)SMI# Source
SMI#
SMI_EN ACPI 31h.5
(27)Serial IRQ SMI# SIRQ SMI# Status ACPI 14h.27
(bit)Source
USB IRQ / SMI#
(8)USB (11)GP_TMR (0)EXTSMI# (6)Hotkey (1)Ring (4)DAM (10)SMBus (others)GPIO
EXTSMI# Ring Logic DAM IRQ / SMI# SMBus GPIOxx
GPE Enable ACPI 18h
GPE Status ACPI 14h PM1 Status ACPI 00h
IRQ8# PWRBT#
(bit)Source
(10)RTC (08)PWRBTN# (00)PM_TMR PM1 Enable ACPI 02h
SCI
GBL_EN ACPI 02h.5 SCI_EN ACPI 04h.0 GBL_STS ACPI 00h.5 PMU_SCI (from PMU Block)
Write ACPI 13h.1 BIOS_RLS =1
Figure 3.2-9 SCI / SMI# Events Overview Note 1: The "line" means OR logic. Preliminary V2.0 Nov. 2, 1998 27 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3.2.1.2 Generic Features Generic Features in SIS5595 offers a variety of additional events such as USB event, GP_TMR event, EXT_SMI# event, Hotkey event, Ring event, Data Acquisition Module event, and GPIO events. These events are all categorized as ACPI events. Hence, they can either generate SCI or SMI# in the working state or serve as the wake-up events in the sleeping state. * Wake up IRQ (IRQ_WK) Event
IRQ_WK event is one of GPE Bank event. A status bit located in ACPI register 14h bit 31 is set when IRQ_WK is asserted if its enable bit locating in ACPI Reg.18h bit 31 is set. Note that IRQ_WK only generates wake-up event in S1 or S2 State. It cannot generate SCI or SMI#. To correctly function, additional registers are to be programmed: 1) Specify IRQ Enable in PMU Configuration Space 68~69h, 2) Mask other wake-up source in PMU Configuration in PMU Configuration Space 50~53h. Besides, the IRQ_WK (internal signal) is also used to exit CPU Power State from C2 or C3. * General Purpose Timer (GP_TMR) Event
General-purpose timer is an 8 bits down counter. Its resolution is 1us or 1 min. Generalpurpose timer can be programmed as Suspend timer or BIOS Timer (ACPI: 1Ch[7]). Loading values into the counter values initiates the counting immediately. If there is not any reload events (PMU Configuration Register: 40h-43h) detected during counting down period, the timer will expire with the result of generating a power management event (SCI, SMI#, or wake up event). Suspend timer is functionally similar to System Standby Timer. However, expiration of Suspend Timer can assert SCI or SMI# but expiration of System Standby Timer can only assert SMI#.
start(write 1Fh) Select Clock(2Ah.8)
GP_TMR Status(14h.29) 8bit down counter GP_TMR Event GP_TMR Enable(18h.29)
PMU Stop events (in PMU space 40h) 8 bits GPIOs Stop events (in ACPI space 2Eh) Select suspend timer(2Ah.7=1) GP_TMR[0-7](1Fh)
SCI_EN=0
Figure 3.2-10 General Purpose Timer Logic
Preliminary V2.0 Nov. 2, 1998
28
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
*
HotKey Event
When internal keyboard controller is enabled, the HOTKY_STS (ACPI: 14h[6]) will be set if the"CTRL+ALT+Backspace" is recognized. Then SCI/SMI# is generated if HOTKY_EN (ACPI: 18h[6]) is set. * Ring Event
There are two de-bouncers associated with the RING to allow two possible modes of activation. The default mode supports 150ms detection on the RING signal while the other mode supports frequency between 14Hz to 70Hz, depending on the value of ACPI Register 2Ah bit 5. For ring detection, the RI_STS bit (ACPI 14h bit 1) will be set if the ring signal is sensed asserted. If the RI_EN bit (ACPI 18h bit 1) is also enabled, the power management event will be generated. Ring function can only used with internal RTC. * GPIOx Events
SIS5595 provides eighteen pins to support general purpose I/O function. GPO6 is output only. GPI[12:15] are input only. The rest (GPIO[5:0], GPIO[11:7], GPIO[17:16]) are bidirectional. Beside, GPIO5, GPO6 GPIO10 are in RTC power plant, so that the control register is in RTC APC space. The input/output attribute of these pins can be programmed through setting or resetting the corresponding bits of the GPE I/O Selection register in ACPI 20h. By default, all the GPIO pins are input. While in the input mode, the active logic level can be programmed through GPE Polarity Selection registers in ACPI 24h. The default active level is low. Some GPIOs have trigger mode selection, including GPIO1, GPIO11~15. User can set rising/falling edge trigger by GPE Control in ACPI space 24h and 2Ah. Please refer Figure 3.2-11 GPIO Logic.
Input Pin Status(1Ch)
Polarity Selection(24h)
Enable(18h)
Status(14h) Edge/Toggle trigger logic GPIO Wake-up Event
GPIOx Pin
I/O Selection(20h) (Output Enable)
Output Pin Status(1Ch)
Trigger Mode selection(2Ah)
Figure 3.2-11 GPIO Logic Preliminary V2.0 Nov. 2, 1998 29 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
When the corresponding enable and status bits are set, SCI or SMI# or Wake-up event will be generated. Writing a 1 to the status bit can clear the bit. In addition, the input level of each GPIO pins can be directly read back by reading the corresponding bit in the GPIO Pin Status register (in ACPI 1Ch). While in the output mode, the logic of each GPIO pin can be controlled by writing the desired value to the corresponding bit in the GPIO Pin Status registers to control the peripheral device power, for instance. * GPIOx Logic
The SIS5595 supports a variety of General-Purpose Input/ Output pins that are also MUXed with other signals as they are shown below with a couple of properties (Table 3.2-3):
Preliminary V2.0 Nov. 2, 1998
30
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Table 3.2-3 GPIOx Relational Data Table
PIN NMAE
GPIO0 GPIO1
MUX FUNCTION
DEFAULT FUNCTIO N
DEFAULT I/O
POWER PLANE
GPI MODE(*1)
FUNC SELECT REG.
IO SELECT REG.
ACPI 20.0 ACPI 20.1
GPIMODE SELECT
GPO LEVEL
PAR PMCLK
PAR GPIO1
follow PCI IN
VDD KBVDD
Level Toggle/Edge
ACPI 28.1 SIO 60.3 CFG
ACPI 24.0 ACPI 24.1,2A.1
ACPI 1C.0 ACPI 1C.1
GPIO2
KBCLK
GPIO2
IN
KBVDD
Level
SIO 60.3
CFG
ACPI 20.2
ACPI 24.2
ACPI 1C.2
GPIO3
CPU_STP#/ SLP#
GPIO3
IN
VDD
Level
ACPI 28.3
ACPI 20.3
ACPI 24.3
ACPI 1C.3
GPIO4
FAN1
GPIO4
IN
VDD
Level
None
ACPI 20.4 ACPI 28.4
ACPI 24.4
ACPI 1C.4
GPIO5
PME0#/ DUAL_ON#
GPIO5
IN
RTCVDD
Level
APC 03.3 APC 04.5
APC 04.4
ACPI 24.5
ACPI 1C.5
GPO6
CKE_S/ ACPILED
CKE_S
OUTPUT
RTCVDD
Level
APC 04.2 APC 07.6
None
ACPI 24.6
ACPI 1C.6
GPIO7
OC0#/PPS
GPIO7
IN
VDD
Level
ACPI 28.6~7
ACPI 20.7
ACPI 24.7(*2)
ACPI 1C.7
GPIO8 GPIO9
OC1# THERM#/ /SMBALERT#/ BTI
GPIO8 GPIO9
IN IN
VDD VDD
Level Level
ACPI 28.8 ACPI 28.9
ACPI 20.8 ACPI 20.9
ACPI 24.8 ACPI 24.9
ACPI 1C.8 ACPI 1C.9
GPIO10
ACPILED/ PME1#
GPIO10
IN
RTCVDD
Level
APC 04.1 APC 07.7
APC 04.3
ACPI 24.10
ACPI 1C.10
GPIO11
FAN2
GPIO11
IN
VDD
Toggle/Edge
None
ACPI 20.11
ACPI 2A.11
24.11,
ACPI 1C.11
GPI12
VIN0
GPI12
IN
VDD
Toggle/Edge
None
None
ACPI 24.12,2A.12
ACPI 1C.12
GPI13
VIN1
GPI13
IN
VDD
Toggle/Edge
None
None
ACPI 24.13,2A.13
ACPI 1C.13
GPI14
VIN2
GPI14
IN
VDD
Toggle/Edge
None
None
ACPI 24.14,2A.14
ACPI 1C.14
GPI15
VIN3
GPI15
IN
VDD
Toggle/Edge
None
None
ACPI 24.15,2A.15
ACPI 1C.15
GPIO16
IOCHK#
GPIO16
IN
VDD
Level
ACPI 28.12 ACPI 28.13
ACPI 20.16
ACPI 24.16
ACPI 1C.16
GPIO17
SIRQ
GPIO17
IN
VDD
Level
ACPI 28.5
ACPI 20.17
ACPI 24.17
ACPI 1C.17
*1 : When GPIO is configured as the INPUT "Toggle" mode, the "Polarity (GPI Mode)" bit in ACPI Reg. 24[1&:0] is ignored. *2: GPIO7's Polarity, while configured in output mode, can be defined by programming ACPI Reg24[7]. This function is special in USB Application. *3: The details can be referred in ACPI & APC SPEC of 5595.
Preliminary V2.0 Nov. 2, 1998
31
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Since these signals are multiplexed with other signals, the BIOS need to program the associated bit to select the usage first. Then, the input/output modes for these pins are further determined if they are selected as GPIO function. While the GPIOx pins are inputs for the SIS5595, GPI [15:12], GPIO11, and GPIO1 can be set as either edge (falling or rising) triggered or toggle mode by programming bit [15:11,1] of register 2Ah respectively. The rising or falling edge depends on the programming of bit [15:11,1] of reg. 24h respectively. Except these pins, the rest of the GPIO pins are sensitive to level trigger only. The high or low sensitive mode depends on the programming of bit [17:0] of register 24h respectively. The default active level is low. While in the input mode, the input level of each GPIO pin can be directly read back by reading the corresponding bit in the GPIO Pin Status Register Located in ACPI Register 1Ch. Besides, while in the output mode, the logic of each GPIO pin can be controlled by writing the desired value to the corresponding bit in the GPIO Pin Status registers. When configured in the input mode, activation of any of the GPIO[17:7,5:0] pin can set the corresponding status bit in GPE_STS reg. with a consequence of generating a Power Management Event (SCI, SMI#, or wake-up event) if the corresponding enable bit of GPE_EN reg. is set. For GPIO5, GPO6, and GPIO10, the following rules are supposed to be followed specifically: 1) If GPIO5 and GPIO10 are not adopted, the two pins can not be left open. One external pull-up or pull-down resistor is required. While GPO6 is not adopted, this pin can be left open. 2) The three pins are put in high impedance state upon the battery is plugged. The logic is retained unless it is programmed to serve as other functions. If they are designed as GPIO function, they can be controllable by appropriate programming, while power is on. While the system power is down and these pins are programmed to be output mode, they are rendered to output low state. As a summary of these GPIO pins working at the GPIO mode, we have to: - Select them working in GPIO function. - Select them functioning in the input/output mode. - Drive output high/or low depending on application. Note that the bits control the functionality of these multifunction pins, and their input/output mode are stored in the APC registers. Their logic values are retained as long as the RTC power exists. For instance, if DUAL_ON#/GPIO5/PME0# is selected to function as GPIO with input mode, GPIO5 logic will be controlled by setting bit5 of Register 24h in the ACPI I/O space while the system power is on. While the system power is down, GPIO5 is enforced high no mater what value has been programmed before. Later when the system power is on again, GPIO5 stays at output mode with logic controlled by bit 5 of ACPI Register 24h, which by default is high. For more detail information, please refer to S3 State Related Signals in the RTC module. * GPIOx Stop and Reload Timers Events
GPIO[17:16, 11:7, 5:1], GPI[15:12] events also can be used to reload PMU standby timer and stop General Purpose Timer in ACPI. Application software can specify which GPIO events are able to reload or stop timers (PMU and ACPI) in ACPI registers 2E~2Fh. For reloading PMU standby timers, bit 3 of 40h, 44h, 48h registers should enable for each timer in PMU block.
Preliminary V2.0 Nov. 2, 1998
32
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3.2.1.3 Legacy Features * Legacy SMI# Events
Legacy SMI# include DAM SMI#, USB SMI#, Periodic SMI#, Wake up SMI# from S1 /S2, Software SMI#, Serial IRQ SMI#, and GPIOx SMI#. All information are presented in Figure 3.2-9 SCI / SMI# Events Overview * SMI# Command
ACPI register 35h is a SMI# command port. A SMI# will be generated if the APCI register 31h, bit 4 (SMICMD_EN) is enabled and an I/O write to SMI command port is detected. The SMI# handeler can check the SMI command port to determine which action should be taken. * Periodic SMI# Event
Periodic SMI# can generate SMI# every 16 sec if the PERSMI_EN (ACPI 31h bit 2) is set. This allows the SMI# handler to periodically give warning to the user for delivering the low battery message, for instance. 3.2.2 POWER MANAGEMENT UNIT Basically, the legacy PMU provides three main functions as follows: 3.2.2.1 System Activity Monitoring The system activity monitor watches, within a specified monitoring period, at the system events to decide when and to which green state the system will transit into. SIS5595 provides three independent system activity monitors to fulfill the requirement of flexible, and wide range of today's Green PC application. Basically, the system activity monitor consists of a system standby timer specifying the "Monitor -Period", and an Event Recognizer to detect the enabled "Reload Events". Counting down the timer until expiration mechanizes the "Monitor Period". However, the timer is reloaded with its initial count, and re-counted down once any of the enabled Reloaded Events is detected. If the specified Monitor Period is elapsed (certainly without any reload event detected), the timer is expired with the result of generating SMI# to invoke the SMI# routine to do any preferred action, such as turning off the screen, transiting the system into throttling state or sleeping state by throttling the STPCLK# or keeping the STPCLK# asserted, respectively. Each Standby Timer is 8-bit wide with 14.318MHz as the Clock source, and provides 4 levels of granularity, namely 17.8us, 4.58ms, 1.17us, and 5min. Register 79h, 7Ah, and 7Bh of the PMU configuration space defines the initial count for the system standby timer 0, 1, and 2, respectively. Bit[7:6], Bit[5:4], and Bit[3:2] of the PMU register 7Ch defines the granularity for the system standby timer 0, 1, and 2, respectively. Table 3.2-4 Reload Events for Each Timer summarizes the Reload Events that the Event Recognizers in SIS5595 can support. There are three independent Event Recognizers provided, and their Reload Events can be defined by programming PMU Register 40h-43h, 44h-47h, and 48h-4Bh, respectively.
Preliminary V2.0 Nov. 2, 1998
33
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Table 3.2-4 Reload Events for Each Timer TIMER System Standby Timer 0 (PMU) RELOAD EVENT Defined on PMU Configuration Register 40h~43h Hard Disk Primary Channel Drive 0/1: 1F0h~1F7h, 3F6h, Bus master IDE port, Hard Disk Secondary Channel Drive 0/1 : 170h~177h, 376h, Bus Master IDE port, Keyboard Port : 60h, 64h Serial Port 1 : 3E8h~3Efh, 3F8h~3FFh Serial Port 2 : 2E8h~2Efh, 2F8h~2FFh Parallel Port :278h~27Fh, 378h~37Fh, 3BCh~3BEh IRQ[15:3,1:0], NMI (Please refer to Register 68h~69h, 6Ah~6Bh, 6Ch~6Dh) RING IN Master request from USB, ISA Master or DMA cycle Programmable 10 bit I/O Port (Please refer to Register5Ch~5Dh) Programmable 16 bit I/O Port (Please refer to Register5Eh~5Fh) Memory Address A0000h~BFFFFh Memory Address C0000h~C7FFFh VGA I/O Port 3B0h~3DFh Linear Frame Buffer Memory Address (Please refer to Register 4Eh~4Fh) Microsoft Sound System Port, one of the 530h~537h, 604h~60Bh, E80h~E87h, F40h~F47h (Please refer to Register 4Ch~4Dh) Sound Blaster Port, one of the (220h~22Fh, 230h~233h), (240h~24Fh, 250h~253h), (260h~26Fh, 270h~273h), (280h~28Fh, 290h~293h) MIDI Port, one of the 300h~333h, 310h~313h, 320h~323h, 330h~333h Game Port 200h~207h, 388h~38Bh GPCS0# (Please refer to Register 70h~73h) GPCS1# (Please refer to Register 74h~77h, 78h) INIT EXTSMI# Master request from 530 or 5600/620 (BM_REQ#) AGP cycle from 530 or 5600/620 (BM_REQ#) GPI[17, 15:7, 5:1] Defined on PMU Configuration Register 44h~47h The reload event is same as System Standby Timer 0 Defined on PMU Configuration register 48h~4Bh The reload event is same as System Standby Timer 0
System Standby Timer 1 (PMU) System Standby Timer 2 (PMU)
Preliminary V2.0 Nov. 2, 1998
34
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Upon power up, the three standby timers are frozen which means they keep reloading the initial count from their associated system timer register (default 00h). Setting "System Standby Timer X SMI# Enable (bit 31, 30, and 29 of PMU Register 60h-63h) will de-freeze the system standby timer 0, 1, and 2, respectively. Upon expiration, the corresponding System Standby Timer X SMI# Request Status Bit is set, and the SMI# is generated. Note that the standby timer stays at "reloading" status upon expiration. The SMI# Request Status allows the SMI# routine to identify which SMI# source is coming. Bit31, 30, and 29 of Register PMU 64h-67h correspond to the SMI# Request Status Bit for the system standby timer 0, 1, and 2, respectively. Writing a logic 1 to the SMI# Request Bit clears the status bit, and enables the standby timer count down again if its corresponding SMI# Enable bit is not cleared. It is recommended to disable the SMI# Enable bit before programming the initial count to make a clean start, meaning that the standby timer really counts down starting from the initial count. Before the timer is expired, it can be reloaded if any of the enabled reload events is identified, and then counts down again. 3.2.2.2 Wake Up Event Recognizers Two independent Wake Up Event Recognizers are provided to allow the system designers to flexibly meet the Green PC application. The main mission of the WUER (Wake Up Event Recognizers) is to generate SMI# upon detecting the wake up events, if the corresponding SMI# Enable bit is set. Table 3.2-5 Wakeup Event from PMU TIMER WAKEUP (PMU) WAKEUP (PMU) RELOAD EVENT 0 Defined on PMU Configuration Register 50h~53h The wakeup event is same as System Standby Timer 0 except GPI [17, 15:7, 5:1]. 1 Defined on PMU Configuration Register 54h~57h The wakeup event is same as System Standby Timer 0 except GPI [17, 15:7, 5:1].
To summarize the supported Wake UP Event Set, namely WakeUp0, and WakeUp1 which can be defined by programming the wake up event control registers locating on 50h-53h and 54h-57h of PMU configuration space, respectively. Bit 28, and 27 of the SMI# Enable Register enables/disables the generation of SMI# while wake up event is recognized. The WUER is designed to be quite independent on the system state (Sleep, or Throttling state). The wake up event can be recognized, and thus SMI# be generated as long as its corresponding enable bit in the wake event control register is set. 3.2.2.3 SMI# Generation Logic SIS5595 PMU allows a versatile event that could give rise to the generation of SMI#. Two sets of registers, namely SMI# Enable Registers, and SMI# Status Register relate to the SMI# generating logic. The SMI# Enable register locating on Register 60h to 63h enables the generation of SMI# upon that any of the enabled events is recognized. SMI# Request Status register, locating on Register 64h to 67h reflects the event(s) producing the SMI#.
Preliminary V2.0 Nov. 2, 1998
35
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3.3
SMBUS FUNCTIONAL DESCRIPTIONS
The System Management Bus (SMBus) is a subset of the Phillips I2C protocol. It is a twowire interface for system to obtain chips' information, to indicate device model or part number, and so on. It also can be applied to control devices such as system suspend/wakeup, return device status or extend I/O for control purposes. The SMBus host controller contains a Host Master and a Host Slave. The slave address may contain an alias address. The host master and slave are fully independent, which conveys that the host master can communicate with the host slave via the SMBUS protocol. SIS5595B also supports SMBALERT# signal for slave devices to assert request. The SMBALERT# pin is multiplexed with GPIO9 and BTI. Access the SMBus register can be achieved by issuing an I/O write to ACPI offset 38H with an INDEX, then followed by a I/O read or write to APCI offset 39h with Data. The SMBus Interrupt Request can be routed to any IRQ or SMI#/SCI. Table 3.3-1 SMBus Interrupt Table INTERRUPT TYPE ASSOCIATED REGISTER IRQ SIO.7E.7 : Data Acquisition Module and SMBus IRQ Mapping First Enable SIO.7E.5 : SMBus IRQ Mapping Second Enable SIO.7E.3~0 : IRQ Routing table SCI/SMI# APCI.14.23 : SMB_STS APCI.18.23 : SMB_EN SMI# APCI.30.3 : SMBSMI_STS APCI.31.3 : SMBSMI_EN 3.3.1 SMBUS HOST MASTER INTERFACE SIS5595B SMBus Host Master supports full SMBus protocol, including Quick command, Send/Receive Byte, Read/Write Byte/Word, Read/Write Block, and Process Call. The SIS5595B supports Read/Write Block command by an 8-byte buffer instead of 32-byte. For block transfer size larger than 8 bytes, software manipulation is required. Once the eight bytes block data have been transferred, the Sub-Block Request Status is employed to tell service routine some data not processed yet. For the maximun of 32 bytes block data transfer, four SMBus Interrupts will be raised by 5595 to complete the transfer. When a Host transfer is initiated, the HOST_BUSY status bit will be set. The software is not allowed to start a new command protocol till the HOST_BUSY reset to 0. The currently HOST Master transfer cycle can be stopped by writting a `1' to SMB_Kill bit. When a `1' is written to SMB_Kill bit, all status bit for host master and host slave will be reset. After HOST_BUSY status bit becomes zero, the software is allowed to initiate a new transfer. 3.3.2 SMBUS HOST SLAVE INTERFACE The Host has a Reserved Address in 0001000xb (x is R/W bit for command protocol) and an Alias Address defined in SMB_Alias (SMBus Reg.13h). An idividual enable and status bit is implemented for both address decoder. If a modified Write Word has been received by Host Preliminary V2.0 Nov. 2, 1998 36 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Slave with the Slave Address hit the Reserved Address or Alias Address, a SMBus Interrupt will be raised. The device address, high data byte and low data byte are stored in SMBus register 10h ~ 12h. Once the status bit HIT_HAA or HIT_HRA is set to `1', the Host Slave is unable to receive other modified Write Command until this status bit is reset. 3.4 USB INTERFACE
The SiS USB Host Controller is developed to support the USB bus as the Host Controller with built-in Root Hub and 2 USB ports. The SiS USB Host Controller is implemented based on the OpenHCI, the Open Host Controller Interface Specification for USB Release 1.0. To support the applications and drivers under non-USB aware environments (such as DOS environment), the SiS USB Host Controller implemented hardware to support the emulation of a PS/2 keyboard and mouse by their USB equivalents (to the USB keyboard and USB mouse). This emulation support is done by a set of registers that are controlled by code running in SMM. The hardware implementation is based on OpenHCI Legacy Support Interface Specification Release Version 1.01. The SiS USB Host Controller provides the following major features: - Provides USB Host Controller function to meet the Universal Serial Bus Specification version 1.0, with full compatibility to the Open Host Controller Interface Specification for USB Release 1.0 - Provides Legacy Support function based on OpenHCI Legacy Support Interface Specification Release Version 1.01. - Built-in Root Hub, with two USB Ports integrated. - Implement circuit and control for Overcurrent Protection on the USB ports. The following figure illustrates the USB System Block Diagram.
Preliminary V2.0 Nov. 2, 1998
37
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
USB System Block Diagram (10-16-95)
CPU
Host Bus
Chipset
Memory
Chip set Core
PCI Bus
USB Host Controller
USB Root Hub
USB Bridge/Transceiver USB Host Controller
USB Device
USB Hub1
Figure 3.4-1 USB System Block Diagram 3.5 DATA ACQUISITION MODULE (DAM)
3.5.1 GENERAL DESCRIPTION The Data Acquisition Module provides PC system hardware environment monitoring including power supply voltages and cooling fan rotational speed. In addition, up to eight external temperature sensors (such as LM75 device) can be deployed on the motherboard with their outputs connected together through the BTI line into the SIS5595 to optionally generate SMI# or IRQ. The most typical application will be putting one temperature sensor chip or one thermistor under the CPU to monitor the ambient temperature of CPU.
Preliminary V2.0 Nov. 2, 1998
38
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
The Data Acquisition Module internally contains an Analog-to-Digital Converter (ADC) to continuously transform analog signals from power supply voltages or temperature sensor into 8-bit digital binary numbers. The rotational speed of fans can be calculated by counting the cycle time of digital pulses from tachometer output based on an internally generated 22.5KHz clock. For every input sources to be monitored, the actual readings which have been calculated or transformed will be compared with those upper and lower limits as programmed in their associated registers. Upon a limit being exceeded, a SMI# or IRQ can be optionally generated to inform the operating software to take proper steps to protect the system from critical failure.
AD BUS
Index Address Reg. Data Register
FAN1 FAN2 VIN0 VIN1 VIN2 VIN3
Fan Speed Counter
8-Bit Analog To Digital Converter (ADC)
Limit Registers and Comparators
Interrupt and SMI# Mask Registers
SMI# IRQ
BTI# DXP/VIN4
Temperature Sensor
Figure 3.5-1 Data Acquisition Module Block Diagram 3.5.2 POWER SUPPLY VOLTAGE MONITORING The SIS5595 Data Acquisition Module supports up to five positive voltage inputs monitoring. Analog inputs from power supply voltages, in term, will be converted into 8-bit unsigned binary numbers by the internal Analog-to-Digital Converter (ADC) with a resolution of 16mV. The resulting measurable voltage range is therefore from 0V to 4.096V. For voltages higher than 4.096V, an external voltage attenuator circuit consisting of two properly selected resistors can be used to scale down the voltage into the measurable range. Typically, the four voltages to be monitored in a PC system are +12V, +5V, +3.3V and +2.5V respectively. The +12V and +5V require external attenuators. The SIS5595 application notes contain the recommended values of the resistors for the attenuators. 3.5.3 FAN SPEED MONITORING The fan inputs are from fans equipped with tachometer pin, which carries continuous digital pulses, indicating its current rotational speed. The longer the pulse's cycle time, the slower the fan rotates. The tachometer output requires a pull-up resistor connected to +5V. The SIS5595 Data Acquisition Module supports two fan inputs monitoring. The typical application will be connecting one to CPU fan and the other one to the case fan. Preliminary V2.0 Nov. 2, 1998 39 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
The cycle time of the pulses from the tachometer output is measured by a counter counting up at 22.5KHz clock. The reading of counter can be derived from the following formula. At the nominal speed, a reading of 153 is expected. Count = 22500 * 60 / RPM * Divisor Where: RPM is the fan's nominal rotations per minute Divisor is the normalized factor programmed in the fan divisor register in order to get a reading of 153 at nominal speed for every RPM. It should be: 8800RPM : 1 4400RPM : 2 2200RPM : 4 1100RPM : 8 If the speed of fan decreases, the reading should go up until the maximum reading of 255 is reached. This may indicate that the fan speed is very slow or has already stopped. There is no upper limit for the fan speed; only lower limit can be programmed. Once the lower limit is exceeded, a SMI# or IRQ can be generated to inform the operating software to take proper steps such as throttling CPU activities by asserting the STPCLK#. 3.5.4 THE ROUND-ROBIN SAMPLING CYCLE Once the monitoring process is started by setting a 1 to the Start bit at Configuration register, the Data Acquisition Module will start sampling the inputs from each sources in a round-robin manner according to the following order: (1) Reserved (2) VIN0 (3) VIN1 (4) VIN2 (5) VIN3 (6) DXP/VIN4 (7) FAN1 (8) FAN2 A complete round-robin cycle will be completed with the rate of approximately 8/7second, and the switch time for the eight input sources is evenly distributed within one cycle, i.e., 1/7 second. This gives the ADC enough time to provide a stable value before switching to the next input. The readings for each input sources will be updated approximately once every 8/7 second and can be read from these offset registers. OFFSET REGISTERS 20h/60h 21h/61h 22h/62h 23h/63h 24h/64h 27h/67h 28h/68h 29h/69h DESCRIPTION VIN0 reading VIN1 reading VIN2 reading VIN3 reading DXP/VIN4 reading Reserved Fan1 reading Fan2 reading
The Analog-to-Digital Converter can be calibrated through PCI-ISA configuration Registers 7Ch~7Dh. Users are advised NOT to program these calibration registers. Preliminary V2.0 Nov. 2, 1998 40 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3.5.5 INTERFACE REGISTER BLOCK The Data Acquisition Module internal registers can be accessed through Interface Register Block located in I/O address space, with its base address relocatable anywhere within the low 64K I/O space by programming PCI-ISA configuration Register 68h~69h and must be 8byte aligned. The Interface Register Block consists of two registers--Index Address Pointer register and Data register located at base address +05h and base address +06h respectively. BASE ADDRESS +05h +06h REGISTER Index Address Pointer Data
All accesses to the Data Acquisition Module internal registers must be through the two registers. First the Index Address Pointer should be written with the offset address of the internal register, then the actual data read or write transaction can be carried out by reading or writing to Data register. 3.5.6 INTERNAL REGISTERS Limit registers set the lower and higher limits for voltages, temperature and fan speed. Note that there is only lower limit for fan speed. A lower limit is considered to be exceeded if the reading is less than lower limit, while a higher limit is considered to be exceeded if the reading is greater than or equal to the higher limit. When the round-robin monitoring process updates a reading which has exceeded a limit, an IRQ or SMI# can be generated, if the corresponding Mask bit in NMI Mask register or SMI# Mask register is not disabled. At the same time, the corresponding interrupt status bit at the Interrupt Status register will be set. Reading the Interrupt Status register will reset all bits as well as clear outstanding interrupts. 3.6 INTEGRATED REAL TIME CLOCK (RTC)
3.6.1 REAL TIME CLOCK MODULE The Real Time Clock module in the SIS5595 contains the industrial standard Real Time Clock, which is compatible to MC146818, and the Automatic Power Control (APC) circuitry mainly to support the ACPI power control functions. The Real Time Clock part provides a time-of-day clock with alarm and one hundred year calendar, a programmable periodic interrupt generator, 112 Bytes of standard CMOS SRAM, and 128 Byes of extended CMOS SRAM. The Automatic Power Control part provides the software/hardware power up/down functions. Figure 3.6-1 shows the block diagram of the RTC module.
Preliminary V2.0 Nov. 2, 1998
41
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
PWRGD PWRBTN# Password Hot_Key RING PME1# PME0# SPWROFF S3OFF OSC32KHI AD[7:0] PSRSTB# PWRGD AS RD WR EXTEND_EN APCREG_EN OSC32KHO APC.R6[5:0] RTCDO[7:0] S5OFF GPIO5O GPO6O GPIO10O GPIO5O_EN GPO6O_EN GPIO10O_EN GPIO5 GPO6
APC
GPIO10 PS_ON#
RTC_ALARM RTCOSC
RTC
APC.R7[7:0] APC.R5[7:0] APC.R4[7:0] APC.R3[7:0] APC.R2[7:0] RTCDAY[2:0]
Figure 3.6-1 RTC Module Block Diagram 3.6.1.1 RTC Registers & RAM Three separate RTC registers & RAMs are provided in the SIS5595. One is called the Standard Bank, another is the Extended Bank, and the other is the APC registers. All of these registers are referenced through the same address and data port, i.e. Port 70h and 71h, respectively. The access control with which the three portions of registers can be appropriately addressed are stored in PCI-ISA: 45h[3] (EXTEND_EN bit) and PCI-ISA: 45h[1] (APCREG_EN bit). Figure 3.6-2 shows the address map of the Standard Bank. In the Standard Bank, the lower 10 bytes contain the time, calendar and alarm data. The registers 0Ah, 0Bh, 0Ch, and 0Dh contain the RTC control and status bytes. The last two bytes (7Eh, 7Fh) are the Day of the Month Alarm byte and the Month Alarm byte which are the extended alarm features requested by the ACPI. The Day of the Month Alarm selects the day within the month to generate a RTC alarm while the Month Alarm selects the month within the year to generate a RTC alarm. The remaining 112 bytes in the Standard Bank are the generalpurpose RAM bytes. In the Extended Bank, another 128 bytes are also provided for the general-purpose usage. Table 3.6-1 The Access of Standard/Extend Bank and APC Registers STANDARD BANK EXTEND_EN APCREG_EN 0 0 EXTEND BANK 1 0 APC REGISTERS 0 1
Preliminary V2.0 Nov. 2, 1998
42
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
00 14 Bytes 0D 0E
00 01 02 03 04 05
Seconds Seconds Alarm Minutes Minutes Alarm Hours Hours Alarm Day of the Week Day of the Month Month Year Register A Register B Register C Register D
112 Bytes User SRAM
06 07 08 09 0A 0B
7D 7E 7F Day of the Month Alarm Month Alarm
0C 0D
Figure 3.6-2 Address Map of the Standard Bank 3.6.1.2 RTC Update Cycle and RTC Alarm Event The primary function of the update cycle is to increase the Seconds byte, update the other time bytes, and compare each alarm byte with the corresponding time byte. When the alarm time is written in the Month Alarm, Day of the Month Alarm, Hours Alarm, Minutes Alarm and Seconds Alarm, a RTC Alarm Event will be activated at the time specified in those alarm registers. A "don't care" code can be set in one or more of the five alarm bytes by writing the two most significant bits to 1 (11XX XXXX). For example, if the "don't care" code is set in the Month Alarm, the RTC Alarm Event will be generated at the time specified in the other four alarm registers in every month. Similarly, the RTC Alarm Event will be generated at the time specified in Hours Alarm, Minutes Alarm and Seconds Alarm every day if the Month Alarm and the Day of the Month Alarm are both set to "don't care" code. Note that the Day of the Month Alarm and Month Alarm are "don't care" by default. Figure 3.6-3 shows the block diagram of the RTC.
Preliminary V2.0 Nov. 2, 1998
43
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
1Hz OSC32KHI *1/32 *1/32 *1/32
Divider Control
Periodic Interrupt Selection (1 of 13 Selector)
DV[2:0]
RS[3:0]
Register A, B, C, D (4 Bytes) Clock Alarm Calendar Register (12 Bytes) AS WR Clock Calendar Update RD AD[7:0] PWRGD PSRSTB# RTC Time Comparator Bus Interface BCD/Binary Increment Extended SRAM (128 Bytes) User SRAM (112 Bytes)
INTIRQ8
RTCDAY[2:0]
EXTEND_EN
RTC_ALARM APC Register (6 Bytes) APCREG_EN APC.R2 ~ APC.R7
Figure 3.6-3 Block Diagram of RTC 3.6.1.3 RTC External Connection Requirement The RTC is powered by RTCVDD and RTCVSS. In reality, not only the internal circuitry of the RTC, but also the pins associated with the RTC module are also powered by this specific power planes. They are PS_ON#, PWRGD, PSRSTB#, PWRBT#, RING, OSC32KHI, OSC32KHO, GPIO5/PME0#/DUAL_ON#, GPO6/CKE_S/ACPILED and GPIO10/PME1#/ ACPILED. RING is an input pin by default, which should be pulled low while not used. 3.7 AUTOMATIC POWER CONTROL MODULE
APC module is only functional while internal RTC is used. If an external RTC is used, all Automatic Power Control functions will be disabled automatically. ATX power supply has a control signal PS_ON# and two set of VDD named VDD5V and AUX5V. The AUX5V will output +5V as long as the AC power is applied to the ATX power supply, while the VDD5V will only be activated when the PS_ON# signal is output low. APC controls the signal PS_ON# to turn on or turn off VDD5V of ATX power supply. SIS5595 also supports PC'98 power supply, which will be discussed in "APC Functions" section. Preliminary V2.0 Nov. 2, 1998 44 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3.7.1 APC REGISTERS The APC registers are provided to support the Auto Power Control Function. The register 02h defines the "Day of the Week Power Up" setting byte. The 03h, 04h, 05h, 06h, 07h, and 08h registers contain the control information for the Automatic Power Control functions. Table 3.7-1 Address Map of the APC Control Registers shows the address map of the APC registers. Table 3.7-1 Address Map of the APC Control Registers ADDRESS 00h 01h 02h 03h 04h 05h 06h 07h 08h 3.7.2 APC FUNCTIONS Let us take the following power up/down sequence as an example to illustrate the APC functions. Figure 3.7-1 Typical Timing Sequence on the Power Control Related Signals shows the typical timing sequence of the power control related signals. REGISGER NAME Reserved Reserved APC Register 02h APC Register 03h APC Register 04h APC Register 05h APC Register 06h APC Register 07h APC Register 08h
RTCVDD PSRSTB# PS_ON# AUX5V VDD5V PWRGD
Figure 3.7-1 Typical Timing Sequence on the Power Control Related Signals 3.7.2.1 APC Power Source Connection Requirement The PSRSTB# is traditionally used to convey the battery life status to the RTC module. In SiS core based system, the signal is also used to determine if the internal RTC is to be used. A logic high on PSRSTB# inform SIS5595 that the internal RTC is selected. Since the RTC must continue to count the time when the system power is removed, a conversion from the system power to an alternate power supply, usually a battery, must be Preliminary V2.0 Nov. 2, 1998 45 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
made. In a system equipped with the ATX power supply, it is recommended to design the power conversion circuitry powered by both the AUX5V and battery. In practical application, the PSRSTB# is low only when both the battery and the AUX5V is low. That is, PSRSTB# is low whenever the battery happens to be exhausted and the power supply is not plugged yet. Most of the cases in the application, the PSRSTB# is first restored to high by battery. As long as the PSRSTB# is high and the system is in power down state (PWRGD is low), the power up events can be recognized and results in the assertion of the PS_ON# to have the ATX power supply provide VDD5V for the system. It is now obvious why the conversion circuitry should use the AUX5V or battery for the power source. This ensures that the APC circuit block can keep working while VDD5V is removed, and can sense the "Power Up Request Events" to wake up the system by activating PS_ON#. In a word, RTC and APC controller must be powered by AUX5V/battery through RTCVDD, and PSRSTB# signal must be high, so that Power Up Request Events can wake up system power. 3.7.2.2 Power Up Request Events During the power down period, the following events can power up the PC main board by the assertion of PS_ON#. They are Power Button On event (via PWRBT#), Hot Key Match event (via Keyboard Controller), Password Match event (via Keyboard Controller), RTC Alarm On event (via RTC Alarm), Ring Up event (via RING), Power Management Event 1 (via PME1#), Power Management Event 0 (via PME0#). Each power up function has its enable/disable bit specified in APC Registers. Except Power Button On event, all the rest power up events are enabled when APC_EN is set. APC module also provides five status bits to record the power up request events, they are MNUP_STS, ALMUP_STS, RNUP_STS, PME1_STS, and PME0_STS. Note that PME0# and PME1# are low active logic and must be pulled high by external resistors. If they are pulled high by AUX5V and the system AC power source is suddenly off (that is, VDD5V and AUX5V are both disappeared), APC may recognize this as a power on event and will activate PS_ON#. If the AC power source is recovered within 4 seconds, the ATX power supply will be activated by this event. If PS_ON# is asserted due to an AC power source suddenly off event and the AC power source is not recovered within 4 seconds, APC will dessert PS_ON# automatically. In other words, APC will sample PWRGD while PS_ON# is asserted. If PS_ON# is asserted and PWRGD is not asserted within 4 seconds, APC will recognize this as a power failure event and will de-assert PS_ON# automatically. APC module provides a PSON_RSM bit (APC 07h[5]) to disable this power failure detecting function. While programming a 1 to this bit, PS_ON# can only be de-asserted by all power down events (Power Button Override, Software Power Off, S3 Power Off, and S5 Power Off). If RING is set to active low mode and the System Powered-up by Ring function is enabled, it will show the same characters, too. The following is the detail description of these power-up events:
Preliminary V2.0 Nov. 2, 1998
46
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BTNUP Event BTNUP_EN APC03h[7] Hot_Key Match Event HKUP_EN APC05h[5] Password Match Event PSUP_EN APC05h[6] RTC Alarm Event ALMUP_EN APC03h[2] ALMUP_STS APC06h[1] DWAUP_EN APC03h[7] RNUP Event RNUP_EN APC03h[5] PME1 PME1_EN APC07h[7] PME0 APC_EN APC03h[6] PME0_EN APC03h[3] PME0_STS APC06h[4] PME1_STS APC06h[3] RNUP_STS APC06h[2] PS_ON# MNUP_STS APC06h[0]
Figure 3.7-2 Power Up Request Events * Power Button On Event :
SIS5595 provides a power button control pin, PWRBT#, to power up the system. While PWRGD is low, a high to low transition with the active low logic lasting for more than 30ms indicates the Power On Request Event which eventually activates the PS_ON#. While PWRGD is high, the assertion of PWRBT# less than 4 seconds results in an SCI/SMI event, and the assertion of PWRBT# more than 4 seconds will turn off the system. Power Button On function is enabled by default and can be disabled by writing a 0 to BTNUP_EN. If the AC power of the system is suddenly off (that is, VDD5V and AUX5V are both disappeared), the function will be enabled automatically to ensure that the user can power up the system by power button. Note that when PWRGD is low, Power Button on Event is controlled by APC. After PWRGD going high, this event will be recognized and responded by ACPI.
PWRBT#
30ms Debounce
BTNUP Event
Figure 3.7-3 Power Button On Event
Preliminary V2.0 Nov. 2, 1998
47
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
*
Hot Key Match Event and Password Match Event :
SIS5595 build-in Keyboard Controller can generate two special events to power up the system. They are Hot Key Match Event and Password Match Event. These two functions will be disabled automatically while internal keyboard controller's power is suddenly off. Please refer to Keyboard Controller for more detail. * RTC Alarm On Event :
When the time value of RTC matches the corresponding alarm bytes, the RTC would send an "RTC Alarm Event" to the APC module. RTC alarm event can be created form once per second to once per year. Beside the standard RTC Alarm power up function, SIS5595 also provides an additional power up function called the "Day of the Week Alarm Power Up". Following are the detail description of these two alarm power-up functions: * RTC Alarm Power Up Function :
If APC_EN and ALMUP_EN are enabled and the system is in power down state, an RTC Alarm Event will power up the system. * Day of the Week Alarm Power Up Function:
The Day of the Week Alarm Power Up Function can be enabled to power up the system on selected days within a week. With this additional feature, SIS5595 allows the user to power up the system, say, at 08:00 on each working day, and to stay at power off state on weekend. The Day of the Week Alarm Power Up byte is located in APC register 02h. Note that this feature is enabled when APC_EN and DWAUP_EN bits are both enabled, and ALMUP_EN is disabled. * Ring Up Event :
While PWRGD is low, the detection of an active RING pulse lasting for more than 4ms would activate the PS_ON#. Note that the active high/low logic of the RING can be defined through programming RN_POL. While PWRGD is high, the detection of RING pulse would generate an SCI/SMI# event, which will be recognized and responded by ACPI. Please refer to ACPI section for more details.
RING 4ms Debounce RNUP Event
RN_POL APC03h[4]
Figure 3.7-4 Ring Up Event * Power Manage Event 1 :
When the power is removed, a high to low transition on PME1# indicates a power management event which will activate PS_ON#. When this function is used, APC 04h[3] must be set to 1 to configure this pin in input mode. This power up function can be used to accept PCI or AGP power management event (PME#) when system is in power down state. Preliminary V2.0 Nov. 2, 1998 48 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
APC04h[3]
GPIO10/PME1#/ACPILED
GPI10/PME1#
Low Pulse Over 30 us Detection
PME1
0 1 MUX APC04h[3] APC04h[1]
GPO10 ACPILED
Figure 3.7-5 Power Manage Event 1 * Power Manage Event 0 :
When power is removed, a high to low transition on PME0# also indicates a power management event which will activate PS_ON#. When this function is used, APC 04h[4] must be set to 1 to configure this pin in input mode. This power up function can also be used to accept PCI or AGP power management event PME# when system is in power down state.
APC04h[4]
GPIO5/PME0#/DUAL_ON#
GPI5/PME0#
H to L Edge Detection
PME0
0 1 MUX APC04h[4] APC04h[5]
DUAL_ON# GPO5
Figure 3.7-6 Power Manage Event 0 3.7.2.3 Power Down Request Events While in the power up state, the following events can power down the PC main board by the de-assertion of PS_ON#. They are Power-Button-Over-Ride Event (via PWRBT#), S3 Power Off Event, S5 Power Off Event and Software Power Off Event (via PCI-ISA: 63h[2]). Following is the detailed description of these events:
Preliminary V2.0 Nov. 2, 1998
49
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Power Button Override Event
Soft Off Event
PS_ON# S5 Off Event
S3 Off Event APC_EN APC03h[6] STR_STS APC06h[5]
Figure 3.7-7 Power Down Request Eve * Power-Button-Over-Ride Event :
Power-Button-Over-Ride event is generated when the Power Button has been pushed for more than 4 seconds. The SIS5595 will de-assert the PS_ON# if Power-Button-Over-Ride event occurs. Please note that this is purely done by hardware. No special support from BIOS is required. * Software Power Off Event :
When APC_EN is enabled and the system is in power up state, writing a 1 to Power Off System Control bit (PCI-ISA: 63h[2]) can de-assert PS_ON#. * S5 Power Off Event :
SIS5595 also provides another alternative to de-assert PS_ON# signal. When system is in power up state and APC_EN is enabled, programming a `1' to SLP_EN bit (ACPI 04h[13]) and `101' (S5 state) to SLP_TYP bits (ACPI 04h[12:10]) can sequence the system into S5 state with the consequence that PS_ON# is negated eventually. * S3 Off Event :
When system is in power up state and APC_EN is enabled, programming a 1 to SLP_EN (ACPI 04h[13]) and `011' (S3 state) to SLP_TYP bits (ACPI 04h[12:10]) can force the system enter S3 state with the consequence that PS_ON# is negated eventually. This will be discussed in next section and ACPI section. 3.7.3 S3 (STR) FUNCTION RELATED SIGNALS SIS5595 supports the ACPI S3 state or equivalently the `Suspend to RAM (STR)' state which essentially turns off the system power except the power for the memory subsystem (mainly SDRAM). During the S3 State, the SDRAM memory subsystem should be put into selfrefresh mode. The following illustrates the three multi-function pins, namely GPIO5, GPO6, and GPIO10 that are mainly used to support the S3 state.
Preliminary V2.0 Nov. 2, 1998
50
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3.7.3.1 GPIO5/PME0#/DUAL_ON# : APC 04h[5] APC 03h[3] Function Select GPIO5 PME0# DUAL_ON#
1 0 1 1 0 X *APC 04h[4] : I/O Mode selection bit (0:output mode) *APC 05h[7] : DUAL_ON# active level (1:active low) * DUAL_ON# :
While operating in this mode, the pin can be connected to the DUAL_ON# signal of the PC'98 power supply. APC 05h[7] determines the logic of this pin running in this mode. Note that: in addition to configure this pin as the DUAL_ON# function, and CKE_S can also be done as it will explain later. Following shows the output level of DUAL_ON# while programming APC 05h[7] to 0 or 1.
APC 05h[7] = 0 Normal State Suspend State Soft Off State 1 1 0
APC 05h[7] = 1 0 0 1
3.7.3.2 GPO6/CKE_S/ACPILED : APC 04h[2] APC 07h[6] Function Select GPO6 CKE_S ACPILED
1 X 0 0 0 1 *APC 04h[0] : ACPILED supports 1 Hz blinking (0:disable) * CKE_S :
While entering S3 State, the SiS core based system can keep the SDRAM in the self-refresh mode by driving CKE_S low. Please refer to ACPI for more detail on the CKE_S function. Besides, when supporting PC'98 power supply, the CKE_S signal can be connected to the DUAL_ON# of power supply, too. The following summarizes the power supply subsystem operating states supported by the power supply '98.
PS_ON#
DUAL_ON#
CKE_S
SYSTEM STATE
STANDBY OUTPUTS
DUAL OUTPUTS
MAIN OUTPUTS
1
1
Z
Soft Off
ON
OFF
OFF
Preliminary V2.0 Nov. 2, 1998
51
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Suspend ON ON OFF (S3) 0 X Z Normal ON ON ON 1.When system wakes up from S3 state, APC 04h[7] must be programmed to 1 to reset CKE_S output level. * CKE_S must be pulled high by an external resistor. 3.7.3.3 GPIO10/PME1#/ACPILED : APC 04h[1] APC 07h[7] Function Select GPIO10 PME1# ACPILED
1
0
0
0 0 0 1 1 X *APC 04h[3] : Pin I/O Mode selection bit (0:output mode) *APC 04h[0] : ACPILED support 1 Hz blinking (0:disable) * ACPILED :
It is up to the application to configure either GPO6 or GPIO10 as the ACPILED signal. ACPILED is driven low to turn on the LED while the system is in the S0, S1, or S2 states. It is floated in all other system states. Optionally, the LED can be put in the blinking state by setting APC 04h[0] while in the S0, S1, or S2 states. 3.8 INTEGRATED KEYBOARD CONTROLLER
The built-in KBC (Keyboard Controller) module uses hardwired methodology instead of software implementation as the traditional 8042 keyboard BIOS commands. In this way, the built-in KBC can have instant response to all the commands. It also has Fast Gate-20 and Fast Reset Features. Besides, the built-in KBC supports the industrial standard PS/2 mouse optionally. Moreover, the password security and the hot-key power up functions are implemented. 3.8.1 STATUS REGISTER The status register is an 8-bit read-only register located at address hex 64 of the I/O space and can be read at any time. It provides the state information of the built-in KBC and the interface. The definitions of each bit are described in the following: BIT 7 ACCESS DESCRIPTION RO Parity Error 0: The last byte received from the keyboard had Odd Parity (No parity error). 1: The last byte received from the keyboard had Even Parity (Parity error). Time-out error RO 0: No Transmission Time-out Error is occurred. 1: Transmission Time-out Error is occurred.
6
Preliminary V2.0 Nov. 2, 1998
52
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
5
RO
4
RO
3
RO
2
RO
1
RO
0
RO
Auxiliary Output Buffer Full 0: The Output Buffer's data is from the Keyboard. 1: The Output Buffer's data is from the Mouse. Inhibit Switch 0: The Keyboard is Inhibited. 1: The Keyboard is not Inhibited. Command/Data 0: The data is written to the I/O 60h, it is interpreted as a `data byte'. 1: The data is written to the I/O 64h, it is interpreted as a `command byte'. System Flag This bit may be set to 0 or 1 by writing the system flag bit in the command byte. After a power on reset, it is cleared to 0. Input Buffer Full 0: The Input Buffer is Empty. 1: The Input Buffer is Full. Data has been written into the input buffer but the controller has not read the data. Output Buffer Full 0: The Output Buffer is Empty. 1: The Output Buffer is Full. The controller has placed data into the output buffer but the system has not yet read data.
3.8.2 INPUT/OUTPUT BUFFER 3.8.2.1 Input Buffer The input buffer is an 8-bit write-only register located at address hex 60 or 64 of the I/O space. Writing to address hex 60 would set the bit 3 of status register to `0', which indicates a `data byte'; writing to address hex 64 would set the bit 3 of status register to `1', which indicates a `command byte'. Data written to I/O address hex 60 is sent to the keyboard, unless the keyboard controller is expecting a `data byte' following a controller's BIOS command. Data should be written to the input buffer only if the input buffer's full bit in the status register equals to `0'. 3.8.2.2 Output Buffer The output buffer is an 8-bit read-only register only located at address hex 60 of the I/O space. The keyboard controller would place the codes received from the keyboard or the return values of the KBC BIOS commands into the output buffer. The output buffer should be read only when output buffer's full bit in the status register equals to `1'. 3.8.3 INTERNAL OUTPUT PORT DEFINITIONS The Internal Output Port includes two signals, P20 and P21, which are defined as following: NAME P20 DEFINITIONS RC - Keyboard Hardware Reset Control Signal 53 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
P21
1 : Inactive ( default ) 0 : Active GA20 - Gate 20 Control Signal 1 : Inactive ( default ) 0 : Active
3.8.4 KEYBOARD INTERNAL BIOS COMMANDS ( I/O PORT 64H ) Command 01 - 1F 20 (00) 21 - 3F 41 - 5F 60 (40) Keyboard Mode Keyboard PS/2 Mode
61 - 7F
Read Internal RAM - The controller sends value of RAM to output buffer. Read Keyboard Controller's Command byte - The controller sends the current Command Byte to its output buffer. Read Internal RAM - The controller sends value of RAM to output buffer. Write Internal RAM - The next byte of data written to I/O 60h is placed into Internal RAM. Write Keyboard Controller's Command Byte - The next byte of data written to I/O 60h is placed in the controller's command byte. BIT BIT DEFINITIONS 0 1 - Enable Keyboard Output-Buffer-Full Interrupt The KBC would generate an interrupt when it places keyboard data into its output buffer. 1 - Enable Mouse-Buffer-Full Interrupt 1 The KBC would generate an interrupt when it places mouse data into its output buffer. 1 - The controller generates a System Flag. 2 The value written to this bit is placed in the system flag bit of the controller's status register. 1- Disable Keyboard lock Switch "KLOCK#" (Even when the 3 KLOCK# enable bit equals 1). 4 1 - Disable Keyboard. Disable the Keyboard interface by driving the `keyboard clock' line low. Data won't be sent or received. 5 1 - Disable Mouse. Disable the Mouse interface by driving the `mouse clock' line low. Data won't be sent or received. 6 1 - IBM Personal Computer Compatibility Mode. Convert the scan codes received from keyboard to IBM PC. This includes converting a two-byte sequence to the one-bye IBM Personal Computer format. 0 - Reserved. 7 Write Internal RAM - The next byte of data written to I/O 60h is placed into Internal RAM.
Preliminary V2.0 Nov. 2, 1998
54
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
A0 A1 A4
A5
A6
A7
A8
A9
AA
Read Internal ROM - The controller would convert the scan codes `E0h' and `FFh' into Kscan codes, and place the result in the output buffer. Read Keyboard Controller's Version - The version code (48h) will be placed to the output buffer. Reset Internal Register B to 00h. Test Password Installed - The controller would send test result to its output buffer. FAh - The Password has been installed. F1h - The Password is not installed. Reset Internal Register B to 01h. Load Password - The next byte of data written to I/O 60h is placed into password stream (Max 15 bytes) that ends with "00h". The password is stored in scan code format. Read Internal Register B - The Enable Password Security - The controller sends value to the output keyboard data won't be sent to output buffer. buffer until the input character string matches the pre-loaded password. Set Internal Register C to 00h. Disable Mouse Device - The mouse interface is disabled by driving the mouse clock line low. Set Internal Register C to 01h. Enable Mouse Device - The mouse interface is enabled by driving the mouse clock line floating. Read Internal Register C - The ( Not Implemented in 5595) controller sends value to the output Reference: Mouse Device Interface buffer. Test - This command tests the controller's mouse clock and data line, and place the result to output buffer as follows : 00 - No error detected. 01 - The `Mouse Clock" line is stuck low. 02 - The `Mouse Clock' line is stuck high. 03 - The `Mouse data' line is stuck low. 04 - The `Mouse data' line is stuck high. Self-Test - This command would result in the internal reset and test of KBC. If the test is successful, the value 55h will be placed in the output buffer.
Preliminary V2.0 Nov. 2, 1998
55
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
AB
AD
AE CA CB D0
D1
D2 D3
D4
D6 D7
( Not Implemented in 5595) Reference: Keyboard Interface Test - This command tests the keyboard clock and data line, and the test result is placed in the output buffer as follows : 00 - No Error detected. 01 - The `Keyboard Clock' line is stuck low. 02 - The `Keyboard Clock' line is stuck high. 03 - The `Keyboard Data' line is stuck low. 04 - The `Keyboard Data' line is stuck high. Disable Keyboard Interface - This command would set the bit 4 of the controller's command byte, and disable the keyboard interface by driving the clock line low. Data will not be sent or received. Enable Keyboard Interface - This command would clear the bit 4 of command byte and release the keyboard interface. Read Internal Register D - The Internal Register will be placed into its output buffer. Write Internal Register D - The next byte of data written to I/O 60h is placed in the controller's Register D. Read Internal Output Port - The value of P20 and P21 would be placed in the bit 0 and bit 1 of the output buffer respectively. This command should be issued only if the output buffer is empty. Write Internal Output Port - The bit 0 and bit 1 of the next byte written to I/O 60h would be placed in the P20 and P21 respectively. The other bits are reserved and should be written to `1'. Write Keyboard Output Buffer - The next byte of data written to I/O port 60h is placed in output buffer as it received from keyboard. Not Valid Write Mouse Output Buffer - The next byte of data written to I/O port 60h is placed in output buffer as it received from mouse. Not Valid Write Mouse Device - The next byte written to I/O 60h is transmitted to mouse device. Enable Keyboard Lock < KLOCK#> Switch (Default: Enable) - The KLOCK# function will work if the KLOCK# function enable bit is enabled. Disable Keyboard Lock Switch < KLOCK# > - The KLOCK# function won't work even when the KLOCK# function enable bit is enabled.
3.8.5 PASSWORD SECURITY AND KEYBOARD POWER UP FUNCTIONS Traditional password security function in the KBC has provided the ability of protecting your PC from being invaded. SIS5595/KBC supports the function with registers to store the password character string, and a pattern recognition circuitry to identify if an input character string matches the pre-loaded password.
Preliminary V2.0 Nov. 2, 1998
56
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Writing A4h to I/O port 64h directs the SIS5595/KBC to store the successive data written through I/O port 60h into the password string register until character 00h is input. `00h' is regarded as the end code of the password. Enabling the password security is done by programming I/O port 64h with data A6h. Once being initiated in this mode, the KBC won't issue IRQ1 to invoke the KB interrupt service routine until the input string matches the password. Thus, the system can be protected from invading to some degree. Moreover, a more user friendly interface or higher security service has led to the request of the password security power up function. A specific power pin, called KBVDD is allocated for the whole KBC circuitry in the SIS5595 to support the function. A power conversion circuit is required to forward power to the SIS5595's KBC, and the keyboard. During the powereddown state of the power rails (including 3.3V, 5V, 12V), AUX5V supplies power to the KBC, and the keyboard. Upon the moment that VDD is gone away, the pattern recognition circuitry inside KBC is automatically configured to process the input keyboard string. Once the input string matches the pre-loaded password, the PS_ON# is asserted to turn on the ATX power supply if the password security power up function is enabled. The following illustrates a procedure to regulate the password security and hot-key power up functions in application. It is highly recommended that the BIOS programmers could follow the sequence in the procedure. For the simplicity and readability, the events that the power up function is altered in the sequence are not included in our procedure. For example, the system was powered up by pressing password and the user want to power up the system by hot-key next time. However, such events are practicable. 3.8.5.1 Procedure Regulating the Password Security and Hot-key Power up Functions If (!CMOS_Valid) Initialize( ); /* Initialize all CMOS setting */
else { if PSUP_SET /* User has enabled KB password security Password_Check( ); power up function */ else if HKUP_SET /* User has enabled KB hot-key power up Hotkey_Check( ); function */ else /* PSUP_SET and HK_SET are software Password_or_Hotkey_Setting( ); variable used to regulate the functions */ } Continue BIOS Posting; Initialize( ) {Clear PSUP_SET; Clear HKUP_SET; Password_or_Hotkey_Setting( ); } Password_Check( ) {If KBP_LST /* Keyboard power had ever lost */ {Clear KPR_LST; /* Enter second level security protection */ Request the user to enter the password string [*1] and identify it; Reload password string into KBC; Enable PSUP_EN ; Disable BTNUP_EN; [*2] } else Reload password string into KBC ; /* Keyboard power is not lost and the system is powered up by KBC */ }
Preliminary V2.0 Nov. 2, 1998
57
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Hotkey_Check ( ) {If KPR_LST {Clear KPR_LST; Enable HKUP_EN; Disable BTNUP_EN; } } Password_or_Hotkey_Setting( ) {Clear KPR_LST; If (password security power up function is selected [*3]) {Set and load KB password into KBC; Enable PSUP_EN; Enable PSUP_SET; Disable BTNUP_EN; } if ( hot-key power up function is selected [*3] ) {Enable HKUP_EN; Enable HKUP_SET; Disable BTNUP_SET; } } [*1] Typically, the password string is stored in the RTC CMOS RAM. [*2] It is apparent that BTNUP_EN should be disabled if password security or hot-key power up function is enabled. Otherwise, the system can be powered up simply by pressing the Power-Button for over 30ms. However, BTNUP_EN will be automatically enabled to allow manually power up the system if the KBC power has ever lost. The KBP_LST locating in the RTC APC register file is designed to reflect the KBC power status. When KBC power has ever lost, KBP_LST is set with the result that BTNUP_EN is set, and that KBC is held in "CLEAR" state when keyboard power is restored later. Both PSUP_EN and HKUP_EN are cleared also. Ending the KBC clear state can be done by writing logic 0 to KPR_LST. [*3] User can select the password security or hot-key power up function normally through setting the corresponding option in the BIOS setup menu. As a result, PSUP_SET or HKUP_SET is set. If the user wants to change the enabled power up function in the sequence, this setting menu can do it also.
The following bits are used to support the password security or hot-key power up function. They are placed in the RTC module, and thus are retained as long as RTC power is there. KBP_LST BTNUP_EN PSUP_EN HKUP_EN 3.8.6 : APC 07h[0] : APC 03h[7] : APC 05h[6] : APC 05h[5]
RELATED PCI TO ISA BRIDGE CONFIGURATION REGISTERS R64h bit 0: Enable Keyboard Hardware Reset R6Dh bit 1: Keyboard Hot-key Status
Preliminary V2.0 Nov. 2, 1998
58
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
R6Dh bit 0: Keyboard Hot-key Control R70h bit 4: Enable KLOCK# Function R70h bit3: Enable Built-in Keyboard Controller R70h bit2: Enable PS/2 Mouse Mode 3.9 ISA BUS INTERFACE
3.9.1 ISA BUS CONTROLLER The SIS5595's ISA Bus Interface accepts those cycles from PCI bus interface and then translates them onto the ISA bus. It also requests the PCI master bridge to generate PCI cycle on behalf of DMA or ISA master devices. The ISA bus interface thus contains a standard ISA Bus Controller (IBC) and Data Buffering logic. IBC provides all the ISA control, such as ISA command generation, I/O recovery control, wait-state insertion, and data buffer steering. The PCI to/from ISA address and data bus buffering are also integrated in SIS5595. The SIS5595 can directly support 4 ISA slots without external data or address buffering. Standard ISA bus refresh is requested by Counter 1, and then performed via the IBC. IBC generates the pertinent command and refresh address to the ISA bus. Since the ISA refresh is transparent to the PCI bus and the DMA cycle, an arbiter is employed to resolve the possible conflicts among PCI cycles, refresh cycles, and DMA cycles. 3.9.2 DMA CONTROLLER The SIS5595 contains a seven-channel DMA controller. Channels 0 to 3 are for 8-bit DMA devices while channels 5 to 7 are for 16-bit devices. The channels can also be programmed for any of the four transfer modes, which include single, demand, block, and cascade. Except in cascade mode, each of the three active transfer modes can perform three different types of transfers, which include read, write, and verify. The address generation circuitry in SIS5595 can support 32-bit address for DMA devices. 3.9.3 INTERRUPT CONTROLLER The SIS5595 provides an ISA compatible interrupt controller that incorporates the functionality of two 8259 interrupt controllers. The two controllers are cascaded so that 14 external and two internal interrupts are supported. The master interrupt controller provides IRQ<7:0> and the slave provides IRQ<15:8>. The two internal interrupts are used for internal functions only and are not available externally. IRQ2 is used to cascade the two controllers together and IRQ0 is used as a system timer interrupt and is tied to interval Counter 0. The remaining 14 interrupt lines are available for external system interrupts. Table 3.9-1 8259 IRQs Mapping PRIORITY 1 2 3-10 3 4 LABEL IRQ0 IRQ1 IRQ2 IRQ8# IRQ9 CONTROLLER 1 1 1 2 2 TYPICAL INTERRUPT SOURCE Timer/Counter 0 Out Keyboard Interrupt from Controller 2 Real Time Clock Expansion bus pin B04 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
59
SIS5595 PCI System I/O Chipset
5 6 7 8 9 10 11 12 13 14 15
IRQ10 IRQ11 IRQ12 IRQ13 IRQ14 IRQ15 IRQ3 IRQ4 IRQ5 IRQ6 IRQ7
2 2 2 2 2 2 1 1 1 1 1
Expansion bus pin D03 Expansion bus pin D04 Expansion bus pin D05 Coprocessor Error FERR# Fixed Disk Drive Controller Expansion bus pin D07 Expansion bus pin D06 Serial port 2, Expansion Bus B25 Serial port 1, Expansion Bus B24 Parallel Port 2, Expansion Bus B23 Diskette Controller, Expansion Bus B22 Parallel Port1, Expansion Bus B21
In addition to the ISA features, the ability to do interrupt sharing is included. Two registers located at 4D0h and 4D1h are defined to allow edge or level sense selection to be made on an individual channel by channel basis instead of on a complete bank of channels. Note that the default of IRQ0, IRQ1, IRQ2, IRQ8 and IRQ13 is edge sensitive, and can not be programmed. Also, each PCI Interrupt (INTx#) can be programmed independently to route to one of the eleven ISA compatible interrupts (IRQ<7:3>, IRQ<15:14>, and IRQ<12:9>) through PCI to ISA bridge configuration registers 41h to 44h. 3.9.4 INTERRUPT STEERING For each interrupt channel, an interrupt router is associated, serving as an interface between bunches of the interrupt request lines and the 8259 interrupt controller as shown in figures below. These routers can be classified into two categories, one for the IRQ [7:3], IRQ [12:9], and IRQ [15:14], and one for the IRQ0, IRQ1, IRQ8, and IRQ13. The following interrupt request lines can be routed to the IRQx of the first category. Illustrates the structure of the Interrupt Router. 1) PCI Interrupt INT [A:D]#, and SIRQ [A:D]# through programming PCI to ISA register 4144h, 2) IDE Interrupt request line through programming PCI to ISA register 61h, 3) USB Interrupt request line through programming register PCI to ISA 62h, 4) ACPI/SCI interrupt request line through programming register PCI to ISA 6Ah, 5) Data Acquisition and SMBus Interrupt request line via programming register PCI to ISA 7Eh, 6) SIRQx interrupt request line via programming PCI to ISA registers 89h, 8Ah, where x can be [7:3], [12:9], and [15:14]. Except the SIRQx, the rest of the interrupt requests are regarded to be sharable. That is, more than one line of interrupt request can be routed to the same IRQx. While supporting the shared interrupts, the associated IRQ channel must be set in the level sensitive mode. Enabling any of the routing registers will automatically mask the ISA Interrupt request to the corresponding IRQ. SIRQ [A:D]# are regarded to work in the level sensitive mode, while SIRQx in the level or edge sensitive mode. While configuring the SIRQ [A:D]# to any of the Preliminary V2.0 Nov. 2, 1998 60 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
IRQx, in addition to the enabling of PCI to ISA Register 41h to 44h, the BIOS should also set bit 3 to bit 6 of PCI to ISA Register 8Ch for each SIRQ, respectively. SIRQ1 can be routed to IRQ1 while bit 0 of PCI to ISA register 89h is set. SIRQ8 can be routed to IRQ8 while bit 7 of PCI to ISA register 89h is set. SIRQ13 can be routed to IRQ13 if bit 4 of PCI to ISA register 8Ah is set. ACPI/SCI can also be routed to IRQ13 via programming PCI to ISA register 6Ah. To support some super I/O devices that don't keep their SIRQ1 (or 12) active until the INTR to the CPU is driven active, SIRQ1 (or SIRQ12) will be internally latched on its rising edge if bit 7 (or bit 6) of register 64h is set, respectively. Reading port 60h clears the latch. Optionally, setting the SIRQ bit of IRQ1 (or IRQ12) can clear the latch if bit 7 of Register 67h is set.
ELCR/4D0H
IRQ(7:3,12:9,15:14) SIRQ(7:3,12:9,15:14) INT[A:D]# SIRQ[A:D]# USBIRQ ACPI/SCI IRQ1 SIRQ1 DAMIRQ OUT0
IR7 IR6 IR5 IR4 IR3 IR1
IRL7 IRL6 IRL5 IRL4 IRL3 IRL1
7 6 5 4 3 2 1 0 Interrupt Controller 1
INTR
IRQ13 ACPI/SCIIRQ13 SIRQ13
IRQ8 SIRQ8
IR15 IR14 IR13 IR12 IR11 IR10 IR9 IR8
IRL15 IRL14 IRL13 IRL12 IRL11 IRL10 IRL9 IRL8
7 6 5 4 3 2 1 0 Interrupt Controller 2
ELCR/4D1H
Figure 3.9-1 Interrupt Router IRx Note: ELCR-Edge/Level-triggered Control Register 3.9.5 TIMER/COUNTER The SIS5595 contains 3 counter/timers that are equivalent to those found in the 8254 programmable interval timer. The counters use a division of 14.318MHz OSC input as the clock source. The outputs of the timers are directed to key system functions. Counter 0 is connected to the interrupt controller IRQ0 and provides a system timer interrupt for a time-ofday, diskette time-out, or the other system timing function. Counter 1 generates a refreshrequest signal and Counter 2 generates the tone for the speaker. 3.10 SYSTEM RESET Power-on Reset When the system is initially powered, the power supply must wait until all voltages are stable for at least one millisecond, and then assert PWRGD signal. While PWRGD is deasserted, chipset must hold its PCI bus in reset. While power-on reset is asserted, chipset will reset and initialize their internal registers. Chipset must also initialize their PCI busses by asserting PCIRST# for a minimum of one millisecond. For Pentiumn II processor in power-on Preliminary V2.0 Nov. 2, 1998 61 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
configuration, the core logic must assert BREQ0# before the clock in which CPURST# is deasserted. BREQ0# must be deasserted by core logic in the clock after CPURST# is sampled deasserted. CPU agent 0 must delay BREQ0# assertion for a minimum of three clocks after the clock in which CPURST# is deasserted to guarantee wire-or glitch free operation. This sequence of events is shown following.
CPUCLK PWRGD CPURST# INIT#
PCIRST# BREQ0# min. 10 clk about 1ms about 1ms
Figure 3.10-1 Timing Sequence for Power-on Process Soft Reset (INIT) The SIS5595 can be programmed to deliver a soft reset to processors through the Reset control register. A soft reset asserts the INIT signal for 2us. The INIT signal resets all processors without effecting their internal caches or bus state machines. After soft reset, the processors begin to execute from address 00_FFFF_FFF0h. SIS5595 devices are not effected by the INIT signal. SIS5595 also can be programmed to deliver a CPU reset to processors through the Reset control register. The timing is the same as INIT.
CPUCLK ADS#
PCICLK FRAME# A D [31:0]
64h
FRSTTRG
IN IT # / C P U R S T #
6us or 2us
about 2us
depend on reset latency control bit
Figure 3.10-2 Timing for Generating INIT#/CPURST#
Preliminary V2.0 Nov. 2, 1998
62
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
4
4.1
PIN DESCRIPTIONS
PCI/ISA BUS INTERFACE NAME SD[15:0] TYPE DESCRIPTION ATTR ISA Data bus: I/O SD[7:0] is the lower byte of ISA data bus. SD[15:8] is the upper byte of ISA data bus.
SIS5595 PIN NO. 142, 137, 139, 134, 135, 140, 131, 133, 196, 197, 200, 202, 203, 206, 207, 208 179, 178, 177, 175, 170, 171, 167, 166, 165, 164, 163, 161, 160, 156, 155, 153, 147 190, 189, 187, 186, 185, 184, 183 181
SA[16:0]
I/O
ISA Address bus: External SA[19:17] with SA[16:0] allow memory space addressing up to 1 Mbytes. SA[15:0] allow IO space addressing up to 64Kbyte.
LA[23:17]
I/O
ISA LA[23:17] address bus: LA[23:17] allow memory space addressing up to 16 Mbytes. System Byte High Enable: When asserted, it indicates the upper byte of the ISA data bus, i.e. SD[15:8], contains valid data. ISA bus I/O Read Command: IORC# is asserted to indicate the addressed IO device should drive its data onto the ISA data bus. This pin is input during ISA master cycles and output otherwise. ISA bus I/O Write Command: IOWC# is asserted to strobe data into the addressed IO device. This pin is input during ISA master cycles and output otherwise. ISA bus Memory Read Command: MRDC# is asserted to indicate the addressed memory device should drive its data onto the ISA data bus. This pin is input during ISA master cycles and output otherwise.
SBHE#
I/O
149
IORC#
I/O
148
IOWC#
I/O
193
MRDC#
I/O
Preliminary V2.0 Nov. 2, 1998
63
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
195
MWTC#
I/O
145
SMRDC#
O
144
SMWTC#
O
176
BALE
O
180
IO16#
I
182
M16#
I/O
159
RFH#
I/O
136
ZWS#
I
141
IOCHRDY
I/O
138
AEN
O
ISA bus Memory Write Command: MWTC# is asserted to strobe data into the addressed memory device. This pin is input during ISA master cycles and output otherwise. ISA bus Memory Read Command--address below 1Mbyte: For memory addresses within 000000h-0FFFFFh, it is asserted to indicate the addressed memory device should drive its data onto the ISA data bus. ISA bus Memory Write Command--address below 1 Mbytes: For memory addresses within 000000h-0FFFFFh, it is asserted to strobe data into the addressed memory device. Bus Address Latch Enable: BALE indicates ISA address bus, LA[23:17], SA[16:0] and SBHE#, contain valid ISA address. 16-bit I/O Chip Select: IO16# is asserted by the addressed IO device to indicate that it is capable of doing 16-bit data transfers. 16-bit Memory Chip Select: M16# is asserted by the addressed memory device to indicate that it is capable of doing 16-bit data transfers. Refresh: RFH# is asserted during ISA refresh cycles. This pin is input during ISA master cycles and output otherwise. Zero Wait State: ZWS# is asserted by the addressed device to indicate that the current ISA cycle can be terminated without any additional wait-states. I/O Channel Ready: IOCHRDY is de-asserted by the addressed slave device to indicate more wait-states are required to complete the current ISA transaction. This pin is output during ISA master and DMA cycles and input otherwise. Address Enable: Address Enable is driven high during DMA and refresh cycles.
Preliminary V2.0 Nov. 2, 1998
64
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
162
BCLK
O
173
TC
O
191, 158, 132, 152, 199, 201, 204 192, 157, 169, 154, 194, 198, 205 143, 146, 8, 9, 2, 3, 4, 5, 7, 6 4.2
DRQ[3:0] DRQ[7:5]
I
ISA Bus Clock: The ISA bus clock can be optionally derived from PCI clock or the CLK14M input. Terminal Count of DMA: A high pulse on TC during DMA cycles indicates one of the DMA channels has completed its transfers. DMA Request: They will be asserted by external ISA devices to request for DMA service or become ISA masters. DMA Acknowledge: When one of them is asserted, it indicates the corresponding DMA request has been granted. Interrupt Request: These are interrupt requests input to the internal 8259-compatible Interrupt Controller.
DACK[3:0]# DACK[7:5]#
O
IRQ[15:14], IRQ[11:9], IRQ[7:3]
I
PCI BUS + CPU INTERFACE NAME C/BE[3:0]# FRAME# AD[31:0] TYPE DESCRIPTION ATTR PCI Bus Command and Byte Enables: I/O Comply with PCI specification 2.1 PCI FRAME#: Comply with PCI specification 2.1 I/O PCI Address/Data Bus: I/O Comply with PCI specification 2.1
SIS5595 PIN NO. 102, 91, 82, 76 87 112, 111, 110, 108, 107, 106, 105, 103, 101, 100, 98, 97, 96, 95, 94, 93, 80, 79, 78, 77, 75, 74, 72, 71, 70, 69, 68, 67, 66, 65, 63, 61 92 86 58 83
IRDY# TRDY# PCLK SERR#
I/O I/O I I
PCI IRDY#: Comply with PCI specification 2.1 PCI TRDY#: Comply with PCI specification 2.1 PCI Clock: Comply with PCI specification 2.1 System Error: When sampled active low, a non-maskable interrupt (NMI) can be generated to CPU if enabled. 65 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
89
DEVSEL#
I/O
84 113
STOP# PHOLD#
I/O O
125
PHLDA#
I
56, 57, 59, INT[A:D]# 60
I
126
PCIRST#
OD
151 130 47
PDMAREQ0# PDMAGNT0#
I O OD
NMI
Device Select: SIS5595 will do positive decoding with medium timing to: - SIS5595 PCI configuration registers access - Built-in legacy ISA bus embedded controller registers access - BIOS ROM memory access - Interrupt acknowledge cycle In addition, SIS5595 will do subtractive decoding to: - I/O address range 00000000h-0000FFFFh.(Low 64 Kbytes) - Memory address range 00000000h-00FFFFFFh (Low 16 Mbytes). PCI STOP#: Comply with PCI specification 2.1 PCI Bus Hold Request: PHOLD# is asserted to inform the PCI system arbiter located at north-bridge chipset that SIS5595 is intending to become PCI bus master. SIS5595 asserts PHOLD# on behalf of three local devices including ISA/DMA master, Distributed DMA master and USB master. PCI Bus Hold Acknowledge: The PCI system arbiter responds to the assertion of PHOLD# by driving PHLDA# low, indicating SIS5595 can start its PCI master cycles. PCI interrupt A,B,C,D: The PCI interrupts will be connected to the inputs of the internal Interrupt controller through the rerouting logic associated with each PCI interrupt. PCI Bus Reset: PCIRST# will be asserted during the period when PWRGD is low, and will be kept on asserting until about 1 ms after PWRGD goes high. PC/PCI DMA Request 0: This signal is used by PCI agent to request DMA services. PC/PCI DMA Grant 0: This signal is used by 5595 to indicate which DMA channel is granted. Non-Maskable Interrupt: A rising edge on NMI will trigger a non-maskable interrupt to CPU. This signal requires an external pull-up resistor tied to 3.3V.
Preliminary V2.0 Nov. 2, 1998
66
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
48
INTR
OD
46
IGNE#
OD
43
FERR#
I
44
STPCLK#
OD
49
SMI#
OD
50
CPURST
OD
45
INIT
OD
51
A20M#
OD
Interrupt Request: At high-level voltage on this signal indicates to the CPU that there is outstanding interrupt(s) need to be serviced. This signal requires an external pull-up resistor tied to 3.3V. Ignore Error: IGNE# is asserted to inform CPU to ignore a numeric error. This signal requires an external pull-up resistor tied to 3.3V. Floating Point Error: CPU will assert this signal upon a floating point error occurs. Stop Clock: STPCLK# will be asserted to inhibit or throttle CPU activities upon a pre-defined power management event occurs. It requires an external pull-up resistor tied to 3.3V. System Management Interrupt: SMI# will be asserted upon a pre-defined power management event occurs. It requires an external pull-up resistor tied to 3.3V. CPU Reset: Active high signal to reset CPU. It requires an external pull-up resistor tied to 3.3V. Initialization: INIT is used to re-start the CPU without flushing its internal caches and registers. In Pentium platform it is active low, while in Pentium II platform it is active high. This signal requires an external pull-up resistor tied to 3.3V. Address 20 Mask: When A20M# is asserted, the CPU A20 signal will be forced to `0'. It requires an external pull-up resistor tied to 3.3V.
Note: "OD" means open drain signal. 4.3 KBC + MISC. NAME TYPE ATTR DESCRIPTION
SIS5595 PIN NO.
Preliminary V2.0 Nov. 2, 1998
67
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
31
GPIO2/ KBCLK
I/O
33
KBDAT/ IRQ1
I/O
32
GPIO1/ PMCLK
I/O
34
PMDAT/ IRQ12
I/O
General Purpose Input/ Output 2: When the internal keyboard controller is disabled, this pin is used as GPIO2. As input, it can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPIcompatible power management unit. As output, its output logic state can be controlled via a register bit. Keyboard Clock: When the internal keyboard controller is enabled, this pin is used as the keyboard clock signal. Keyboard Dada: When the internal keyboard controller is enabled, this pin is used as the keyboard data signal. IRQ1: When the internal keyboard controller is disabled, this pin is used as the IRQ1 signal. General Purpose Input/ Output 1: When the internal PS2 mouse controller is disabled, this pin is used as GPIO1. As input, it can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPIcompatible power management unit. As output, its output logic state can be controlled via a register bit. PS2 Mouse Clock: When the internal keyboard and PS2 mouse controllers are enabled, this pin is used as the PS2 mouse clock signal. PS2 Mouse Data: When the internal keyboard and PS2 mouse controllers are enabled, this pin is used as PS2 mouse data signal. Interrupt Request 12: When the internal PS2 mouse controller is disabled, this pin is used as the IRQ12 signal.
Preliminary V2.0 Nov. 2, 1998
68
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
128
GPIO3/ CPU_STOP# / SLP#
I/O
53
GPIO0/PAR
I/O
40
GPIO9/ THERM#/ BTI/
SMBALERT#
I/O
General Purpose Input/ Output 3: As input, GPIO3 can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. As output, its output logic state can be controlled via a register bit. CPU_STOP#: (For Pentium platform) It is asserted to inform the system Clock Generator chip to stop the CPU and SDRAM clock outputs as well as to disconnect ISA bus from power supply, as defined in the power management S2 state. SLP#: (For Pentium-II platform) It is asserted to put the Pentium II processor into SLEEP state. General Purpose Input/ Output 0: As input, GPIO0 can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. As output, its output logic state can be controlled via a register bit. PCI Parity: SIS5595 always generates even-parity on PAR and ignores the parity driven by other PCI agents. General Purpose Input/ Output 9: As input, GPIO9 can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. As output, its output logic state can be controlled via a register bit. Thermal Detect: THERM# is connected to the internal ACPIcompatible power management unit as an indication of outstanding thermal event. In response, the STPCLK# signal will be asserted to throttle CPU activities. Board Temperature Interrupt: BTI is connected to the internal Data Acquisition Module for interrupt or SMI# generation. It is driven by temperature monitoring chips located on the motherboard. SMBUS Alert Interrupt: The SMBALERT# is an interrupt signal for SMBUS device to notify the host it wants to talk.
Preliminary V2.0 Nov. 2, 1998
69
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
127
BM_REQ#
I
55
GPCS0#
I/O
52
GPCS1#/ KLOCK#
I/O
54
GPIO17/ SIRQ
I/O
Bus Mater Request: This is a serial link from SiS North Bridge chipset carrying the current AGP and PCI bus master information to SIS5595 for power management purpose. Two types of events are defined and can be enabled as a wakeup or reload event to the power management unit: Event 1: AGP activity Event 2: AGP/PCI/IDE master requesting for PCI bus Event 1 can be sampled by SiS55595 at the 1,3,5...Nth PCI clock after FRAME# asserted. Event 2 can be sampled at the 2,4,6...Nth PCI clock after FRAME# asserted. General Programmable Chip Select 0: This pin can be programmed through Reg_73h/PMU as one of the GPI, GPO, GPCS# or GPCSW# functions: 1) GPI: can be used to generate a reload, wakeup or SMI event 2) GPO: its output logic state can be controlled via a register bit. 3) GPCS#: active-low output can be used as a chip select signal. 4) GPCSW#: similar to GPCS#, the GPCS with Write function further qualifies the IOWC# signal so that it can be used to control an external 8-bit latch connected to SD[7:0], thereby expanding the number of general purpose outputs up to 8. General Programmable Chip Select 1: Refer to GPCS0#. Keyboard Lock: When KLOCK# is tied low, the internal keyboard controller will not respond to any key-strikes. General Purpose Input/ Output 17: As input, GPIO17 can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. As output, its output logic state can be controlled via a register bit. Serial IRQ: This signal is used as the Serial IRQ line signal.
Preliminary V2.0 Nov. 2, 1998
70
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
129
EXTSMI#
I
35
CLK14M
I
36
ROMKBCS#
O
37 41 42 122
SPKR DDCDAT DDCCLK GPIO7/ OC0#/ PPS
O OD OD I/O
124
GPIO8/ OC1#
I/O
External SMI#: EXTSMI# can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. 14.318 MHz clock input: This signal provides the fundamental clock for the 8254-compatible timer, PMU System Standby Timer, ACPI Timer and BCLK. Keyboard or System ROM Chip Select: ROMKBCS# will be asserted during external keyboard controller or ROM access cycles. Speaker output: The SPKR is connected to the system speaker. SMBus/I2C Bus Data: An external pull-up resister tied to 3.3V is required. SMBus/I2C Bus Clock: An external pull-up resister tied to 3.3V is required. General Purpose Input/Output 7: As input, GPIO7 can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. As output, its output logic state can be controlled via a register bit. USB Over Current Detection: OC0# is used to detect the over current condition. USB Power Switch: PPS function is used to control the external PowerDistribution Switches logic to power off the USB power supply lines. General Purpose Input/Output 8: As input, GPIO8 can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. As output, its output logic state can be controlled via a register bit. USB Over Current Detection: OC1# is used to detect the over current condition.
Preliminary V2.0 Nov. 2, 1998
71
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
38
GPIO4/ FAN1
I/O
39
GPIO11/ FAN2
I/O
1
GPIO16/ IOCHK#
I/O
General Purpose Input/Output 4: As input, GPIO4 can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. As output, its output logic state can be controlled via a register bit. Fan Tachometer Input 1: It is driven from the fan's tachometer output and is connected to the internal Data Acquisition Module for fan speed monitoring. General Purpose Input/Output 11: As input, GPIO11 can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. As output, its output logic state can be controlled via a register bit. Fan Tachometer Input 2: It is driven from the fan's tachometer output and is connected to the internal Data Acquisition Module for fan speed monitoring. General Purpose Input/Output 16: As input, GPIO16 can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. As output, its output logic state can be controlled via a register bit. I/O Channel Check: IOCHK# can be issued by ISA devices to indicate an error event. In response, SIS5595 will assert the NMI if enabled.
Note: "OD" means open drain signal.
4.4
USB CONTROLLER NAME UV0+, UV0UV1+, UV1UCLK48M TYPE DESCRIPTION ATTR USB Data port 0: I/O Used as the differential USB data bus pair of port 0. USB Data port 1: I/O Used as the differential USB data bus pair of port 1. 48 MHz USB Clock Input . I
SIS5595 PIN NO. 115 116 117 118 120
Preliminary V2.0 Nov. 2, 1998
72
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
4.5 RTC NAME OSC32KHI/ IRQ8# TYPE DESCRIPTION ATTR 32.768 KHz Input: I When internal RTC is enabled, this pin provides the 32.768 KHz clock signal from external crystal or oscillator. Interrupt Request 8: When external RTC is enabled, this pin is used as IRQ8#. 32.768 KHz Output: O When internal RTC is enabled, this pin should be connected the other end of the 32.768 KHz crystal or left unconnected if an oscillator is used. RTC Chip Select: When external RTC is enabled, this pin is used as the chip select signal for the external RTC. Power Good: I A high-level input to this signal indicates the power being supplied to the system is in stable operating state. During the period of PWRGD being low, CPURST and PCIRST# will all be asserted until after PWRGD goes to high for 1~2 ms. RTC Power Strobe: I When the internal RTC is enabled, this signal is used as the power strobe signal to initialize RTC internal registers when power is first applied to the system. If the internal RTC is disabled, this signal should be tied low. ATX Power ON/OFF control: OD PS_ON# is internally powered by RTCVDD and is used to control the on/off state of the ATX power supply. When the ATX power supply is in the OFF state, several power management events can be defined to generate a low output on this signal and hence switch the power supply to ON state. These events are PWRBT #, RING, PME0 #, PME1 #, RTC alarm, keyboard password matched and hotkey being pressed. RTC Address Latch Enabled: When external RTC is used, this signal can be used to latch the address of RTC internal register being accessed on the ISA SD [7:0] data bus.
SIS5595 PIN NO. 21
20
OSC32KH O/RTCCS#
18
PWRGD
23
PSRSTB#
25
PS_ON#/ RTCALE
Preliminary V2.0 Nov. 2, 1998
73
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
29
GPIO5/ PME0#/ DUAL_ON#
I/O
28
GPO6/ CKE_S/ ACPILED
O
27
GPIO10/ PME1#/ ACPILED
I/O
General Purpose Input/Output 5: When the system is in power-on mode, this pin is GPIO5. As input, GPIO5 can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. As output, its output logic state can be controlled via a register bit. PME0#: When the system is in power-down mode, a high-tolow transition on PME0# will cause the PS_ON# to go low and hence turn on the power supply. Dual Power On/Off Control: When the system is in suspend mode, the DUAL_ON# signal can be used to control PC98compatible power supply. General Purpose Output 6: The logic state of GPO6 can be controlled via a register bit located at the internal Automatic Power Control (APC) unit. SDRAM Clock Enable: When the system is in suspending mode (suspend to DRAM), the CKE_S is driven low to enable the selfrefresh mode of SDRAM. ACPILED: ACPILED can be used to control the blinking of an LED at the frequency of 1 Hz to indicate the system is at power saving mode. General Purpose Input/Output 10: When the system is in power-on mode, this pin is GPIO10. As input, GPIO10 can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. As output, its output logic state can be controlled via a register bit. PME1#: When the system is in power-down mode, a low pulse over 30 us on PME1# will cause the PS_ON# to go low and hence turn on the power supply. ACPI LED: Refer to Pin 28.
Preliminary V2.0 Nov. 2, 1998
74
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
24
RING
I
26
PWRBT#
I
Ring In: RING is connected to the internal Automatic Power Control (APC) unit and the ACPI-compatible power management unit (PMU). For the APC part, a 4ms active pulse detected on RING will cause the PS_ON# signal to go low and hence turn on the power supply. For the PMU part, it can be configured to generate a SMI#/SCI event, a wake up event or a system standby timer reload event. Power Button: This signal is from the power button switch and will be monitored by the ACPI-compatible power management unit to switch the system between working and sleeping states.
4.6
DATA ACQUISITION INTERFACE NAME GPI[15:12]/ VIN[3:0] TYPE DESCRIPTION ATTR General Purpose Input [15:12]: I GPI [15:12] each can be configured to generate a SMI#/SCI event, a Wakeup event or a Standby Timer reload event to the ACPI-compatible power management unit. VIN [3:0]: VIN [3:0] are connected to the Data Acquisition Module for system supplied voltages monitoring. They also can be served as temperture detection by connecting to one external thermister. DXP: A When the transistor 2N3904 is employed as temperature sensor, this pin should be connected to the base and collector of 2N3904. When thermister sensor is used, this pin should be connected to the one end of the thermister. The other end of the thermister should be connected to AGND (pin 17). VIN4: VIN4 are connected to the Data Acquisition Module for system supplied voltages monitoring. DXN: A For 2N3904 sensor, this pin should be tied to emitter of the transistor. For thermister sensor, this pin should be connected to VSS.
SIS5595 PIN NO. 13,14,15,16
10
DXP/VIN4
11
DXN
Preliminary V2.0 Nov. 2, 1998
75
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Note: "A" means Analog signal. 4.7 POWER PINS NAME USBVDD USBVSS RTCVDD RTCVSS AVDD DVSS KBVDD TYPE ATTR PWR PWR PWR PWR PWR PWR PWR DESCRIPTION +3.3V DC Power for USB circuit. Ground pin for USB circuit Power pin for internal RTC and APC. Ground pin for internal RTC and APC 5V DC power for the Data Acquisition circuitry. Ground pin for the Data Acquisition circuitry. Keyboard Controller Power Input. If keyboard password security or hot key power-up function is enabled, the KBVDD should be connected to AUX-5V of the ATX power supply. The system designers are advised to ensure the power supply in use will provide enough current on the AUX-5V line to the keyboard in order for these functions to work successfully. Typically, a keyboard will consume up to 200~300mA of current and the actual values may be varied for different keyboard manufacturers. +5V DC I/O PAD power. Ground pin for I/O DC PAD power.
SIS5595 PIN NO. 119 114 22 19 12 17 30
62, 81, 104, 168 64, 73, 85, 99,109,150, 188 88,121, 174 90,123, 172
OVDD OVSS
PWR PWR
DVDD DVSS
PWR PWR
+5V DC main power supply. Ground pin for main voltage supply.
Preliminary V2.0 Nov. 2, 1998
76
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
5
HARDWARE TRAP
The ROMKBCS#, PSRSTB# and PHLDA# pins can be used to configure SIS5595 during system boot-up. The SIS5595's operating mode will be determined by the voltage-level being applied to these pins when the PWRGD signal is going from low to high, known as Hardware Trap. A logic "1" will be recognized and trapped into internal control circuitry if an external pull-up resistor is connected to the trap pin, while a logic "0" will be trapped if a pull-down resistor is connected. The PHLDA# is driven high by North Bridge when North Bridge is 530 during the rising edge of PWRGD, but a low is driven by 5600/620 (North Bridge) instead. The PHLDA# is also used as a selection for Pentiumn II processor core frequency configuration during the falling edge of CPURST. SIS5595 PIN NO. 36 SYMBOL
DESCRIPTION
23
ROMKBCS# Enable/Disable Internal PCI Clock DLL Circuitry to Improve Timing Pull-up: Disable Pull-down: Enable Enable/Disable the Built-in RTC PSRSTB# Pull-up: Use Internal RTC. Pull-down: Use External RTC CPURST and INIT active level selection Driven-high: Both are high level active, for Pentiumn processor Driven-low: Both are low level active, for Pentiumn II processor
125
PHLDA#
For Pentium-II platform, there are four output pins of SIS5595--A20M#, INTR, IGNE# and NMI, are used to provide core operating frequency information to the CPU when CPURST is going from high to low. To achive this, the other four pins BM_REQ#, GPCS0#, PHOLD# and PHLDA# are used for A20M#, INTR, IGNE# and NMI trapping control. The trapping circuit is active when CPURST is high and till 7 PCI clocks later after CPURST goes from high-to-low. The PHOLD# and GPCS0# pins will be forced to input mode during this period, while BM_REQ# and PHLDA# are input only. The 5595B also provides another method to control A20M#, INTR, IGNE# and NMI. It employed the APC register 08h, bit 7~4 to control these four pins. The APC register 08h, bit 3 is utilized to determine which method is applied. The APC Reg. 08h will be cleared to default value if the BIOS is unable to set the PMU Reg. 4Ch, bit 0 to `1' in 4.68 seconds after CPURST deassertion.
Preliminary V2.0 Nov. 2, 1998
77
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Method I: APC Reg. 08h, bit 3 is set to 0 SIS5595 PIN NAME DESCRIPTION PIN NO. 127 BM_REQ# Routed to A20M# for Pentium-II Core Frequency Selection 55 GPCS0# Routed to INTR for Pentium-II Core Frequency Selection 113 PHOLD# Routed to IGNE# for Pentium-II Core Frequency Selection 125 PHLDA# Routed to NMI for Pentium-II Core Frequency Selection
Method II: APC Reg. 08h, bit 3 is set to 1 Bit# of APC Reg. 08h 5 6 4 7 DESCRIPTION Routed to A20M# for Pentium-II Core Frequency Selection Routed to INTR for Pentium-II Core Frequency Selection Routed to IGNE# for Pentium-II Core Frequency Selection Routed to NMI for Pentium-II Core Frequency Selection
vcc
R
BM_REO# PHOLD# PHLDA# GPCS0# A20M# IGNE# NMI INTR APC REG08. 7~4
R
MUX
Pentium II Processor
GND
CPURST APC REG08.3
Figure 5-1 Block Diagram for Generating Core Frequency
Preliminary V2.0 Nov. 2, 1998
78
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
6
6.1
REGISTER SUMMARY
PCI TO ISA BRIDGE CONFIGURATION REGISTERS ACCESS RO RO R/W R/W RO RO RO R/W RO RO RO R/W R/W R/W R/W R/W R/W R/W R/W RO RO RO RO RO RO R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W REGISTER NAME Vendor ID Device ID Command Register Status register Revision ID Class Code Cache Line Size Master Latency Timer Header Type Built-in Self Test - Reserved BIOS Control Register PCI INTA#/B#/C#/D# Remapping Register ISA Bus Control Register I, II DMA Clock and Wait State Control Register ISA to PCI Top of Memory Region Register ISA to PCI Memory Region Enable Register ISA to PCI Memory Hole Bottom Address Register ISA to PCI Memory Hole Top Address Register Shadow Register of ICW1 to ICW4 of the INT1 Shadow Register of ICW1 to ICW4 of the INT2 Shadow Register of OCW 2&3 of INT1 Shadow Register of OCW 2&3 of the INT2 CTC Shadow Registers 1 to 8 Shadow Register for ISA Port 70 IDEIRQ Remapping Register USBIRQ Remapping Register PCI Output Buffer Current Strength Register INIT Enable Register PHOLD# Timer Priority Timer Respond to C/D Segment Data Acquisition Module Base Address Register ACPI/SCI IRQ Remapping Register Test Mode Register I, II 79 Silicon Integrated Systems Corporation
ADDRESS 00-01h 02-03h 04-05h 06-07h 08h 09-0Bh 0Ch 0Dh 0Eh 0Fh 10-3Ch 40h 41-44h 45h-46h 47h 48h 49h 4Ah 4Bh 4C-4Fh 50-53h 54-55h 56-57h 58h-5Fh 60h 61h 62h 63h 64h 65h 66h 67h 68-69h 6Ah 6B-6Ch
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
I2C Bus Control Register Software-Controlled Interrupt Requests Misc. Control Register - Reserved Individual PC/PCI DMA Channel Enable Register - Reserved Data Acquisition Module Function Selection Register Data Acquisition Module Control Register Data Acquisition Module ADC Calibration Register Data Acquisition Module IRQ Remapping Register - Reserved Distributed DMA Master Configuration Register - Reserved Individual Distributed DMA Channel Enable Register - Reserved Serial Interrupt Control Register Serial Interrupt Request Enable Register 1,2 - Reserved Serial Interrupt Request Enable Register 3 - Reserved ACPI Base Address Register
6Dh 6E-6Fh 70h 71h 72h 74-79h 7Ah 7Bh 7C-7Dh 7Eh 7Fh 80-81h 82-83h 84h 85-87h 88h 89-8Ah 8Bh 8Ch 8D-8Fh 90-91h 6.2
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W RO R/W RO R/W RO R/W R/W RO R/W RO R/W
LEGACY ISA REGISTERS
6.2.1 DMA REGISTERS (These registers can be accessed from PCI bus and ISA bus) ADDRESS ACCESS REGISTER NAME 0000h R/W DMA1 CH0 Base and Current Address Register 0001h R/W DMA1 CH0 Base and Current Count Register 0002h R/W DMA1 CH1 Base and Current Address Register 0003h R/W DMA1 CH1 Base and Current Count Register 0004h R/W DMA1 CH2 Base and Current Address Register 0005h R/W DMA1 CH2 Base and Current Count Register 0006h R/W DMA1 CH3 Base and Current Address Register 0007h R/W DMA1 CH3 Base and Current Count Register 0008h R/W DMA1 Status(r) Command(w) Register 0009h R/W DMA1 Request Register 000Ah R/W DMA1 Command(r) Write Single Mask Bit (w) Register 000Bh R/W DMA1 Mode DMA Register 000Ch WO DMA1 Clear Byte Pointer
Preliminary V2.0 Nov. 2, 1998
80
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
000Dh 000Eh 000Fh 00C0h 00C2h 00C4h 00C6h 00C8h 00CAh 00CCh 00CEh 00D0h 00D2h 00D4h 00D6h 00D8h 00DAh 00DCh 00DEh
WO WO R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W WO WO WO R/W
DMA1 Master Clear DMA1 Clear Mask Register DMA1 Write All Mask Bits(w) Mask Status(r) Register DMA2 CH0 Base and Current Address Register DMA2 CH0 Base and Current Count Register DMA2 CH1 Base and Current Address Register DMA2 CH1 Base and Current Count Register DMA2 CH2 Base and Current Address Register DMA2 CH2 Base and Current Count Register DMA2 CH3 Base and Current Address Register DMA2 CH3 Base and Current Count Register DMA2 Status(r) Command(w) Register DMA2 Request Register DMA2 Command(r) Write Single Mask Bit(w) Register DMA2 Mode Register DMA2 Clear Byte Pointer DMA2 Master Clear DMA2 Clear Mask Register DMA2 Write All Mask Bits(w) Mask Status Register(r)
(These registers can be accessed from PCI bus or ISA bus) ADDRESS ACCESS REGISTER NAME 0080h R/W Reserved 0081h R/W DMA Channel 2 Low Page Register 0082h R/W DMA Channel 3 Low Page Register 0083h R/W DMA Channel 1 Low Page Register 0084h R/W Reserved 0085h R/W Reserved 0086h R/W Reserved 0087h R/W DMA Channel 0 Low Page Register 0088h R/W Reserved 0089h R/W DMA Channel 6 Low Page Register 008Ah R/W DMA Channel 7 Low Page Register 008Bh R/W DMA Channel 5 Low Page Register 008Ch R/W Reserved 008Dh R/W Reserved 008Eh R/W Reserved 008Fh R/W Refresh Low Page Register
Preliminary V2.0 Nov. 2, 1998
81
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
(These registers can be accessed from PCI bus or ISA bus) ADDRESS ACCESS REGISTER NAME 00480h R/W Reserved 00481h R/W DMA Channel 2 High Page Register 00482h R/W DMA Channel 3 High Page Register 00483h R/W DMA Channel 1 High Page Register 00484h R/W Reserved 00485h R/W Reserved 00486h R/W Reserved 00487h R/W DMA Channel 0 High Page Register 00488h R/W Reserved 00489h R/W DMA Channel 6 High Page Register 0048Ah R/W DMA Channel 7 High Page Register 0048Bh R/W DMA Channel 5 High Page Register 0048Ch R/W Reserved 0048Dh R/W Reserved 0048Eh R/W Reserved 0048Fh R/W Reserved 6.2.2 INTERRUPT CONTROLLER REGISTERS (These registers can be accessed from PCI bus or ISA bus.) ADDRESS 0020h 0021h 00A0h 00A1h ACCESS R/W R/W R/W R/W REGISTER NAME INT 1 Base Address Register INT 1 Mask Register INT 2 Base Address Register INT 2 Mask Register
6.2.3 TIMER REGISTERS (These registers can be accessed from PCI bus or ISA bus.) ADDRESS 0040h 0041h 0042h 0043h ACCESS R/W R/W R/W WO REGISTER NAME Interval Timer 1 - Counter 0 Interval Timer 1 - Counter 1 Interval Timer 1 - Counter 2 Interval Timer 1 - Control Word Register
6.2.4 OTHER REGISTERS (These registers can be accessed from PCI bus or ISA bus.) ADDRESS 0061h 0070h ACCESS R/W WO REGISTER NAME NMI Status Register CMOS RAM Address and NMI Mask Register 82 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
00F0h 04D0h 04D1h 6.3
WO R/W R/W
Coprocessor Error Register IRQ Edge/Level Control Register 1 IRQ Edge/Level Control Register 2
PMU CONFIGURATION REGISTERS ADDRESS 40h ~ 43h 44h ~ 47h 48h ~ 4Bh 4Ch ~ 4Dh 4Eh ~ 4Fh 50h ~ 53h 54h ~ 57h 58h ~ 5Bh 5Ch ~ 5Dh 5Eh ~ 5Fh 60h ~ 63h 64h ~ 67h 68h ~ 69h 6Ah ~ 6Bh 6Ch ~ 6Dh 6Eh ~ 6Fh 70h ~ 71h 72h 73h 74h ~ 75h 76h 77h 78h 79h 7Ah 7Bh 7Ch 7Dh 7Eh ~ 7Fh 80h ~ 83h ACCESS R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W REGISTER NAME System Standby Timer 0 Reload Event System Standby Timer 1 Reload Event System Standby Timer 2 Reload Event Sound Port Trap and Address Mask for Programmable 16-bit I/O Linear Frame Buffer Trap Wake-up 0 Wake-up 1 Reserved Programmable 10-bit I/O Programmable 16-bit I/O SMI# Enable SMI#/SCI Request Status IRQ and NMI Enable for Wake-up0 and System Standby Timer 0 IRQ and NMI Enable for Wake-up1 and System Standby Timer 1 IRQ and NMI Enable for System Standby Timer 2 Reserved GPCS0# Base Address GPCS0# Address Mask GPCS0# Control GPCS1# Base Address GPCS1# Address Mask GPCS1# Control GPCS0# and GPCS1# De-bounce Counter and GPCS0# Address A[11:8] Mask System Standby Timer 0 System Standby Timer 1 System Standby Timer 2 System Standby Timer Granularity Auto Power Off Timer and PMU Test Mode IDE Bus Master Port Trap SCI Enable
Preliminary V2.0 Nov. 2, 1998
83
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
6.4 ACPI CONFIGURATION REGISTERS BYTE LENGTH 2 2 2 2 4 4 1 1 1 1 4 4 3 1 4 4 2 2 2 2 ACCESS R/W R/W R/W R/W R/W R/W RO RO R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W NAME PM1 Status PM1 Enable PM1 Control Reserved PM Timer CPU Control CPU Power State Level 2 CPU Power State Level 3 PM2 Control Fixed Features Control GPE Status GPE Enable GPE Pin Status GP Timer GPE I/O Selection GPE Polarity Selection GPE Multi-definition Pins Selection GPE Control GPIO Events SMI# Enable GPIO Events Stop GPTMR and Reload PMU Timers Enable Legacy Status Legacy Enable Reserved Test Control Reserved SMI# Command Port Free Read/Write Byte Reserved ABBREVIATE PM1_STS PM1_EN PM1_CTL PM_TMR P_CTL P_LVL2 P_LVL3 PM2_CTL FIX_CTL GPE_STS GPE_EN GPE_Pin GP_TMR GPE_IO GPE_Pol GPE_Mul GPE_CTL GPE_SMI GPE_RL CLASS Fixed Features Fixed Features Fixed Features Fixed Features Fixed Features Fixed Features Fixed Features Fixed Features Fixed Features Fixed Features Generic Features Generic Features Generic Features Generic Features Generic Features Generic Features Generic Features Generic Features Generic Features Generic Features
OFFSET 00 02 04 06 08 0C 10 11 12 13 14 18 1C 1F 20 24 28 2A 2C 2E
30 31 32 33 34 35 36 37
1 1 1 1 1 1 1 1
R/W R/W R/O R/W R/W R/W R/W R/O
LEG_STS LEG_EN TST_CTL SMI_CMD Free_Byte
Legacy Legacy Legacy Legacy Legacy
Preliminary V2.0 Nov. 2, 1998
84
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
38 1 R/W SMBus IO Index SMB_INDEX SMBus 39 1 R/W SMBus IO Data SMB_DAT SMBus Note: ALL ACPI registers can be accessed by byte, word, or D-word in length. 6.5 SMBUS IO REGISTERS BYTE LENGTH 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ACCESS R/W R/W R/W R/W RO R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W NAME SMBus Host Status SMBus Host Control SMBus Address Field SMBus Command Field SMBus Data Processed Count SMBus Data Byte Count SMBus Data Byte 0 SMBus Data Byte 1 SMBus Data Byte 2 SMBus Data Byte 3 SMBus Data Byte 4 SMBus Data Byte 5 SMBus Data Byte 6 SMBus Data Byte 7 SMBus Device Address SMBus Device Byte0 SMBus Device Byte1 SMBus Host Alias Address ABBREVIATE SMB_STS SMB_CTL SMB_ADS SMB_CMD SMB_PCNT SMB_CNT SMB_BYTE0 SMB_BYTE1 SMB_BYTE2 SMB_BYTE3 SMB_BYTE4 SMB_BYTE5 SMB_BYTE6 SMB_BYTE7 SMB_DEV SMB_DB0 SMB_DB1 SMB_HAA COMMENT
OFFSET 00~01 02~03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 6.6
Device Master Address Low Byte High Byte Another Host Address
USB OPENHCI HOST CONTROLLER CONFIGURATION SPACE
6.6.1 USB CONFIGURATION SPACE (FUNCTION 2) CONFIGURATION. OFFSET 00-01h 02-03h ACCESS RO RO MNEMONIC REGISTER VID Vendor ID DID Device ID 85 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
04-05h 06-07h 08h 09-0Bh 0Ch 0Dh 0Eh 0Fh 10-13h 13-3Bh 3Ch 3Dh 3Eh 3Fh 6.6.2
R/W R/W RO RO RO R/W RO RO R/W RO R/W RO RO RO
CMD Command Register STS Status register RID Revision ID CD Class Code CL Cache Line Size MLT Master Latency Timer HT Header Type BIST Built-in Self Test Base address - Reserved INTL Interrupt line INTP Interrupt pin MINGNT Min Gnt MAXLAT Max Latency
HOST CONTROLLER OPERATIONAL REGISTERS OFFSET 0 4 8 C 10 14 18 1C 20 24 28 2C 30 34 38 3C 40 44 48 4C 50 54 3100 HcRevision HcControl HcCommandStatus HcInterruptStatus HcInterruptEnable HcInterruptDisable HcHCCA HcPeriodCurrentED HcControlHeadED HcControlCurrentED HcBulkHeadED HcBulkCurrentED HcDoneHead HcFmInterval HcFmRemaining HcFmNumber HcPeriodicStart HcLSThreshold HcRhDescriptorA HcRhDescriptorB HcRhStatus HcRhPortStatus[1]
Preliminary V2.0 Nov. 2, 1998
86
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
58 100 104 108 10C 6.7
HcRhPortStatus[2] HceControl HceInput HceOutput HceStatus
AUTOMATIC POWER CONTROL (APC) REGISTERS
(The following register can be accessed when PCI to ISA Register 45, bit 1 is set to 1.) ADDRESS 00h 01h 02h 03h 04h 05h 06h 07h 08h 6.7.1 ACCESS RO RO R/W R/W R/W R/W RO R/W R/W REGISTER NAME Reserved Reserved APC Register 02h APC Register 03h APC Register 04h APC Register 05h APC Register 06h APC Register 07h APC Register 08h
RTC REGISTERS ACCESS R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W REGISTER NAME Seconds Seconds Alarm Minutes Minutes Alarm Hours Hours Alarm Day of the Week Day of the Month Month Year Register A Register B ( bit 3 must be set to 0) Register C Register D Day of the Month Alarm Month Alarm
ADDRESS 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 7Eh 7Fh
Preliminary V2.0 Nov. 2, 1998
87
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
6.8 DATA ACQUISITION MODULE (DAM) INTERNAL REGISTERS REGISTER Configuration Interrupt Status I Interrupt Status II SMI# Mask I SMI# Mask II NMI Mask I NMI Mask II Fan Divisor - Reserved VIN0 Reading VIN1 Reading VIN2 Reading VIN3 Reading DXP/VIN4 Reading - Reserved Fan 1 Reading Fan 2 Reading - Reserved VIN0 High Limit VIN0 Low Limit VIN1 High Limit VIN1 Low Limit VIN2 High Limit VIN2 Low Limit VIN3 High Limit VIN3 Low Limit DXP/VIN4 High Limit DXP/VIN4 Low Limit - Reserved FAN1 fan count limit FAN2 fan count limit - Reserved ACCESS R/W RO RO R/W RO RO RO R/W RO RO RO RO RO RO RO RO RO RO R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W RO
OFFSET 40h 41h 42h 43h 44h 45h 46h 47h 48h 20h/60h 21h/61h 22h/62h 23h/63h 24h/64h 25h~27h/65~67h 28h/68h 29h/69h 2Ah/6Ah 2Bh/6Bh 2Ch/6Ch 2Dh/6Dh 2Eh/6Eh 2Fh/6Fh 30h/70h 31h/71h 32h/72h 33h/73h 34h/74h 35h~3Ah/75h~7Ah 3Bh/7Bh 3Ch/7Ch 3Dh/7Dh
Preliminary V2.0 Nov. 2, 1998
88
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
7
7.1
REGISTER DESCRIPTION
PCI TO ISA BRIDGE CONFIGURATION REGISTERS DEVICE PCI to ISA bridge IDSEL AD12 FUNCTION NUMBER 0000b
Registers 00h~01h Vendor ID Default Value: 1039h Access: Read Only BIT 15:0 ACCESS DESCRIPTION RO Vendor Identification Number Default value is 1039h
Registers 02h~03h Device ID Default Value: 0008h Access: Read Only BIT 15:0 ACCESS DESCRIPTION Device Identification Number RO Default value is 0008h Command Register
Registers 04h~ 05h Default Value: 000Ch
Access: Read/Write, Read Only BIT 15:4 3 2 1 0 ACCESS DESCRIPTION Reserved. RO Read as 0 Read as 1 to indicate the device is allowed to monitor special RO cycles. Read as 1 to indicate the device is able to become PCI bus RO master. Response to Memory Space Accesses (default=0) R/W This bit should be written to 1 after reset. Response to I/O Space Accesses (default =0) R/W This bit should be written to 1 after reset.
Registers 06h~07h Status Default Value: 0200h Access: Read/Write, Read Only Preliminary V2.0 Nov. 2, 1998 89 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 15:14 13
12
11 10:9
8:0
ACCESS DESCRIPTION Reserved. RO Read as 0. Received Master-Abort RO This bit will be set to 1 when the current transaction is terminated with master-abort. This bit can be cleared to 0 by writing a 1. Received Target-Abort RO This bit will be set to 1 when the current transaction is terminated with target-abort. This bit can be cleared to 0 by writing a 1. Reserved. RO Read as 0. DEVSEL# Timing R/W The two bits are hardwired to 01 to indicate positive decode with medium timing. Reserved. RO Read as 0. Revision ID
Register 08h Default Value: B0h Access: Read Only BIT 7:0
ACCESS DESCRIPTION Revision Identification Number RO
Register 09h~0Bh Class Code Default Value: 060100h Access: Read Only BIT 23:0 ACCESS DESCRIPTION Class Code RO Default value is 060100h Cache Line Size
Register 0Ch Default Value: 00h Access: Read Only BIT 7:0 Register 0Dh Default Value: 00h Access: Read/Write
ACCESS Cache Line Size RO Master Latency Timer
DESCRIPTION
Preliminary V2.0 Nov. 2, 1998
90
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 7:0 Register 0Eh
ACCESS DESCRIPTION Master Latency Timer. RO Header Type
Default Value: 80h Access: Read Only BIT 7:0 ACCESS Header Type RO Default value is 80h BIST DESCRIPTION
Register 0Fh Default Value: 00h Access: Read Only BIT 7:0
ACCESS BIST RO Default value is 00h
DESCRIPTION
Register 10h~3Ch Reserved. Read as 0. Register 40h Default Value: 08h Access: Read/Write BIT 7 ACCESS DESCRIPTION ACPI Enable R/W 0 : Disable (default) 1 : Enable When enabled, ACPI registers located at IO space address as defined in ACPI Base registers (Reg. 90h~91h) can be accessed. PC/PCI DMA ISA Master Retry Mode Selection R/W When this bit is programmed to 0, the PC/PCI DMA controller will not release the PCI bus as the PC/PCI DMA ISA Master cycle is retried. Inversely, the PC/PCI DMA controller will release the PCI bus. PCI Delayed Transaction Enable R/W 0 : Disable (default) 1 : Enable PCI Posted Write Buffer Enable R/W 0 : Disable (default) 1 : Enable BIOS Control Register
6
5
4
Preliminary V2.0 Nov. 2, 1998
91
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3 2 1 0
R/W R/W R/W R/W
Positive Decode of Upper 64K BYTE BIOS Enable. BIOS Subtractive Decode Enable. Lower BIOS Enable. BIT[3:2] will only be effective when this bit is enabled. Extended BIOS Enable. (FFF80000~FFFDFFFF) When enabled, the device will positively respond to PCI cycles toward the Extended segment.
BITS [3:2]
F SEGMENT + v v
00 10 Others
E SEGMENT + v* v*
COMMENT
Chip positively responds to E segment access. Chip positively responds to E and F segment access. Chip subtractively responds to F segment access.
Note *: Enabled if bit 1 is set. Register 41h/42h/43h/44h Default Value: Access: BIT 7 PCI INTA#/B#/C#/D# Remapping Register
80/80/80/80h Read/Write
6:4 3:0
ACCESS DESCRIPTION Remapping Enable R/W 0 : Enable 1 : Disable (default) When enabled, PCI INTA#/B#/C#/D# will IRQ channel specified below. Reserved. RO Read as 0 IRQx Remapping Table R/W Bits IRQx# Bits IRQx# 0000 Reserved 0110 IRQ6 0001 Reserved 0111 IRQ7 0010 Reserved 1000 reserved 0011 IRQ3 1001 IRQ9 0100 IRQ4 1010 IRQ10 0101 IRQ5 1011 IRQ11
be remapped to the
Bits 1100 1101 1110 1111
IRQx# IRQ12 reserved IRQ14 IRQ15
Note: More than one of INT[A:D]# can be remapped to the same IRQ line, but that IRQ line should be programmed to level-triggered mode in Register 4D0h/4D1h.
Preliminary V2.0 Nov. 2, 1998
92
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 45h Default Value: 00h Access: Read/Write BIT 7:6 ACCESS DESCRIPTION ISA Bus Clock Selection R/W 00: 7.159MHz 01: PCICLK/4 10: PCICLK/3 11:Reserved Flash EPROM Control bit 0 R/W Refer to bit 2 of this register. Test bit for internal use only R/W 0 : Normal mode 1 : Test mode RTC Extended Bank Enable (EXTEND_EN) R/W 0 : Disable 1 : Enable When this bit is enabled, the upper 128 bytes of RTC SRAM can be accessed. Flash EPROM Control Bit 1 R/W If bit 5 or 2 is not set to '1' after CPURST de-asserted, EPROM can be flashed. Once bit 5 or bit 2 is set to 1, EPROM can only be flashed when bit 5, 2 = 01 Automatic Power Control Registers (APCREG_EN) Enable R/W 0 : Disable 1 : Enable When this bit is enable, APC registers can be accessed. Reserved. This bit must be programmed to 0 R/W ISA Bus Control Register II ISA Bus Control Register I
5 4
3
2
1
0 Register 46h
Default Value: 00h Access: Read/Write BIT 7:6 ACCESS DESCRIPTION 16-Bit I/O Cycle Command Recovery Time R/W 00: 5 BUSCLK (default) 01: 4 BUSCLK 10: 3 BUSCLK 11: 2 BUSCLK
Preliminary V2.0 Nov. 2, 1998
93
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
5:4
R/W
3
R/W
2:0
R/W
8-Bit I/O Cycle Command Recovery Time 00: 8 BUSCLK (default) 01: 5 BUSCLK 10: 4 BUSCLK 11: 3 BUSCLK ROM Cycle Wait State Selection 0 : 4 wait states (default) 1 : 1 wait state Test bit for internal use only 0 : Normal Mode (default) 1 : Test Mode
Register 47h Default Value: 00h Access: Read/Write BIT 7
DMA Clock and Wait State Control Register
6
5:4
3:2
1 0
ACCESS DESCRIPTION PC/PCI DMA Function Enable R/W 0 : Disable 1 : Enable EXTEND DACK# Enable R/W 0 : Disable 1 : Enable (recommended) When enabled, the assertion time of DACK# will be extended by 1/2 BCLK. 16-Bit DMA Cycle Wait State R/W 00 : 1 DMACLK (default) 01 : 2 DMACLK 10 : 3 DMACLK 11 : 4 DMACLK 8-Bit DMA Cycle Wait State R/W 00 : 1 DMACLK (default) 01 : 2 DMACLK 10 : 3 DMACLK 11 : 4 DMACLK Reserved. R/W DMA Clock Selection R/W 0: ISA Bus clock divided by 2 (recommended) 1 : Same as ISA Bus clock
Preliminary V2.0 Nov. 2, 1998
94
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 48h Default Value: 01h Access: Read/Write BIT 7:4
ISA to PCI Top of Memory Region Register
3
2 1 0 Register 49h
ACCESS DESCRIPTION Top of Memory region R/W 0000 : 000FFFFFh 0001 : 001FFFFFh 0010 : 002FFFFFh 0011 : 003FFFFFh : : 1101 : 00DFFFFFh 1110 : 00EFFFFFh 1111 : 00FFFFFFh ISA master or DMA memory cycles will be qualified to be forwarded to PCI bus when their address in memory space fall within a certain memory region. The bottom address of the memory region is always at 00100000h. The top address can be programmed in bits[7:4] of this register. All memory cycles in this region will be forwarded to PCI bus except the ones that fall within a memory hole defined in register 4Ah~4Bh. E0000h-EFFFFh Memory Region forwarded to PCI Enable R/W 0 : Disable (default) 1 : Enable ISA master and DMA memory cycles fall within this memory region will also be forwarded to PCI bus when enabled. A0000h-BFFFFh memory Region forwarded to PCI Enable R/W 80000h-9FFFFh Memory Region forwarded to PCI Enable R/W 00000h-7FFFFh Memory Region forwarded to PCI Enable R/W ISA to PCI Memory Region Enable Register
Default Value: 00h Access: Read/Write BIT 7 6 5 4 3 2 ACCESS R/W R/W R/W R/W R/W R/W DESCRIPTION DC000h-DFFFFh Memory Region forwarded to PCI Enable D8000h-DBFFFh Memory Region forwarded to PCI Enable D4000h-D7FFFh Memory Region forwarded to PCI Enable D0000h-D3FFFh Memory Region forwarded to PCI Enable CC000h-CFFFFh Memory Region forwarded to PCI Enable C8000h-CBFFFh memory Region forwarded to PCI Enable 95 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
1 0
R/W R/W
C4000h-C7FFFh Memory Region forwarded to PCI Enable C0000h-C3FFFh Memory Region forwarded to PCI Enable 0 : Disable (default) 1 : Enable
Register 4Ah Default Value: 10h Access: Read/Write BIT 7:0
ISA to PCI Memory Hole Bottom Address Register
ACCESS DESCRIPTION Bottom address bits A[23:16] of the memory hole R/W Register 4Ah and register 4Bh define a memory hole located between 00100000h and 00FFFFFFh. ISA master and DMA memory cycles fall within this hole will not be forwarded to PCI bus. Both the bottom and the top addresses must be larger than or equal to 00100000h. If the bottom address is greater than the top address, then the memory hole is disabled. ISA to PCI Memory Hole Top Address Register
Register 4Bh Default Value: 0Fh Access: Read/Write BIT 7:0
ACCESS DESCRIPTION Top address bits A[23:16] of the memory hole R/W
Register 4Ch~4Fh Shadow Register of ICW1 to ICW4 of INT1 Default Value: 00000000h Access: Read Only BIT 7:0 ACCESS DESCRIPTION Reflect ICW1 to ICW4 of the master interrupt controller RO
Register 50h~53h Shadow Register of ICW1 to ICW4 of INT2 Default Value: 00000000h Access: Read Only BIT 7:0 ACCESS DESCRIPTION Reflect ICW1 to ICW4 of the slave interrupt controller RO
Register 54h~55h Shadow Register of OCW2 & OCW3 of INT1 Default Value: 0000h Access: Read Only Preliminary V2.0 Nov. 2, 1998 96 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 7:0
ACCESS DESCRIPTION Reflect OCW2 and OCW3 of the master interrupt controller RO
Register 56h~57h Shadow Register of OCW2 & OCW3 of INT2 Default Value: 0000h Access: Read Only BIT 7:0 Register 58h Default Value: 00h Access: Read Only BIT 7:0 Register 59h Default Value: 00h Access: Read Only BIT 7:0 ACCESS DESCRIPTION Reflect high byte of the initial count number of CTC Counter RO 0 CTC Shadow Register 3 ACCESS DESCRIPTION Reflect low byte of the initial count number of CTC Counter 0 RO CTC Shadow Register 2 ACCESS DESCRIPTION Reflect OCW2 and OCW3 of the slave interrupt controller RO CTC Shadow Register 1
Register 5Ah Default Value: 00h Access: Read Only BIT 7:0 Register 5Bh Default Value: 00h Access: Read Only BIT 7:0
ACCESS DESCRIPTION Reflect low byte of the initial count number of CTC Counter 1 RO CTC Shadow Register 4
ACCESS DESCRIPTION Reflect high byte of the initial count number of CTC Counter RO 1
Preliminary V2.0 Nov. 2, 1998
97
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 5Ch Default Value: 00h Access: Read Only BIT 7:0 Register 5Dh Default Value: 00h Access: Read/Write BIT 7:0
CTC Shadow Register 5
ACCESS DESCRIPTION Reflect low byte of the initial count number of CTC Counter 2 RO CTC Shadow Register 6
ACCESS DESCRIPTION Reflect high byte of the initial count number of CTC Counter RO 2 CTC Shadow Register 7
Register 5Eh Default Value: 00h Access: Read Only BIT 7:0 Register 5Fh Default Value: 00h Access: Read Only BIT 7:6 5 4 3 2 1 0
ACCESS DESCRIPTION Reflect Control word (43h) of the built-in CTC RO Shadow Register 8
ACCESS RO RO RO RO RO RO RO
DESCRIPTION Reserved CTC counter2 Write count pointer status CTC counter1 Write count pointer status CTC counter0 Write count pointer status CTC counter2 Read count pointer status CTC counter1 Read count pointer status CTC counter0 Read count pointer status 0 : LSB 1 : MSB
Register 60h Default Value: FFh Access: Read Only
Shadow Register for ISA port 70h
Preliminary V2.0 Nov. 2, 1998
98
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 7:0 Register 61h
ACCESS DESCRIPTION Reflect the content of ISA port 70h register RO IDEIRQ Remapping Register
Default Value: 80h Access: Read/Write BIT 7 ACCESS DESCRIPTION IDEIRQ Remapping Enable R/W 0 : Enable 1 : Disable (default) Control the output data value sampled from SIRQ and this R/W function only for IRQ data in SIRQ. 0: output value is the same as the sampled data. 5 4 R/W R/W 1: output value is the inverted value of the sampled data. Reserved. IDE Channel Remapping Selection 0 : Primary IDE channel 1 : Secondary IDE channel IRQ Remapping Table Bits IRQx# Bits IRQx# Bits IRQx# 0000 reserved 0110 IRQ6 1100 IRQ12 0001 reserved 0111 IRQ7 1101 reserved 0010 reserved 1000 Reserved 1110 IRQ14 0011 IRQ3 1001 IRQ9 1111 IRQ15 0100 IRQ4 1010 IRQ10 0101 IRQ5 1011 IRQ11
6
3:0
R/W
Register 62h Default Value: 80h Access: Read/Write BIT 7
USBIRQ Remapping Register
6
5:4 3:0
ACCESS DESCRIPTION USBIRQ Remapping Enable R/W 0 : Enable 1 : Disable (default) Integrated USB Enable R/W 0 : Disable 1 : Enable Reserved. This bit must be programmed to 0. R/W IRQ Remapping Table R/W
Preliminary V2.0 Nov. 2, 1998
99
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Bits 0000 0001 0010 0011 0100 0101 Register 63h Default Value: 00h Access: Read/Write BIT 7:5 4:3 2
IRQx# reserved reserved reserved IRQ3 IRQ4 IRQ5
Bits 0110 0111 1000 1001 1010 1011
IRQx# IRQ6 IRQ7 reserved IRQ9 IRQ10 IRQ11
Bits 1100 1101 1110 1111
IRQx# IRQ12 reserved IRQ14 IRQ15
PCI Output Buffer Current Strength Register
1:0
ACCESS DESCRIPTION Reserved. R/W These bits must be programmed to 0 Hardware reset initiated by software R/W When both set to 1, hardware reset will be generated to CPU. Software Power Off System Control(SPWROFF) R/W Before enabling this function, the bit6 at APC Register 03h should be enabled. Once writing a 1 to this bit, system will be powered off. PCI Output Buffer Current Strength Selection R/W 00: 4mA (recommended) 11: 8mA Others: Reserved INIT Enable Register
Register 64h Default Value: 00h Access: Read/Write BIT 7:6
5
4
ACCESS DESCRIPTION SMC37C673 Super I/O Compatible Mode R/W The two bits should be programmed to 1, if a SMC37C673 Super IO chip is connected to SIS5595 via serial IRQ line. Bit_7 enables the chipset to latch SIRQ1, while Bit_6 enables the chipset to latch SIRQ12. For all other super IO chips, the two bits should be programmed to 0 INIT Enable R/W 0: Drives CPURST during S/W reset and INIT is inactive. 1: Drives INIT during S/W reset Fast Gate 20 Emulation R/W 0: Disable 1: Enable 100 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
3
R/W
2
R/W
1
R/W
0
R/W
Fast Reset Latency Control 0: 2us 1: 6us Fast Reset Emulation 0: Disable 1: Enable A20M# Output Control 0: Enable the assertion of A20M# if applicable. 1: Disable the assertion of A20M#, i.e., A20M# will be high at all times. Enable Keyboard Hardware Reset 0: Disable 1: Enable
Register 65h Default Value: 01h Access: Read/Write BIT 7:0
PHOLD# Timer
ACCESS DESCRIPTION PHOLD# Timer R/W The PHOLD# timer sets an upper limit in terms of PCI clock for the assertion time of PHOLD# initiated by USB or DDMA master. The timer starts and continues the counting when USB or DDMA master is asserting PHOLD#. Upon expiration, USB or DDMA master will be forced to de-assert PHOLD#. The maximum allowable value is FFh and the minimum allowable value is 01h. If a larger value is programmed, USB or DDMA master will be able to complete more PCI transactions by preventing the system arbiter from issuing GNT# to other PCI master candidates. The PCI bus bandwidth can be fairly shared by all PCI master candidates by properly program this timer. Priority Timer
Register 66h Default Value: 00h Access: Read/Write
Preliminary V2.0 Nov. 2, 1998
101
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 7:0
ACCESS R/W
DESCRIPTION Priority Timer There are three PCI maser candidates inside the south-bridge chip competing for the PCI bus. They are- ISA/DMA master, DDMA and USB. A local arbiter with rotating arbitration scheme is adopted to coordinate their requests to become PCI master. The candidate that issues request to the arbiter with a higher priority is the winner and is eligible to become PCI master when PHLDA# is received. The priority timer is used to set a lower limit in terms of PCI clock for the wining candidates to continue its PCI transactions. The timer will start counting as soon as the winning candidate receives PHLDA#. Upon expiration, the winning candidate's priority will become the lowest among the three and, if there are other requests are outstanding, lose the ownership of PHLDA#. The maximum allowable value is FFh and the minimum allowable value is 00h.
Register 67h Default Value: 00h Access: Read/Write BIT 7
Respond to C/D Segments Register
6:5 4:3 2
1
0
ACCESS DESCRIPTION ISR bits clear SIRQ1 and SIRQ 12 Latches Enable R/W When set to 1, the internal latches for SIRQ1 and SIRQ12 will be cleared when the corresponding ISR bits are set in Interrupt Controller. The latches only take effective when either register 64h bit 7 or bit 6 is set to 1.The latches will always be cleared by a IO read cycle with address=60h. Reserved. These bits must be programmed to 0. R/W Test Mode Bits. These bits must be programmed to 0. R/W Subtractive Decode to Internal registers Enable R/W 0 : Disable 1 : Enable When this bit is enabled , the SIS5595 will do subtractive decode on addresses for internal registers . Respond to C/D Segments Enable R/W 0 : Disable 1 : Enable When enabled, the chip will positively responded to PCI memory cycles toward C segment and D segment; i.e., from FFC00000h to FFDFFFFFh. Test Mode Bit. This bit must be programmed to 0. R/W
Preliminary V2.0 Nov. 2, 1998
102
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 68~69h Data Acquisition Module Base Address
Default Value: 0290h Access: Read/Write BIT 15:3 ACCESS DESCRIPTION Correspond to Base Address A[15:3] in IO space R/W Specify the base address for the internal registers of the Data Acquisition Module. Reserved. R/W These bits must be programmed to 0. ACPI/SCI IRQ Remapping Register
2:0
Register 6Ah Default Value: 80h Access: Read/Write BIT 7
6:4 3:0
ACCESS DESCRIPTION ACPI/SCI IRQ Remapping Enable R/W 1 : Disable 0 : Enable Reserved. This bit must be programmed to 0 R/W Interrupt Remapping Table. R/W Bits IRQx# Bits IRQx# Bits 0000 reserved 0110 IRQ6 1100 0001 reserved 0111 IRQ7 1101 0010 reserved 1000 Reserved 1110 0011 IRQ3 1001 IRQ9 1111 0100 IRQ4 1010 IRQ10 0101 IRQ5 1011 IRQ11 Test Mode Register I
IRQx# IRQ12 IRQ13 IRQ14 IRQ15
Register 6Bh Default Value: 00h Access: Read/Write BIT 7:0 Register 6Ch Default Value: 20h Access: Read/Write BIT 7:6
ACCESS DESCRIPTION Test bits. These bits should be programmed to 0. R/W Test Mode Register II
ACCESS DESCRIPTION Test bits. These bits should be programmed to 0. R/W
Preliminary V2.0 Nov. 2, 1998
103
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
5 4:2 1
R/W R/W R/W
0 Register 6Dh
R/W
IRQ13 Control When set to 1, IRQ13 will be routed to FERR#. (default=1) Test bits. These bits should be programmed to 0. Enable the Reading of all DMA base registers. 0 : Disable 1 : Enable Reserved. This bit must be programmed to 0.
I2C Bus Control Register
Default Value: 19h Access: Read/Write, Read Only BIT 7 ACCESS DESCRIPTION Internal Test Bit for Keyboard and PS/2 Mouse Pin Swapping R/W 0 : Normal Mode 1 : Test Mode Reserved. R/W Serial IRQ sampled IOCHK phase control R/W 0 : The sampled IOCHK on serial IRQ will be inverted. 1 : The sampled IOCHK on serial IRQ will not be inverted. (recommended) I2C Bus Data Active Level Control R/W 0 : Active Low 1 : Active High I2C Bus Clock Active Level Control R/W 0 : Active Low 1 : Active High I2C Bus Control R/W 0 : Disable 1 : Enable Keyboard Hot Key Status RO This bit is set when hot key (Ctrl+Alt+Backspace) is pressed and should be cleared at the end of SMI# handler. This bit is meaningful only when internal KBC is enabled. Keyboard Hot Key Control R/W 0 : Disable 1 : Enable This bit is meaningful only when internal KBC is enabled.
6 5
4
3
2
1
0
Preliminary V2.0 Nov. 2, 1998
104
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 6Eh Default Value: 00h Access: Read/Write BIT 7 6 5 4 3 2 1 0
Software-Controlled Interrupt Request, Channels 7-0
ACCESS R/W R/W R/W R/W R/W R/W R/W R/W
DESCRIPTION Interrupt Channel 7 Interrupt Channel 6 Interrupt Channel 5 Interrupt Channel 4 Interrupt Channel 3 Interrupt Channel 2 Interrupt Channel 1 Interrupt Channel 0 Writing a 1 to these bits will cause the corresponding interrupt requests to be outstanding. This register defaults to all 0.
Register 6Fh Default Value: 00h Access: Read/Write BIT 7 6 5 4 3 2 1 0
Software-Controlled Interrupt Request, channels 15-8
ACCESS R/W R/W R/W R/W R/W R/W R/W R/W
DESCRIPTION Interrupt Channel 15 Interrupt Channel 14 Interrupt Channel 13 Interrupt Channel 12 Interrupt Channel 11 Interrupt Channel 10 Interrupt Channel 9 Interrupt Channel 8 Writing a 1 to these bits will cause the corresponding interrupt requests to be outstanding.
Register 70h Default Value: 12h Access: Read/Write BIT 7:6 5
Misc. Controller Register
ACCESS DESCRIPTION Reserved and should be programmed to 0. R/W Test bit. This bit should be programmed to 0 R/W
Preliminary V2.0 Nov. 2, 1998
105
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
4
R/W
3
R/W
2
R/W
1
R/W
0 Register 71h
R/W
Keyboard Lock Enable 0 : Disable 1 : Enable(default) Integrated Keyboard Controller Enable 0 : Disable 1 : Enable Integrated PS/2 Mouse Enable 0 : Disable (default) 1 : Enable This bit is meaningful only when Bit3 is enabled. Internal RTC Status 0 : Disable 1 : Enable Test bit. This bit should be programmed to 0.
Reserved
Default Value: 00h Access: Read/Write BIT 7:0 Register 72h Default Value: 00h Access: Read/Write BIT 7 6 5 4 3 2 1 0 ACCESS R/W R/W R/W R/W R/W R/W R/W R/W DESCRIPTION Channel 7 PC/PCI DMA Enable Channel 6 PC/PCI DMA Enable Channel 5 PC/PCI DMA Enable Reserved. This bit must be programmed to 0. Channel 3 PC/PCI DMA Enable Channel 2 PC/PCI DMA Enable Channel 1 PC/PCI DMA Enable Channel 0 PC/PCI DMA Enable 0 : Disable (default) 1 : Enable ACCESS DESCRIPTION Reserved and should be programmed to 0. R/W Individual PC/PCI DMA Channel Enable
Register 73h~79h Reserved
Preliminary V2.0 Nov. 2, 1998
106
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 7Ah Default Value: 00h Access: Read/Write BIT 7
Data Acquisition Module Function Selection Register
6:5 4
3:0 Register 7Bh
ACCESS DESCRIPTION DXP/VIN4 Mode Selection R/W 0 : VIN4 Mode 1 : DXP Mode Reserved R/W ADC Calibration Function Enable R/W 0 : Disable 1 : Enable. Before setting this bit, the bit 0 of index register 40h ( start ) should be reset to 0, i.e., stops the round-robin monitoring, or the ADC Calibration Function would not start. This bit would be cleared after the ADC Calibration function is finished. Reserved R/W Data Acquisition Module Control Register
Default Value: 00h Access: Read/Write BIT 7 ACCESS DESCRIPTION Data Acquisition Module Enable R/W 0 : Disable 1 : Enable Test bits. R/W These bits should be programmed to 0. Data Acquisition Module ADC Calibration
6:0
Register 7C~7D Default Value: 00h Access: Read/Write BIT 15:0
ACCESS R/W
DESCRIPTION This register is used as the calibration register for the Analogto-Digital Converter at the Data Acquisition Module.
Register 7Eh
Data Acquisition Module and SMBUS IRQ Remapping Register
To activate DAM Remapping function, bit 7 and bit 6 have to be enabled. To activate SMBus Remapping function, bit 7 and bit 5 have to be enabled. In other words, bit [7:5] have to be enabled at the same time to enable both DAM and SMBus Remapping function.
Preliminary V2.0 Nov. 2, 1998
107
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Default Value: 80h Access: Read/Write BIT 7 ACCESS R/W DESCRIPTION Enable Both Data Acquisition Module and SMBUS IRQ Remapping with bit [6:5] enabled. 0 : Enable 1 : Disable Enable Data Acquisition Module IRQ Remapping with bit 7 enabled. 0 : Enable 1 : Disable Enable SMBus IRQ Remapping with bit 7 enabled. 0 : Enable 1 : Disable Data Acquisition Module IRQ and SMBus IRQ Status This bit reflects the IRQ status for Data Acquisition Module or SMBus if their associated IRQ Second Enable bit is enabled. 0: Indicates neither Data Acquisition Module IRQ nor SMBus IRQ is active. 1: Indicates either Data Acquisition Module IRQ or SMBus IRQ is active. IRQ Remapping Table Bits IRQx# Bits IRQx# Bits IRQx# 0000 reserved 0110 IRQ6 1100 IRQ12 0001 reserved 0111 IRQ7 1101 reserved 0010 reserved 1000 reserved 1110 IRQ14 0011 IRQ3 1001 IRQ9 1111 IRQ15 0100 IRQ4 1010 IRQ10 0101 IRQ5 1011 IRQ11
6
R/W
5
R/W
4
RO
3:0
R/W
Register 7Fh
Reserved
Register 80h~81h Distributed DMA Master Configuration Register Default Value: 0000h Access: Read/Write BIT 15:4 ACCESS R/W DESCRIPTION DDMA slave base address bits[15:4] The DMA slave channels must be grouped into a 128 bytes block with 16 bytes per channel. The DMA slave channel 0 will be located at the base address specified here.
Preliminary V2.0 Nov. 2, 1998
108
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3:1 0
R/W R/W
Reserved. This bit must be programmed to 0. DDMA Function Enable 0 : Disable (default) 1 : Enable
Register 82~83h Register 84h Default Value: 00h Access: Read/Write BIT 7 6 5 4 3 2 1 0
Reserved. Individual Distributed DMA Channel Enable
ACCESS R/W R/W R/W R/W R/W R/W R/W R/W
DESCRIPTION Channel 7 DDMA Enable Channel 6 DDMA Enable Channel 5 DDMA Enable Reserved. This bit must be programmed to 0. Channel 3 DDMA Enable Channel 2 DDMA Enable Channel 1 DDMA Enable Channel 0 DDMA Enable 0 : Disable (default) 1 : Enable
Register 85h~87h Reserved Register 88h Default Value: 00h Access: Read/Write BIT 7 ACCESS DESCRIPTION Serial Interrupt (SIRQ) Control R/W 0 : Disable (default) 1 : Enable Quiet/Continuous Mode R/W 0 : Continuous (default) 1 : Quiet SIRQ Sample Period R/W 0000: 17 slots (default) 0001: 18 slots 0010: 19 slots ::::::::::::: 1111: 32 slots 109 Silicon Integrated Systems Corporation Serial Interrupt Control Register
6
5:2
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
1:0
R/W
Start Cycle length 00: 4 PCI clocks (default) 01: 6 PCI clocks 10: 8 PCI clocks 11: Reserved
Register 89h Default Value: 00h Access: Read/Write BIT 7 6 5 4 3 2 1 0
Serial Interrupt Enable Register 1
ACCESS R/W R/W R/W R/W R/W R/W R/W R/W
DESCRIPTION Serial IRQ8 Enable Serial IRQ7 Enable Serial IRQ6 Enable Serial IRQ5 Enable Serial IRQ4 Enable Serial IRQ3 Enable Serial SMI# Enable Serial IRQ1 Enable 0 : Disable (default) 1 : Enable
Register 8Ah Default Value: 00h Access: Read/Write BIT 7 6 5 4 3 2 1 0
Serial Interrupt Enable Register 2
ACCESS R/W R/W R/W R/W R/W R/W R/W R/W
DESCRIPTION Serial IOCHCK# Enable Serial IRQ15 Enable Serial IRQ14 Enable Serial IRQ13 Enable Serial IRQ12 Enable Serial IRQ11 Enable Serial IRQ10 Enable Serial IRQ 9 Enable 0 : Disable (default) 1 : Enable
Register 8Bh Register 8Ch
Reserved. Read Only Register Serial Interrupt Enable Register 3
Preliminary V2.0 Nov. 2, 1998
110
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Default Value: 00h Access: Read/Write BIT 7 6 ACCESS DESCRIPTION Reserved. These bits must be programmed to 0. R/W Serial INTA Enable R/W 0 : Disable (default) 1 : Enable Serial INTB Enable R/W 0 : Disable (default) 1 : Enable Serial INTC Enable R/W 0 : Disable (default) 1 : Enable Serial INTD Enable R/W 0 : Disable (default) 1 : Enable Reserved. These bits must be programmed to 0. R/W
5
4
3
2:0
Register 90h~91h ACPI Base Address Register Default Value: 0000h Access: Read/Write BIT 15:6 ACCESS DESCRIPTION ACPI Base Address A[15:6] R/W ACPI registers will be located at the base address specified here. Reserved. RO Read as 0.
5:0 7.2
PMU CONFIGURATION REGISTERS DEVICE PMU IDSEL AD12 FUNCTION NUMBER 0001h
Register 00h~01h Vendor ID Default Value: 1039h Access: BIT 15:0 Read Only ACCESS DESCRIPTION Vendor Identification Number RO
Preliminary V2.0 Nov. 2, 1998
111
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 02h~03h Device ID Default Value: 0009h Access: BIT 15:0 Read Only ACCESS DESCRIPTION Device Identification Number RO
Register 04h~ 05h Command Port Default Value : 0000h Access : BIT 15:0 Read Only ACCESS Reserved. RO Read as 0. DESCRIPTION
Register 06h~07h Status Default Value : 0200h Access : BIT 15:14 13 12 11 10:9 Read Only ACCESS DESCRIPTION Reserved. RO Read as 0. Received Master-Abort. RO Read as 0. Received Target-Abort. RO Read as 0. Reserved. RO Read as 0. DEVSEL# Timing RO The two bits are hardwired to 01 to indicate positive decode with medium timing. Reserved. RO Read as 0. Revision ID
8:0
Register 08h Default Value: 00h Access : BIT 7:0
Read Only ACCESS DESCRIPTION Revision Identification Number RO
Preliminary V2.0 Nov. 2, 1998
112
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 09h~0Bh Class Code Default Value : FF0000h Access : BIT 23:0 Read Only ACCESS Class Code RO Cache Line Size DESCRIPTION
Register 0Ch Default Value : 00h Access : BIT 7:0
Read Only ACCESS Cache Line Size RO Master Latency Timer DESCRIPTION
Register 0Dh Default Value : 00h Access : BIT 7:0 Register 0Eh Default Value : 80h Access : BIT 7:0 Register 0Fh Default Value : 00h Access : BIT 7:0
Read Only ACCESS DESCRIPTION Master Latency Timer RO Header Type
Read Only ACCESS Header Type RO BIST DESCRIPTION
Read Only ACCESS BIST RO DESCRIPTION
Register 10h~3Fh Default Value : 00000000h Access : BIT 31:0 Read Only ACCESS Reserved. RO Read as 0. DESCRIPTION
Preliminary V2.0 Nov. 2, 1998
113
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 40h~43h System Standby Timer 0 Reload Event Control register Register 44h~47h System Standby Timer 1 Reload Event Control register Register 48h~4Bh System Standby Timer 2 Reload Event Control register Default Value : 00000000h Access : Read/Write
The three register sets are used to define the System Standby Timer reload events as described below: BIT 31 ACCESS DESCRIPTION Reload Enable--Primary IDE Channel Device 0 Access R/W When set, any I/O access cycle to the primary IDE ports 1F01F7h, 3F6h or IDE bus master ports with DEV=0 in Device/Head Register will reload the System Standby Timer. Reload Enable--Secondary IDE Channel Device 0 Access R/W When set, any I/O access cycle to the secondary IDE ports 170177h, 376h, or IDE bus master ports with DEV=0 in Device/Head Register will reload the System Standby Timer. Reload Enable--Keyboard Ports Access R/W When set, any I/O access to the keyboard ports (60h or 64h) will reload the System Standby Timer. Reload Enable--Serial Port 1 Access R/W When set, any I/O access to the Serial Ports (3F8-3FFh or 3E83EFh) will reload the System Standby Timer. Reload Enable--Serial Port 2 Access R/W When set, any I/O access to the Serial Ports (2F8-2FFh, 2E82EFh) will reload the System Standby Timer. Reload Enable--Parallel Port Access R/W When set, any I/O access to the Parallel ports (278-27Fh, 37837Fh or 3BC-3BEh) will reload the System Standby Timer. Reload Enable--DMA or USB Master Request Event R/W When set, either DMA or USB master raising a PCI request event will reload the System Standby Timer. Reload Enable--IRQ 0, 1, 3~15, NMI Events R/W When set, any of the IRQ0,1,3-15 or NMI events as enabled in Reg. 68h~6Bh will reload the System Standby Timer. Reload Enable--Ring In Event R/W When set, an active RING signal will reload the System Standby Timer. Reload Enable--Programmable 10-bit I/O Port Access R/W When set, any access to I/O ports defined in Registers 5Ch ~ 5Dh will reload the System Standby Timer.
30
29
28
27
26
25
24
23
22
Preliminary V2.0 Nov. 2, 1998
114
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
21
R/W
20
R/W
19
R/W
18
R/W
17
R/W
16
R/W
15
R/W
14
R/W
13
R/W
12
R/W
11 10
R/W R/W
Reload Enable--Programmable 16-bit I/O Port Access When set, any I/O access to the address range defined in Registers 5Eh ~ 5Fh will reload the System Standby Timer. Reload Enable--Memory Address A0000h-AFFFFh, B0000BFFFFh Access When set, any memory access which falls within A0000h ~ AFFFFh, B0000h ~ BFFFFh will reload the System Standby Timer. Reload Enable--Memory Address C0000h - C7FFFh Access When set, any memory access which falls within C000h-C7FFFh will reload the System Standby Timer. Reload Enable--VGA I/O Port 3B0-3BFh, 3C0-3CFh, 3D0-3DFh Access When set, any I/O access to ports 3B0-3BFh, 3C0-3CFh, 3D03DFh will reload the System Standby Timer. Reload Enable--Linear Frame Buffer Address When set, any memory access to the Linear Frame Buffer address range defined at register 4Eh~4Fh will reload the System Standby Timer. Reload Enable--Microsoft Sound Port Access When set, any I/O access to the address range defined in Register 4Ch~4Dh, bit 6~7 will reload the System Standby Timer. Reload Enable--Sound Blaster Port Access When set, any I/O access to the address range defined in Register 4Ch~4Dh, bit 4~5 will reload the System Standby Timer. Reload Enable--MIDI Port Access When set, any I/O access to the address range defined by Register 4Ch~4Dh bit 2~3 will reload the System Standby Timer. Reload Enable--Game Port Access When set, any I/O access to address 200-207h, 388-38Bh will reload the System Standby Timer. Reload Enable--GPCS0# Active Event The GPCS0# and GPCS1# can be programmed as input or output mode. An active event in input mode is defined as an active-level signal being applied on the pin. An active event in output mode is when GPCS#/GPCSW# function is chosen, and an active-low pulse is being generated on the pin. When this bit is set to 1, an active event will reload the System Standby Timer. Reload Enable--GPCS1# Active Event Refer to GPCS0#. Reload Enable--INIT Active Event When set, an active INIT will reload the System Standby Timer.
Preliminary V2.0 Nov. 2, 1998
115
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
9
R/W
8
R/W
7
R/W
6
R/W
5
R/W
4
R/W
3
R/W
2:0
R/W
Reload Enable--EXTSMI# Event When set, an active EXTSMI# will reload the System Standby Timer. Reload Enable--PCI/AGP/IDE Master Request Events When set, any PCI/AGP/IDE master requests from North Bridge will reload the System Standby Timer. The PCI/AGP/IDE Master request information is carried on the BM_REQ# signal from North Bridge. Reload Enable--AGP cycle When set, any AGP activity events from North Bridge will reload the System Standby Timer. Reload Enable--Floppy Ports Access When set, any I/O access to the ports 3F0-3F7h, 370-377h, or an active DRQ2 will reload the System Standby Timer. Reload Enable--Primary IDE Channel Device 1 Access When set, any I/O access to the primary IDE ports 1F0-1F7h, 3F6h, IDE bus master ports with DEV=1 in Device/Head Register will reload the System Standby Timer. Reload Enable--Secondary IDE Channel Device 1 Access When set, any I/O access to the secondary IDE related ports 170-177h, 376h, or IDE bus master ports with DEV=1 in Device/Head Register will reload the System Standby Timer. Reload Enable--GPIO Active Event When set, any active GPIO signal enabled by ACPI Reg. 2Eh and 2Fh will reload the System Standby Timer. Reserved. These bits must be programmed to 0.
Register 4C ~ 4Dh Sound Port Trap and Address Mask for the Programmable 16-bit IO Default Value : 0000h Access : BIT 15:8 Read/Write ACCESS DESCRIPTION Mask Bits for the Programmable 16-bit I/O Port. R/W These eight bits are mask bits for A[7:0] of the Programmable 16-bit I/O port address defined in Reg. 5Eh~5Fh. A `1' will cause the associated address bits to be masked (ignored) when doing address comparison. Microsoft Sound Port Trap Selection R/W 00 : F40h-F47h 01 : E80h-E87h 10 : 604h-60Bh 11 : 530h-537h
7:6
Preliminary V2.0 Nov. 2, 1998
116
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
5:4
R/W
3:2
R/W
1 0
R/W R/W
Sound Blaster Port Trap Selection 00 : 280h-28Fh, 290h-293h 01 : 260h-26Fh, 270h-273h 10 : 240h-24Fh, 250h-253h 11 : 220h-22Fh, 230h-233h MIDI Port Trap Selection 00 : 330h-333h 01 : 320h-323h 10 : 310h-313h 11 : 300h-303h Reserved. These bits must be programmed to 0. APC Register 08h cleared control 0 : Enable 1 : Disable If this bit is not set to 1 in 4.68 seconds after CPURST deassertion, the APC Reg.08h will be cleared to default value. Linear Frame Buffer Trap Address
Register 4Eh ~ 4Fh Default Value : 0000h Access : BIT 15:14 13:12
Read/Write ACCESS DESCRIPTION Reserved. R/W These bits must be programmed to 0. Linear Frame Buffer Mask R/W The two bits are used for the masking of A21 and A20 respectively of the Linear Frame Buffer. When set to 1 will enable the mask. Linear Frame Buffer Base Address R/W Correspond to A[31:20] of the Base Address for the Linear Frame Buffer. Wake-up Event 0 Control register Wake-up Event 1 Control register
11:0
Register 50h ~ 53h Register 54h ~ 57h
Default Value : 00000000h Access : Read/Write
Active events enabled by these two register sets will cause the corresponding status bits (Bit28 or 29) at Reg. 64h~67h to be set. Furthermore, active events enabled in Reg. 50h~53h will cause the system to exit C2, C3, S1 or S2 states.
Preliminary V2.0 Nov. 2, 1998
117
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 31
30
29
28
27
26
25
24
23
22
21
20
ACCESS DESCRIPTION Wake-up Enable--Primary IDE Channel Device 0 Access R/W When set, any I/O access to the primary IDE channel device 0 associated ports will cause the wake-up status bit to be set. Wake-up Enable--Secondary IDE Channel Device 0 Access R/W When set, any I/O access to the secondary IDE channel device 0 associated ports will cause the wake-up status bit to be set. Wake-up Enable--Keyboard port Access R/W When set, any I/O access to the keyboard ports (60h, 64h) will cause the wake-up status bit to be set. Wake-up Enable--Serial Port 1 Access R/W When set, any I/O access to the Serial ports (3F8-3FFh, 3E83EFh) will cause the wake-up status bit to be set. Wake-up Enable--Serial Port 2 Access R/W When set, any I/O access to the Serial ports (2F8-2FFh, 2E82EFh) will cause the wake-up status bit to be set. Wake-up Enable--Parallel Port Access R/W When set, any I/O access to the Parallel ports (278-27Fh, 37837Fh or 3BC-3BEh) will cause the wake-up status bit to be set. Wake-up Enable--DMA or USB Master Request Event R/W When set, a DMA or USB master request for PCI bus event will cause the wake-up status bit to be set. Wake-up Enable--IRQ 0, 1, 3~15, NMI Active Event R/W When set, any events from IRQ0, 1, 3-15 or NMI, with their enable-bits in Register 68h~6Dh being enabled, will cause the wake-up status bit to be set. Wake-up Enable--Ring In Active Event R/W When set, an active event at the RING input will cause the wakeup status bit to be set. Wake-up Enable--Programmable 10 bit I/O Port Access Event R/W When set, any I/O access to the address defined in Reg. 5Ch ~ 5Dh will cause the wake-up status bit to be set. Wake-up Enable--Programmable 16 bit I/O Port Access Event R/W When set, any I/O access to the address defined in Reg. 5Eh ~ 5Fh will cause the wake-up status bit to be set. Wake-up Enable--Memory Address A0000h~AFFFFh, B0000 R/W ~BFFFFh Access When set, any memory access which falls within A0000h ~AFFFFh, B0000h~BFFFFh will cause the wake-up status bit to be set.
Preliminary V2.0 Nov. 2, 1998
118
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
19
R/W
18
R/W
17
R/W
16
R/W
15
R/W
14
R/W
13
R/W
12
R/W
11
R/W
10
R/W
9
R/W
8
R/W
7
R/W
Wake-up Enable--Memory Address C0000h~C7FFFh Access When set, any memory access which falls within C0000h ~C7FFFFh will cause the wake-up status bit to be set. Wake-up Enable--VGA I/O Port 3B0-3BFh, 3C0-3CFh, 3D03DFh Access When set, any I/O access to VGA I/O Ports 3B0-3BFh, 3C03CFh, 3D0-3DFh will cause the wake-up status bit to be set. Wake-up Enable--Linear Frame Buffer Address Access When set, any memory access to Linear Frame Buffer address will cause the wake-up status bit to be set. Wake-up Enable--Microsoft Sound Port Access When set, any I/O access to the address defined in Register 4Ch ~ 4Dh, bit 7~6 will cause the wake-up status bit to be set. Wake-up Enable--Sound Blaster Port Access When set, any I/O access to the address defined in Register 4Ch ~ 4Dh, bit 5~4 will cause the wake-up status bit to be set. Wake-up Enable--MIDI Port Access When set, any I/O access to the address defined in Register 4Ch ~ 4Dh, bit 3~2 will cause the wake-up status bit to be set. Wake-up Enable--Game Port Access When set, any I/O access to 200-207h, 388-38Bh will cause the wake-up status bit to be set. Wake-up Enable--GPCS0# Event When set, an active input to GPCS0# or GPCS0# in GPCS# /GPCSW# mode being output-low will cause the wake-up status bit to be set. Wake-up Enable--GPCS1# Event When set, an active input to GPCS1# or GPCS1# in GPCS# /GPCSW# mode being output-low will cause the wake-up status bit to be set. Wake-up Enable--INIT Event When set, an active INIT will cause the wake-up status bit to be set. Wake-up Enable--EXTSMI# Event When set, an active EXTSMI# will cause the wake-up status bit to be set. Wake-up Enable--PCI or AGP Master Active Event When set, any PCI/AGP/IDE master requests from North Bridge will cause the wake-up status bit to be set. Wake-up Enable--AGP cycle When set, any AGP activity events from North Bridge will cause the wake-up status bit to be set.
Preliminary V2.0 Nov. 2, 1998
119
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
6
R/W
5
R/W
4
R/W
3:0
R/W
Wake-up Enable--Floppy port Access When set, any I/O access to the ports 3F0-3F7h, 370-377h, or an active DRQ2 will cause the wake-up status bit to be set. Wake-up Enable--Primary IDE Channel Device 1 When set, any I/O access to the primary IDE channel device 1 associated ports will cause the wake-up status bit to be set. Wake-up Enable--Secondary IDE Channel Device 1 When set, any I/O access to the secondary IDE channel device 1 associated ports will cause the wake-up status bit to be set. Reserved. These bits must be programmed to 0. Reserved
Register 58h ~ 5Bh
Default Value : 00000000h Access : BIT 31:0 Read/Write ACCESS DESCRIPTION Reserved. R/W These bits must be programmed to 0. Programmable 10-bit I/O Port Trap Address
Register 5Ch ~ 5Dh Default Value : 0000h Access : BIT 15:10
Read/Write ACCESS DESCRIPTION Programmable 10-bit I/O Port Trap Address Mask Bits R/W These bits correspond to the mask bits for A[5:0] of the 10-bit I/O Port Trap Address. A 1 in the bit position indicates the corresponding address bit should be masked (ignored) when doing address comparison. Programmable 10-bit I/O Port Trap Address Base R/W These bits correspond to A[9:0] of the base address. Note that a matched address must have its A[15:10] set to all 0s. Programmable 16-bit I/O Port Trap Address
9:0
Register 5Eh ~ 5Fh Default Value : 0000h Access : BIT 15:0
Read/Write ACCESS DESCRIPTION Correspond to A[15:0] for the Programmable 16-bit I/O port R/W Note that there are five address mask bits defined in Reg. 4Ch~4Dh, bit [12:8] can be used to mask A[4:0] defined in this register.
Preliminary V2.0 Nov. 2, 1998
120
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 60h ~ 63h SMI# Enable Default Value : 00000000h Access : Read/Write
A SMI# will be generated when the following SMI# control bit is enabled, the corresponding status bit at Reg. 64h~67h is set by associated event and Bit_5 of APC Reg. 31h (SMI# Enable) is set. BIT 31 ACCESS R/W DESCRIPTION SMI# Enable--System Standby Timer 0 Expires When set, the System Standby Timer 0 expire event will generate the SMI#. SMI# Enable--System Standby Timer 1 Expires When set, the System Standby Timer 1 expire event will generate the SMI#. SMI# Enable--System Standby Timer 2 Expires When set, the System Standby Timer 2 expire event will generate the SMI#. SMI# Enable--Wake-up 0 Event When set, any active events defined in Reg. 50h~53h will generate the SMI#. SMI# Enable--Wake-up 1 Event When set, any active events defined in Reg. 54h~57h will generated the SMI#. Reserved. This bit must be programmed to 0. SMI# Enable--Primary IDE Channel Device 0 Access When set, any I/O access to the port associated with the primary IDE channel device 0 will generate the SMI#. SMI# Enable--Secondary IDE Channel Device 0 Access When set, any I/O access to the ports associated with the secondary IDE channel device 0 will generate the SMI#. SMI# Enable--Keyboard Ports Access When set, any I/O access to the keyboard ports will generate the SMI#. SMI# Enable--Serial port 1 Access When set, any I/O access to the serial port 1 will generate the SMI#. SMI# Enable--Serial port 2 Access When set, any I/O access to the serial port 2 will generate the SMI#.
30
R/W
29
R/W
28
R/W
27
R/W
26 25
R/W R/W
24
R/W
23
R/W
22
R/W
21
R/W
Preliminary V2.0 Nov. 2, 1998
121
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
20
R/W
19 18
R/W R/W
17
R/W
16
R/W
15
R/W
14 13
R/W R/W
12
R/W
11
R/W
10
R/W
9
R/W
8
R/W
7
R/W
6
R/W
SMI# Enable--Parallel ports Access When set, any I/O access to the parallel ports will generate the SMI#. SMI# Enable--RING Active Event When set, an active RING event will generate the SMI#. SMI# Enable--Programmable 10-bit I/O Port Access When set, any I/O access to the port defined in the programmable 10-bit I/O will generate the SMI#. SMI# Enable--Programmable 16-bit I/O Port Access When set, any I/O access to the port defined in the programmable 16-bit I/O will generate the SMI#. SMI# Enable--Memory address A0000-BFFFFh Access When set, any memory access to these addresses will generate the SMI#. SMI# Enable--Memory address C0000-C7FFFh Access When set, any memory access to these addresses will generate the SMI#. SMI# Enable--VGA I/O port 3B0-3DFh Access When set, any I/O access to these ports will generate the SMI#. SMI# Enable--Linear Frame Buffer Address Access When set, any memory access to the linear frame buffer address will generate the SMI#. SMI# Enable--Microsoft Sound Port Access When set, any I/O access to the port defined by Register 4Ch ~ 4Dh bit 7~6 will generate the SMI#. SMI# Enable--Sound Blaster Port Access When set, any I/O access to the port defined by Register 4Ch ~ 4Dh bit 5~4 will generate the SMI#. SMI# Enable--MIDI Port Access When set, any I/O access to the port defined by Register 4Ch ~ 4Dh bit 3~2 will generate the SMI#. SMI# Enable--Game Port Access When set, any I/O access to 200h-207h, 388h-38Bh will generate the SMI#. SMI# Enable--GPCS0# Active When set, an active input to GPCS0# or GPCS0# in GPCS#/GPCSW# mode being output-low will generate the SMI#. SMI# Enable--GPCS1# Active When set, an active input to GPCS1# or GPCS1# in GPCS#/GPCSW# mode being output-low will generate SMI#. SMI# Enable--EXTSMI# Active When set, the active EXTSMI# will generate the SMI#.
Preliminary V2.0 Nov. 2, 1998
122
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
5
R/W
4
R/W
3
R/W
2
R/W
1:0
R/W
SMI# Enable--Floppy port Access When set, any I/O access to the port 3F0-3F7h, 370-377h or an active DREQ2 event will generate the SMI#. SMI# Enable--Primary IDE Channel Device 1 Access When set, any I/O access to the address associated with the primary IDE channel device 1 will generate the SMI#. SMI# Enable--Secondary IDE Channel Device 1 Access When set, any I/O access to the address associated with the secondary IDE channel device 1 will generate the SMI#. SMI# Enable--APM When this bit and Reg. 64h~67h, bit 2 are both set, a SMI# will be generated. Reserved. These bits must be programmed to 0.
Register 64h - 67hSMI#/SCI Request Status Default Value : 00000000h Access : Read/Write
The SMI#/SCI request status bit will be set when the associated event is active. The status bit can be cleared by writing a 1. BIT 31 30 29 28 ACCESS DESCRIPTION System Standby Timer 0 Status R/W This bit is set when the System Standby Timer 0 expires. System Standby Timer 1 Status R/W This bit is set when the System Standby Timer 1 expires. System Standby Timer 2 Status R/W This bit is set when the System Standby Timer 2 expires. Wake-up 0 Status R/W This bit is set when any un-masked wake-up events for Wake up 0 SMI# enable is active Wake-up 1 Status R/W This bit is set when any un-masked wake-up events for Wake up 1 SMI# enable is active Reserved. R/W This bit must be programmed to 0. Primary IDE channel Device 0 Status R/W This bit is set when the primary IDE channel device 0 is accessed. Secondary IDE channel Device 0 Status R/W This bit is set when the secondary IDE channel device 0 is accessed.
27
26 25
24
Preliminary V2.0 Nov. 2, 1998
123
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
23 22 21 20 19 18
R/W R/W R/W R/W R/W R/W
17
R/W
16 15 14 13
R/W R/W R/W R/W
12
R/W
11
R/W
10
R/W
9 8
R/W R/W
Keyboard Ports Status This bit is set when any of the keyboard port is accessed. Serial Port 1 Status This bit is set when any of the serial port 1 is accessed. Serial Port 2 Status This bit is set when any of the serial port 2 is accessed. Parallel Ports Status This bit is set when any of the parallel ports is accessed. RING SMI# request This bit is set when the RING is active. Programmable 10-bit I/O port Status This bit is set when there is an I/O access to the programmable 16-bit I/O port. Programmable 16-bit I/O Port Status This bit is set when there is an I/O access to the programmable 16-bit I/O port. Memory Address A0000-BFFFFh Status This bit is set when memory access to the address range occurs. Memory Address C0000-C7FFFh Status This bit is set when memory access to the address range occurs. VGA I/O Port 3B0-3DFh Status This bit is set when I/O access to these ports occurs. Linear Frame Buffer Address Status This bit is set when memory access to the linear frame buffer address occurs. Microsoft Sound Port Status This bit is set when I/O access to the address range defined by bit 7~6 of Reg. 4Ch~4Dh occurs. Sound Blaster Port Status This bit is set when I/O access to the address range defined by bit 5~4 of Reg. 4Ch~4Dh occurs. MIDI Port Status This bit is set when I/O access to the address range defined by bit 3~2 of Reg. 4Ch~4Dh occurs. Game Port Status This bit is set when I/O access to 200h-207h, 388h-38Bh occurs. GPCS0# Status This bit is set when an active input to GPCS0# (GPCS0# in input mode) or GPCS0# is output-low (GPCS0# in GPCS#/GPCSW# output mode).
Preliminary V2.0 Nov. 2, 1998
124
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
7
R/W
6 5
R/W R/W
4
R/W
3
R/W
2 1:0
R/W R/W
GPCS1# Status This bit is set when an active input to GPCS1# (GPCS1# in input mode) or GPCS1# is output-low (GPCS1# in GPCS#/GPCSW# output mode). EXTSMI# Status This bit is set when the EXTSMI# is active. Floppy Port Status This bit is set when I/O access to the ports 3F0-3F7h, 370-377h or an active DREQ2 occurs. Primary IDE channel Device 1 Status This bit is set when any of the primary IDE channel device 1 associated ports is accessed. Secondary IDE channel Device 1 Status This bit is set when any of the secondary IDE channel device 1 associated ports is accessed. APM Status. This bit is set when a 1 is written to Bit_1 of Reg. 7Ch. Reserved. This bit must be programmed to 0. IRQ and NMI Enable for Wake-up 0/1, and System Standby Timer 0/1 reload event control
Register 68h ~ 69h/6Ah~6Bh Default Value : 0000h Access : BIT 15:3 R/W
2
1:0
ACCESS DESCRIPTION Correspond to the enable bits for IRQ15-3 to reload the R/W System Standby Timer 0, 1 or to generate a wake-up event. 0 : Enable 1 : Disable Corresponds to the enable bits for NMI to reload the System R/W Standby Timer 0, 1 or to generate wakeup event. 0 : Enable 1 : Disable Correspond to the enable bits for IRQ1-0 to reload the R/W System Standby Timer 0, 1 or to generate a wakeup event. 0 : Enable 1 : Disable IRQ and NMI to Reload System Standby Timer 2 Enable
Register 6Ch ~ 6Dh Default Value : 0000h Access :
Read/Write
Preliminary V2.0 Nov. 2, 1998
125
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 15:3
2
1:0
ACCESS DESCRIPTION Correspond to the enable bits for IRQ15-3 to reload the R/W System Standby Timer 2 0 : Enable 1 : Disable Corresponds to the enable bit for NMI to reload the System R/W Standby Timer 2 0 : Enable 1 : Disable Correspond to the enable bits for IRQ1-0 to reload the R/W System Standby Timer 2 0 : Enable 1 : Disable
Register 6E ~ 6Fh Reserved Default Value : 0000h Access : BIT 15:0 Read/Write ACCESS DESCRIPTION Reserved. R/W These bits must be programmed to 0.
Register 70 ~ 71h GPCS0# Base Address Register Default Value : 0000h Access : BIT 15:0 Read/Write ACCESS DESCRIPTION Base Address A[15:0] for GPCS0# in GPCS# or GPCSW# R/W mode. GPCS0# Base Address Mask Register
Register 72h Default Value : 00h Access : BIT 7:0 Register 73h Default Value : 00h Access :
Read/Write ACCESS DESCRIPTION Mask bits for GPCS0# Base Address A[7:0]. R/W GPCS0# Control Register
Read/Write
Preliminary V2.0 Nov. 2, 1998
126
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 7
6
5
4
3 2:1
0
ACCESS DESCRIPTION GPCS0# Mode Control R/W 0 : Input mode 1 : Output mode GPCS0# Input Polarity Control R/W 0 : Active low 1 : Active high GPCS0# Input De-Bounce Filter Control R/W 0 : Disable 1 : Enable When set to 1, the internal de-bounce circuit for GPCS0# input is enabled. GPCS0# Output Status Control for GPO mode R/W 0 : Output low 1 : Output high GPCS0# Status RO This bit reflects the status of GPCS0#. GPO/GPCS#/GPCSW# selection R/W 00: GPO 01: GPCS# 10: GPO 11: GPCSW# When the ISA address fallen in the range defined by Reg. 70h~72h will cause GPCS0# to output low when GPCS# function is selected. When IOWC# is active and the ISA address fallen in the range defined by Reg. 70h~72h will cause GPCS0# to output low when GPCSW# function is selected. If GPCSW# is selected, this pin can be used to control an external 74LS374 TTL to latch the values on SD[7:0]. In this way, the number of general-purpose outputs can be expanded to 8. The GPCS0# have another definition, refer to PMU Reg. 77h bit 0. GPCS0# and GPCS1# Test Mode R/W This bit should be programmed to 0 for normal operation.
Register 74 ~ 75h GPCS1# Base Address Register Default Value : 0000h Access : Read/Write
Preliminary V2.0 Nov. 2, 1998
127
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 15:0
ACCESS DESCRIPTION Base Address A[15:0] for GPCS1# in GPCS# or GPCSW# R/W mode. GPCS1# Base Address Mask Register
Register 76h Default Value : 00h Access : BIT 7:0 Register 77h Default Value : 00h Access : BIT 7
Read/Write ACCESS DESCRIPTION Mask bits for GPCS1# Base Address A[7:0]. R/W GPCS1# Control Register
Read/Write ACCESS DESCRIPTION GPCS1# Mode Control R/W 0 : Input mode 1 : Output mode Since the KLOCK# and GPCS1# function share the same pin, when the Key-Lock function is selected, this bit must be set to 0. GPCS1# Input Polarity Control R/W 0 : Active low 1 : Active high GPCS1# Input De-Bounce Filter Control R/W 0 : Disable 1 : Enable When set to 1, the internal de-bounce circuit for the GPCS1# input is enabled. GPCS1# Output Status Control for GPO mode R/W 0 : Output low 1 : Output high GPCS1#Status RO This bit reflects the status of GPCS1#.
6
5
4
3
Preliminary V2.0 Nov. 2, 1998
128
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
2:1
R/W
0
R/W
GPO/GPCS#/GPCSW# selection 00: GPO 01: GPCS# 10: GPO 11: GPCSW# When the ISA address fall in the range defined by Reg. 74h~76h will cause GPCS1# to output low when GPCS# function is selected. When IOWC# is active and the ISA address fall in the range defined by Reg. 74h~76h will cause GPCS1# to output low when GPCSW# function is selected. If GPCSW# is selected, this pin can be used to control an external 74LS374 TTL to latch the values on SD[7:0]. In this way, the number of general-purpose outputs can be expanded to 8. GPCS0# quick control When this bit is enabled and GPCS0# is programmed as output mode, the GPCS0# is driven from ORGated ( SA1, SA12, SA13, SA14, SA15). 0 : Disable 1 : Enable
Register 78h Default Value : 00h Access : BIT 7:4 3:0
GPCS0#/GPCS1# De-bounce Counter Control Register
Read/Write ACCESS DESCRIPTION GPCS0# address A[11:8] mask control R/W GPCS0# and GPCS1# De-bounce duration timer R/W Bit[3:0] specify the duration of de-bounce in multiples of 4.58ms. System Standby Timer 0/1/2 Reading Register
Register 79h/7Ah/7Bh Default Value : 00h Access : BIT 7:0 Read/Write ACCESS R/W
DESCRIPTION The maximum counting value for these timers is FFh. When the System Standby Timer expires, a SMI# or SCI will be generated. The following three conditions will cause the System Standby Timer to stop counting and return initial count value when read. 1.Both the associated SMI# and SCI enable bits are disabled. 2.An enabled reload event is active. 3.The corresponding System Standby Timer status bit at Reg. 64h~67h is set. 129 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
Register 7Ch Default Value : 00h Access : BIT 7:6 Read/Write ACCESS DESCRIPTION System Standby Timer 0 Granularity Selection R/W 11 : 17.8 us 10 : 4.58 ms 01 : 1.17 s 00 : 5 min. System Standby Timer 1 Granularity Selection R/W 11 : 17.8 us 10 : 4.58 ms 01 : 1.17 s 00 : 5 min. System Standby Timer 2 Granularity Selection R/W 11 : 17.8 us 10 : 4.58 ms 01 : 1.17 s 00 : 5 min. APM_SMI# Function Control R/W Writing a 1 to this bit will cause the APM status bit in Reg. 64h~67h to be set. Reserved. R/W This bit must be programmed to 0. Auto Power-Off Timer and PMU Test Mode System Standby Timer Granularity Control register
5:4
3:2
1
0
Register 7Dh Default Value : 00h Access :
Read/Write
Preliminary V2.0 Nov. 2, 1998
130
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 7:4
3:2
1
0
ACCESS DESCRIPTION Auto Power-Off Timer R/W The resolution of this timer is 4 minute. The Auto Power-off Timer, located in APC, is accessible through this register. The Auto Power-off Timer can be used to turn off the power for SDRAM. Should the APC Register bits [6:5] set to '10' and the APO time is programmed, the following sequence of events will occur when the system enters S3 state. 1. Assert STPCLK# 2. Assert CKE_N 3. Assert CKE_S 4. Turn off main power by de-asserting PS_ON#. If there is no power-up event occurred before the APO timer expires, the SDRAM power will be off by GPIO5 when the APO timer expires. Legacy PMU Test Mode R/W 00: Normal operation 01: Counter test mode 10: Fast test mode 11: Clear Counter and SPKR is used to monitor internal signal EXTSMI# Polarity Selection R/W 0 : active low 1 : active high PMU Test Mode R/W 0 : Normal Mode 1 : Test Mode
Register 7E ~ 7Fh IDE Bus Master Port Trap Default Value : 0000h Access : Read/Write This register is used to define whether an access to IDE Bus Master ports should be recognized as an active event at the PMU and thereby reload the System Standby Timer or generate the SMI#/SCI. BIT 15:4 ACCESS DESCRIPTION Define A[15:4] for IDE Bus Master Base Address trap R/W These registers should be programmed with the same value as the base address for IDE bus master at the North bridge.
Preliminary V2.0 Nov. 2, 1998
131
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3
R/W
2
R/W
1:0
R/W
Primary IDE Bus Master Port Trap Control 0 : Disable 1 : Enable When enabled, any I/O access to the primary IDE Bus Master ports will be recognized as an active event on IDE primary channel. Secondary IDE Bus Master Port Trap Control 0 : Disable 1 : Enable When enabled, any I/O access to the secondary IDE Bus Master ports will be recognized as an active event on IDE secondary channel. Reserved. These bits must be programmed to 0.
Register 80h~ 83h SCI Enable Default Value : 0000h Access : Read/Write
A SCI will be generated when the following SCI control bit is enabled together with the corresponding status bit in Reg. 64h~67h is set by the associated event. BIT 31 ACCESS DESCRIPTION SCI Enable-System Standby Timer 0 Expire Event R/W When set, the System Standby Timer 0 expire event generate the SCI. SCI Enable-System Standby Timer 1 Expire Event R/W When set, the System Standby Timer 1 expire event generate the SCI. SCI Enable-System Standby Timer 2 Expire Event R/W When set, the System Standby Timer 2 expire event generate the SCI. SCI Enable-Wake up 0 Event R/W When set, an active event defined in register 50h ~ 53h generate the SCI. SCI Enable-Wake up 1 Event R/W When set, an active event defined at register 54h ~ 57h generate the SCI. SCI Enable-Reserved. This bit must be programmed to 0. R/W SCI Enable-Primary IDE Channel Device 0 Access R/W When set, any I/O access to the address associated with primary IDE channel device 0 will generate the SCI.
will
30
will
29
will
28
will
27
will
26 25
the
Preliminary V2.0 Nov. 2, 1998
132
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
24
R/W
23
R/W
22
R/W
21
R/W
20
R/W
19 18
R/W R/W
17
R/W
16
R/W
15
R/W
14 13
R/W R/W
12
R/W
11
R/W
10
R/W
SCI Enable-Secondary IDE Channel Device 0 Access When set, any I/O access to the address associated with the secondary IDE channel device 0 will generate the SCI. SCI Enable-Keyboard Ports Access When set, any I/O access to the keyboard ports will generate the SCI. SCI Enable-Serial port 1 Access When set, any I/O access to the serial port 1 will generate the SCI. SCI Enable-Serial port 2 Access When set, any I/O access to the serial port 2 will generate the SCI. SCI Enable-Parallel Ports Access When set, any I/O access to the parallel ports will generate the SCI. SCI Enable-RING Active Event When set, an active RING event will generate the SCI. SCI Enable-Programmable 10-bit I/O Ports Access When set, any I/O access to the ports defined in the programmable 10-bit I/O will generate the SCI. SCI Enable-Programmable 16-bit I/O Ports Access When set, any I/O access to the port defined in the programmable 16-bit I/O will generate the SCI. SCI Enable-Memory address A0000h-BFFFFh Access When set, any memory access to these address will generate the SCI. SCI Enable-Memory address C0000h-C7FFFh Access When set, any memory access to these address will generate the SCI. SCI Enable-VGA I/O port Access When set, any I/O access to this port will generate the SCI. SCI Enable-Linear Frame Buffer Address Access When set, any memory access to the linear frame buffer will generate the SCI. SCI Enable-Microsoft Sound Port Access When set, any I/O access to the ports defined in bit 7~6 of Register 4Ch ~ 4Dh will generate the SCI. SCI Enable-Sound Blaster Port Access When set, any I/O access to the ports defined in bit 5~4 of Register 4Ch ~ 4Dh will generate the SCI. SCI Enable-MIDI Port Access When set, any I/O access to the ports defined in bit 3~2 of Register 4Ch ~ 4Dh will generate the SCI. 133 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
9
R/W
8
R/W
7
R/W
6 5
R/W R/W
4
R/W
3
R/W
2:0 7.3
R/W
SCI Enable-Game Port Access When set, any I/O access to 200-207h, 388-38Bh will generate the SCI. SCI Enable-GPCS0# Active Event When set, an active input to GPCS0# or GPCS0# in GPCS# /GPCSW# mode being output-low will generate the SCI. SCI Enable-GPCS1# Active Event When set, an active input to GPCS1# or GPCS1# in GPCS# /GPCSW# mode being output-low will generate the SCI. SCI Enable-EXTSMI# Active Event When set, an active EXTSMI# will generate the SCI. SCI Enable-Floppy Ports Access When set, any I/O access to the port 3F0-3F7h, 370-377h, or active DREQ2 will generate the SCI. SCI Enable-Primary IDE Channel Device 1 Access When set, any I/O access to the address associated with the primary IDE channel device 1 will generate the SCI. SCI Enable-Secondary IDE Channel Device 1 Access When set, any I/O access to the address associated with the secondary IDE channel device 1 will generate the SCI. Reserved. This bit must be programmed to 0.
ACPI CONFIGURATION REGISTERS
The following registers located at I/O base address + the indicated offset value . The base address is programmed in the Register 90h~91h of PCI-to-ISA Configuration space. Register 00h Power Management Status Register(PM1_STS)
Default Value: 0000h Access: Read/Write BIT 15 ACCESS DESCRIPTION Wake up Status (WAK_STS) R/W This bit is set when the system is in the sleeping state and an enabled wake-up event occurs or set by a specific programming sequenc to APCI register 38h and 39h. Upon setting this bit, the state machine will transition the system into the on state. This bit can only be set by hardware and only can be cleared by software writing a "1" to this bit position. Reserved. RO Ignored. (Power Button Over-ride Status) R/W
14:12 11
Preliminary V2.0 Nov. 2, 1998
134
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
10
R/W
9 8
RO R/W
7:6 5
RO R/W
4
R/W
3:1 0
RO R/W
RTC Status (RTC_STS) This bit is set when the RTC generates an alarm or set by a specific programming sequenc to APCI register 38h and 39h. While both RTC_EN bit and RTC_STS bit are set, a power management event is raised(SCI, SMI# or WAKE event). This bit is only set by hardware and only reset by software writing a "1" to this bit position. Reserved. Power Button Status (PWRBTN_STS) This bit is set when the power button is pressed (the PWRBT# signal is asserted Low) or set by a specific programming sequenc to APCI register 38h and 39h. In the working state, while both PWRBTN_STS bit and PWRBTN_EN bit are set,then a SCI or SMI# is raised. In the sleeping state, while PWRBTN_STS bit is set then a WAKE event is generated. This bit is only set by hardware and can only be reset by software writing a "1" to this bit position. Reserved. Global Status (GBL_STS) This bit is set by a BIOS-initiated SCI. BIOS can initiate a SCI by programming Register 13h bit 1 to 1. Bus Master Status(BM_STS) This is the bus master status bit. This bit is set when a system bus master is requesting the system bus, and can only be cleared by writing a "1" to this bit position. Reserved Power Management Timer Status (TMR_STS) Power management timer status or DOZE timer status. The free running timer will be DOZE timer when the Offset Register 2A bit 9 is set to 1 and SCI_EN bit is set to 0. It will be the power management timer otherwise. If the most significant bit of the 24bit timer is changed from '1' to '0' or '0' to '1', then the TMR_STS bit will be set. While TMR_STS bit and TMR_EN bit are set, a power management event (SCI or SMI#) is raised. It can only be cleared by writing a '1' to this bit position.
Register 02h
Power Management Resume Enable Register(PM1_EN)
Default Value: 0000h Access: Read/Write BIT 15:11 ACCESS Reserved RO DESCRIPTION
Preliminary V2.0 Nov. 2, 1998
135
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
10
R/W
9 8
RO R/W
7:6 5
RO R/W
4:1 0
RO R/W
RTC Enable (RTC_EN) This bit is used to enable the assertion of the RTC_STS bit to generate a power management event. (SCI, SMI# or WAKE) Reserved Power Button Enable (PWRBTN_EN) This bit is used to enable the assertion of the PWRBTN_STS bit to generate a power management event (SCI, SMI#). For WAKE event, this bit is ignored, i.e., the system can be waked up from S1 or S2 by Power Button regardless of the value of this bit. Reserved Global Enable (GBL_EN) This bit is used to enable the assertion of the GBL_STS bit to generate a power management event ( SCI) Reserved Power Management Timer Enable (TMR_EN) This is the 24-bit free running timer enable bit. If this bit and TMR_STS bit are set,then a power management event is raised. (SMI# or SCI)
Register 04h
Power Management Control Register(PM1_CTL)
Default Value: 0000h Access: Read/Write BIT 15:14 13 ACCESS DESCRIPTION Reserved RO Sleeping Enable (SLP_EN) WO This is a write-only bit and always returns a zero when read. Setting this bit to 1 will cause the system to enter the suspend state defined by the SLP_TYP field. Sleeping Type (SLP_TYP) R/W Define the power-saving mode that the system should enter when the SLP_EN bit is set to one. 000 : S0 state (Working) 001 : S1 state ( STPCLK#) 010 : S2 state ( Disable CPU Clock) 011 : S3 state ( Suspend To RAM) 100 : S4 state ( Suspend To Disk) 101 : S5 state (Soft_Off) Ignored RO Reserved RO
12:10
9 8:3
Preliminary V2.0 Nov. 2, 1998
136
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
2
WO
1
R/W
0
R/W
Global Release (GBL_RLS) This bit is used by the ACPI software to raise a SMI# to the BIOS software. Also refer to Reg. 30 Bit 0 and Reg. 31 bit 0, which are used as the enable and status bits for the BIOS software to respond to ACPI events. Bus Master Reload Enable (BM_RLD) If enabled, a bus master request will cause any processor in the C3 state to transition to the C0 state. 0 : Disable 1 : Enable SCI Enable (SCI_EN) Selects the power management event to be either SCI or SMI#. When this bit is set, a power management event will generate SCI. When this bit is reset, a power management event will generate SMI#.
Register 06h
Reserved
Default Value: Reserved Access: RO BIT 15:0 Register 08h ACCESS Reserved RO DESCRIPTION
ACPI Power Management Timer Register(PM_TMR)
Default Value: none Access: Read Only BIT 31:24 23:0 ACCESS DESCRIPTION Reserved RO Power Management Timer Value RO This read-only field reflects the current counting of the power management timer. The timer-expire interval is translated by the follow equation : Timer-Expire Interval = (Timer Counter-1) x 0.28us CPU Control(P_CTL)
Register 0Ch
Default Value: 0000 0000h Access: Read/Write BIT 31:5 4 ACCESS DESCRIPTION Ignored RO Throttling Function Enable R/W This bit enables clock throttling function. 137 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
3:1
R/W
0 Register 10h
RO
Throttling Duty Cycle Control This 3-bit field determines the duty cycle of the STPCLK# signal when the system in the throttling mode. Bits Performance Rate 000 100% 001 12.5% 010 25% 011 37.5% 100 50% 101 62.5% 110 75% 111 87.5% Reserved
CPU Power State Level 2(P_LVL2)
Default Value: 00h Access: Read Only BIT 7:0 ACCESS DESCRIPTION Enter C2 Power State Register RO Reads to this register return all zeros; writes to this register have no effect. Reads to this register will also generate a " Enter C2 power state " event. CPU Power State Level 3(P_LVL3)
Register 11h Default Value: 00h Access: Read Only BIT 7:0
ACCESS DESCRIPTION Enter C3 Power State Register RO Reads to this register return all zeros, writes to this register have no effect. Reads to this register also generate a " Enter C3 power state " event. PM2 Control(PM2_CTL)
Register 12h Default Value: 00h Access: Read/Write BIT 7:1
ACCESS Reserved RO
DESCRIPTION
Preliminary V2.0 Nov. 2, 1998
138
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
0
R/W
Arbiter Disable In order to maintain the Cache coherency when CPU is in the C3 state, other masters should not get the grant. This bit is used to enable and disable the system arbiter. When this bit is '0', the system arbiter is enabled and can grant the bus to other bus masters. When this bit is '1' the system arbiter is disabled, and the default CPU owns system bus at all times.
Register 13h Default Value: 20h Access: Read/Write BIT 7
Fixed Features Control(FIX_CTL)
6 5
4
3
2
1
ACCESS DESCRIPTION C3 State SLP#(GPIO3) Enable R/W In Pentium II platform, the SLP# can be asserted upon the system enters the CPU C3 state if this bit is enabled. 1:Enable 0:Disable Reserved(should be programmed with 0) R/W Power Button Over-ride Enable R/W 1:Enable 0:Disable Power Button Status Generation Selection R/W 0: PWRBTN_STS will be set until the Power Button is released. 1: PWRBTN_STS will be set immediately when the Power Button is pressed. Disable CPU Clock State--ISA BUS Floating Enable R/W This bit is set to enable the floating of ISA bus during the S2 sleeping state such that ISA power may be turn off. 0: Disable 1: Enable Disable CPU Clock State--Clock Generator Stop Enable R/W This bit is set to stop clock generator in S2 sleeping state. When this function is enabled, GPIO3 should be programmed to output mode (20h bit 3=0) as well as activate CPU_STOP#(28h bit 3=1) at the same time. 0:Disable 1:Enable BIOS Relationship (BIOS_RLS) WO BIOS can set GBL_STS (Register 00 bit 5)=1 by setting this bit. If SCI_EN and GBL_EN are both set to 1, a SCI will be generated. This bit is write only.
Preliminary V2.0 Nov. 2, 1998
139
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
0
R/W
IRQ0 Enable When the system is in C2 or C3 state with the STPCLK# asserted, an IRQ0 Event can be enabled to de-assert STPCLK # for 125 ms; during which period. The PMU handler can be invoked to update system timer. 0:Disable 1:Enable
Register 14h GPE Status(GPE_STS) Default Value: 00h Access: Read/Write BIT 31 30 29 28 27 26 25 24 23 22:18 17 16 15 14 13 ACCESS R/W R/W R/W R/W R/W R/W R/W R/W R/W RO R/W R/W R/W R/W R/W DESCRIPTION GPIO15 Status(GPIO15_STS) Refer to the Note. GPIO14 Status(GPIO14_STS) Refer to the Note. GPIO13 Status(GPIO13_STS) Refer to the Note. GPIO12 Status(GPIO12_STS) Refer to the Note. GPIO11 Status(GPIO11_STS) Refer to the Note. GPIO3 Status(GPIO3_STS) Refer to the Note. GPIO9 Status(GPIO9_STS) Refer to the Note. GPIO8 Status(GPIO8_STS) Refer to the Note. GPIO2 Status(GPIO2_STS) Refer to the Note. Reserved GPIO1 Status(GPIO1_STS) Refer to the Note. GPIO0 Status(GPIO0_STS) Refer to the Note. GPIO17 Status(GPIO17_STS) Refer to the Note. GPIO16 Status(GPIO16_STS) Refer to the Note. GPIO7 Status(GPIO7_STS) Refer to the Note.
Preliminary V2.0 Nov. 2, 1998
140
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
12
R/W
11
R/W
10
R/W
9
R/W
8
R/W
7
R/W
6
R/W
5 4
R/W R/W
PMU Status(PMU_STS) This bit is set when a event enabled by PMU register 80h ~ 83h is active. SMBus Status(SMB_STS) This bit is set when a SMBus Controller interrupt is active. While both SMB_STS and SMB_EN are set to 1, a power management event is raised (SMI#, SCI or WAKE). This bit can only be cleared by writing a `1' to this bit. General Purpose Timer Status(GPTMR_STS) This bit is set when the General purpose timer times out. While both GPTIMER_STS and GPTIMER_EN are set to 1, a power management event is raised (SMI#, SCI or WAKE). This bit can only be cleared by writing a `1' to this bit. SERIAL IRQ Status(SIRQ_STS) This bit is set to 1 when a serial IRQ SMI# event is generated. While both SIRQ_STS and SIRQ_EN are set to 1, a power management event is raised (SMI#). This bit can only be cleared by writing a `1' to this bit. Note: SIRQ_STS can only assert SMI#. USB Status(USB_STS) This bit is set when an USB SMI#/IRQ is generated. While both USB_STS and USB_EN are set to 1, a power management event is raised (SMI#, SCI or WAKE). This bit can only be cleared by writing a `1' to this bit. Wakeup IRQ Status(IRQWK_STS) This bit is set when a PMU Wakeup 0 event (as defined in PMU Register 50~53h) is generated. When both IRQWK_STS and IRQWK_EN are set, system can wake up from S1 or S2 mode. This bit can only be cleared by writing a `1' to this bit. Note: The IRQWK_STS and IRQWK_EN will not generate SMI# or SCI in working state. Hot Key Status(HOTKEY_STS) This bit is set when a HOTKEY event is generated. While both HOTKEY_STS and HOTKEY_EN are set to 1, a power management event is raised (SMI#, SCI). This bit can only be cleared by writing a `1' to this bit. Note: Hotkey can't wake-up system from any of the Sx state! GPIO4 Status(GPIO4_STS) Refer to the description of GPIOX Status. Data Acquisition Module Status(DAM_STS) This bit is set when a DAM SMI#/IRQ is generated. While both DAM_STS and DAM_EN are set to 1, a power management event is raised (SMI#, SCI or WAKE). This bit can only be cleared by writing a `1' to this bit.
Preliminary V2.0 Nov. 2, 1998
141
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3
R/W
2
R/W
1
R/W
0
R/W
GPIO5 Status(GPIO5_STS) This bit is set when GPIO10 event is generated or set by a specific programming sequence to ACPI register 38h and 39h. GPIO10 Status(GPIO10_STS) This bit is set when GPIO10 event is generated or set by a specific programming sequence to ACPI register 38h and 39h. Ring Status(RI_STS) This bit is set when a MODEM ring event is generated or set by a specific programming sequence to ACPI register 38h and 39h. While both RI_STS and RI_EN are set to 1, a power management event is raised (SMI#, SCI or WAKE). This bit can only be cleared by writing a `1' to this bit. EXTSMI# Status(EXT_STS) This bit is set to 1 when an EXTSMI# event is generated. While both EXT_STS and EXT_EN are set to 1, a power management event is raised (SMI#, SCI or WAKE). This bit can only be cleared by writing a `1' to this bit.
Note: GPIOx Status (GPIOx_STS) The GPIOx_STS is set when any one of GPIOx event is generated and the corresponding GPIOx is programmed to be input mode. While both GPIOx_STS and GPIOx_EN are set to 1, a power management event is raised (SMI#, SCI or WAKE). The GPIOx_STS can only be cleared by writing a `1' to the corresponding bit position. Register 18h GPE Enable(GPE_EN) Default Value: 00h Access: Read/Write BIT 31 ACCESS DESCRIPTION GPIO15 Enable(GPIO15_EN) R/W The Enable bit of GPIO15, when GPIO15_STS and GPIO15_EN are set, a power management event is raised. GPIO14 Enable (GPIO14_EN) R/W The Enable bit of GPIO14, when GPIO14_STS and GPIO14_EN are set, a power management event is raised. GPIO13 Enable (GPIO13_EN) R/W The Enable bit of GPIO13, when GPIO13_STS and GPIO13_EN are set, a power management event is raised. GPIO12 Enable (GPIO12_EN) R/W The Enable bit of GPIO12, when GPIO12_STS and GPIO12_EN are set, a power management event is raised. GPIO11 Enable (GPIO11_EN) R/W The Enable bit of GPIO11, when GPIO11_STS and GPIO11_EN are set, a power management event is raised.
30
29
28
27
Preliminary V2.0 Nov. 2, 1998
142
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
26
R/W
25
R/W
24
R/W
23
R/W
22:18 17
R/W R/W
16
R/W
15
R/W
14
R/W
13
R/W
12
R/W
11
R/W
10
R/W
9 8
R/W R/W
GPIO3 Enable (GPIO3_EN) The Enable bit of GPIO3, when GPIO3_STS and GPIO3_EN are set, a power management event is raised. GPIO9 Enable (GPIO9_EN) The Enable bit of GPIO9, when GPIO9_STS and GPIO9_EN are set, a power management event is raised. GPIO8 Enable (GPIO8_EN) The Enable bit of GPIO8, when GPIO8_STS and GPIO8_EN are set, a power management event is raised. GPIO2 Enable (GPIO2_EN) The Enable bit of GPIO2, when GPIO2_STS and GPIO2_EN are set, a power management event is raised. Reserved GPIO1 Enable (GPIO1_EN) The Enable bit of GPIO1, when GPIO1_STS and GPIO1_EN are set, a power management event is raised. GPIO0 Enable (GPIO0_EN) The Enable bit of GPIO0, when GPIO0_STS and GPIO0_EN are set, a power management event is raised. GPIO17 Enable (GPIO17_EN) The Enable bit of GPIO17, when GPIO17_STS and GPIO17_EN are set, a power management event is raised. GPIO16 Enable (GPIO16_EN) The Enable bit of GPIO16, when GPIO16_STS and GPIO16_EN are set, a power management event is raised. GPIO7 Enable (GPIO7_EN) The Enable bit of GPIO7, when GPIO7_STS and GPIO7_EN are set, a power management event is raised. PMU Enable (PMU_EN) When a acitve power management event enabled by PMU register 80h~83h and this bit is set, a power management event will be raised. SMBus Enable (SMB_EN) When SMB_EN and SMB_STS are set, a power management event is raised. General Purpose Timer Enable (GPTMR_EN) When GPTIMER_STS and GPTIMER_EN are set, a power management event is raised. Serial IRQ SMI# Enable Enable (SIRQ_EN) When SIRQ_STS and SIRQ_EN are set, a SMI# event is raised. USB Enable (USB_EN) When USB_EN and USB_STS are set, a power management event is raised.
Preliminary V2.0 Nov. 2, 1998
143
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
7
R/W
6
R/W
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
Wakeup IRQ Enable (IRQWK_EN) When IRQWK_EN and IRQWK_STS are set to 1 during sleeping state, WAK_STS will be set. Hotkey Enable (HOTKEY_EN) When HOTKEY_STS and HOTKEY_EN are set, a power management event is raised. GPIO4 Enable (GPIO4_EN) The Enable bit of GPIO4, when GPIO4_STS and GPIO4_EN are set, a power management event is raised. Data Acquisition Module Enable (DAM_EN) When DAM_EN and DAM_STS are set, a power management event is raised. GPIO10 Enable (GPIO10_EN) The Enable bit of GPIO10, when GPIO10_STS and GPIO10_EN are set, a power management event is raised. GPIO5 Enable (GPIO5_EN) The Enable bit of GPIO5, when GPIO5_STS and GPIO5_EN are set, a power management event is raised. Ring Enable (RI_EN) When RI_EN and RI_STS are set, a power management event is raised. EXTSMI# Enable (EXT_EN) When EXT_STS and EXT_EN are set, a power management event is raised.
Register 1Ch
GPE Pin Status(GPE_Pin)
Default Value: 000000h Access: Read/Write BIT 23:18 17:16, 11:7, 5:0 ACCESS DESCRIPTION Reserved RO GPIO[17:16,11:7,5:0] Pin I/O Register R/W When the corresponding GPIO[17:16,11:7,5:0] are programmed to input mode, their input value can be read from this register. When GPIO[17:16,11:7,5:0] are programmed to output mode, their output value can be written to this register. GPI[15:12] Pin Register RO The corresponding GPI [15:12] input value can be read from this register. GPO6 Pin Register R/W The GPO[6] output value can be written to this register.
15:12
6
Preliminary V2.0 Nov. 2, 1998
144
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 1Fh Default Value: FFh Access: Read/Write BIT 7:0
General Purpose Timer(GP_TMR)
ACCESS DESCRIPTION General Purpose Timer R/W The General Purpose timer is a down-counting counter with time resolution of 1 sec or 1 min (programmable via Register 2A bit 8). While a value is written to this timer, it begins to count. It raises a power management event when the counter reaches zero. The counter can be used as a suspend timer when Register 2A bit 7 is set to 1 and SCI_EN is 0.
Register 20h-23h GPE I/O Selection(GPE_IO) Default Value: 0003 0B9Fh Access: Read/Write BIT 31:18 17:16 ACCESS DESCRIPTION Reserved RO GPIO[17:16] INPUT/OUTPUT Control R/W 1 : Input Mode 0 : Output Mode Reserved RO (GPI15~GPI12 are input only.) GPIO11 INPUT/OUTPUT Control R/W 1 : Input Mode 0 : Output Mode Reserved R/W (GPIO10 INPUT/OUTPUT Control is in APC Register 04 bit 3) GPIO[9:7] INPUT/OUTPUT Control R/W 1 : Input Mode 0 : Output Mode Reserved RO (GPO6 is output only.) Reserved RO (GPIO5 INPUT/OUTPUT Control is in APC Register 04 bit 4.) GPIO[4:0] INPUT/OUTPUT Control R/W 1 : Input Mode 0 : Output Mode
15:12 11
10 9:7
6 5 4:0
Preliminary V2.0 Nov. 2, 1998
145
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 24h-27h GPE Polarity Selection(GPE_Pol) Default Value: 0000 0000h Access: Read/Write BIT 31:29 28 ACCESS DESCRIPTION Reserved RO EXTSMI# Polarity R/W 0 : Low active 1 : High active Reserved RO GPIO[17:16,11:7, 5:0] Polarity in Input Mode R/W 0 : Low active 1 : High active Note: This bit has no effect in toggle input mode. GPI[15:12] Polarity R/W 0 : Low active 1 : High active Note: This bit has no effect in toggle input mode. GPE Multi-definition Pins Selection (GPE_Mul)
27:18 17:6, 11:7, 5:0 15:12
Register 28h
Default Value: 1001h Access: Read/Write BIT 15:13 12 ACCESS DESCRIPTION Reserved RO GPIO16/IOCHK# Pin Selection when GPIO16 at input mode R/W 0 : GPIO16 1 : IOCHK# Reserved RO GPIO9/THERM#(BTI)/SMBALERT# Pin Selection when GPIO9 R/W at input mode 0 : GPIO9 1 : THERM#(Thermal detect)/BTI(used by DAM)/SMBALERT# GPIO8/OC1# Pin Selection when GPIO8 at Input Mode R/W 0 : GPIO8 1 : OC1#(Used by USB) GPIO7/ Pin Selection when GPIO7 at Output Mode R/W 0 : GPIO7 1 : PPS(Port Power Status, Used by USB)
11:10 9
8
7
Preliminary V2.0 Nov. 2, 1998
146
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
6
R/W
5
R/W
4 3
R/W R/W
2:1
RO
0
R/W
GPIO7/OC0# Pin Selection when GPIO7 at Input Mode 0 : GPIO7 1 : OC0#/PPS(Used by USB) GPIO17/SIRQ Pin Selection 0: GPIO17 1: SIRQ I/O Reserved This bit must be set to `0'. GPIO3/CPU_STOP#/SLP# Pin Selection 0 : GPIO3 1 : CPU_STOP# / SLP# Reserved Note: GPIO1, GPIO2 are multiplexed with PMCLK and KBCLK, the selection bit is located in PCI-to-ISA Configuration Registers 70h bit 3. When that bit is set to 1, the internal KB controller will be enabled and GPIO1, GPIO2 are both disabled. GPIO0/PAR Pin Selection when GPIO0 at Output Mode 0 : GPIO0 1 : PAR
Register 2Ah
GPE Control(GPE_CTL)
Default Value: 0000h Access: Read/Write BIT 15:11 ACCESS DESCRIPTION GPIO[15:11] Input Trigger Mode R/W 0 : Toggle trigger 1 : Edge trigger Toggle means input changes from either 0 to 1 or 1 to 0. Edge polarity can be defined at Register 24h bits [15:11]. Reload DOZE and Stop SUSPEND Timer Enable R/W When this bit is enable, monitored events from PMU as defined in Register 40~43h will reload the DOZE timer and the SUSPEND timer. 0: Disable 1: Enable Power Management Timer Function Selection R/W 0 : ACPI PM timer 1 : DOZE timer General Purpose Timer Resolution R/W 0 : 1 us 1 : 1 min
10
9
8
Preliminary V2.0 Nov. 2, 1998
147
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
7
R/W
6
R/W
5
R/W
4:2
R/W
1
R/W
0
R/W
General Purpose Timer Function Selection 0 : BIOS timer 1 : Suspend timer Thermal Event Throttling CPU STPCLK# Enable 0 : Disable 1 : Enable When set to 1, an active thermal event will always activate the throttling function to assert STPCLK# regardless of the state of the Throttling Enable bit (Register 0Ch bit 4). This function is enabled when GPIO9 is configured as THERM# input (28h.bit9=1). Ring In Detection Method 0 : Ring input is asserted for more than150ms 1 : Ring input is between 14Hz and 70 Hz Thermal Throttling Duty Cycle Control This 3-bit field determines the duty cycle of the STPCLK# signal when Thermal throttling event (THERM#) is asserted. Bits Performance Rate 000 100% 001 12.5% 010 25% 011 37.5% 100 50% 101 62.5% 110 75% 111 87.5% GPIO1 Input Trigger Mode 0 : Toggle trigger 1 : Edge trigger Toggle means input changes from either 0 to 1 or 1 to 0. Edge polarity can be defined at Register 24h bit 1. Reserved. This bit must be set to 0.
Register 2Ch-2Dh GPIO Events SMI# Enable(GPE_SMI) Default Value: 0000h Access: Read/Write
Preliminary V2.0 Nov. 2, 1998
148
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 15:12
11:7
6
5:1
0
ACCESS DESCRIPTION GPI[15:12] Events SMI# Enable R/W 0:Disable 1:Enable When enabled, regardless SCI_EN bit, the GPI[15:12] events become SMI# source. GPIO[11:7] Events SMI# Enable R/W 0:Disable 1:Enable When enabled, regardless SCI_EN bit, the GPIO[11:7] events become SMI# source. GPIO17 Event SMI# Enable R/W 0:Disable 1:Enable When enabled, regardless SCI_EN bit, the GPIO17 event become SMI# source. GPIO[5:1] Events SMI# Enable R/W 0:Disable 1:Enable When enabled, regardless SCI_EN bit, the GPIO[5:1] events become SMI# source. GPIO16 Event SMI# Enable R/W 0:Disable 1:Enable When enabled, regardless SCI_EN bit, the GPIO16 event become SMI# source. Events StopGPTMR and Reload PMU Timers
Register 2Eh-2Fh GPIO Enable(GPE_RL) Default Value: 0000 0000h Access: Read/Write BIT 15:12
ACCESS DESCRIPTION GPI[15:12] Events Stop GPTMR and Reload PMU Timers R/W Enable 0:Disable 1:Enable When enabled, regardless SCI_EN bit, the GPI[15:12] events become stop GPTMR events source and the System Standby Timer of PMU will be reloaded.
Preliminary V2.0 Nov. 2, 1998
149
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
11:7
R/W
6
R/W
5:1
R/W
0
R/W
GPIO[11:7] Events Stop GPTMR and Reload PMU Timers Enable 0:Disable 1:Enable When enable, regardless SCI_EN bit, the GPIO[11:7] events become stop GPTMR events source and the System Standby Timer of PMU will be reloaded. GPIO17 Event Stop GPTMR and Reload PMU Timers Enable 0:Disable 1:Enable When enabled, regardless SCI_EN bit, the GPIO17 event become Stop GPTMR event source and the System Standby Timer of PMU will be reloaded. GPIO[5:1] Events Stop GPTMR and Reload PMU Timers Enable 0:Disable 1:Enable When enabled, regardless SCI_EN bit, the GPIO[5:1] events become Stop GPTMR events source and the System Standby Timer of PMU will be reloaded. GPIO16 Event Stop GPTMR and Reload PMU Timers Enable 0:Disable 1:Enable When enable, regardless SCI_EN bit, the GPIO16 event become Stop GPTMR events source and the System Standby Timer of PMU will be reloaded.
Register 30h Default Value: 00h Access: Read/Write BIT 7
Legacy Status(LEG_STS)
6
5
ACCESS DESCRIPTION Data Acquisition Module SMI# Status(DAMSMI_STS) R/W This bit is set when a Data Acquisition Module SMI# is generated and must be cleared before exiting SMI# handler routine. This bit can be cleared by writing a '1' to it USB SMI# Status(USBSMI_STS) R/W This bit is set when an USB SMI# is generated and must be cleared before exiting USB SMI# handler routine. This bit can be cleared by writing a '1' to it. SMI# Status(SMI_STS) R/W This bit is set when an SMI# is generated and must be cleared before exiting SMI# handler routine. This bit can be cleared by writing a '1'. 150 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
4
R/W
3
R/W
2 1
R/W R/W
0
R/W
SMI# Command Status (SMICMD_STS) This bit is set when an I/O write cycle to SMI# command port is detected. While SMICMDDIS_STS and SMICMD_DIS are set to 1, a SMI# is raised. SMBus SMI# Status (SMBSMI_STS) This bit is set when SMBus Controller Interrupt is active. While SMBSMI_STS and SMBSMI_EN are set to 1, a SMI# is raised. Periodic SMI# Status (PERSMI_STS) When periodic SMI# is enabled, this bit will be set every 16 sec. System wake-up SMI# Status (LEGA_STS) This bit is set when system is Waked-up from S1 or S2. When both LEGA_STS and LEGA_EN are set, a SMI# is raised. It can only be cleared by writing a 1 to this bit position. Software SMI# Status(BIOS_STS) This bit is set when a SMI# is generated due to the ACPI wanting the attention of SMI# handler. When both BIOS_STS and BIOS_EN are set, a SMI# is raised. It can only be cleared by writing a 1 to this bit position. This bit corresponds to the writing GBL_RLS bit of PM1 Control Register.
Register 31h Default Value: 00h Access: Read/Write BIT 7
Legacy Enable(LEG_EN)
6
5
4
ACCESS DESCRIPTION Data Acquisition Module SMI# Enable(DAMSMI_EN) R/W When enable, a DAM SMI# can be generated. 0 : Disable 1 : Enable USB SMI# Enable(USBSMI_EN) R/W When enable, an USB SMI# can be generated. 0 : Disable 1 : Enable SMI# Enable(SMI_EN) R/W The system SMI# can only be generated when this bit is enabled. 0 : Disable 1 : Enable SMI# Command (SMICMD_EN) R/W SMI# command disable bit. While SMICMD_STS and SMICMD_EN are set to 1, a SMI# is raised. 0 : Disable 1 : Enable
Preliminary V2.0 Nov. 2, 1998
151
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3
R/W
2
R/W
1
R/W
0
R/W
SMBus SMI# Enable (SMBSMI_EN) SMBus SMI# enable bit. While SMBSMI_STS and SMBSMI_EN are set to 1, a SMI# is raised. 0 : Disable 1 : Enable Period SMI# Enable (PERSMI_EN) If this bit is set to 1, a SMI# will be generated every 16 sec. 0 : Disable 1 : Enable System wake-up SMI# Enable (LEGA_EN) Legacy S1, S2 wake-up SMI# enable bit. 0 : Disable 1 : Enable Software SMI# Enable(BIOS_EN) BIOS_STS enable bit. 0 : Disable 1 : Enable
Register 32h Default Value: 00h Access: Read Only BIT 7:0
Reserved
ACCESS Reserved RO Read as 0. Test Control(TST_CTL)
DESCRIPTION
Register 33h Default Value: 00h Access: Read/Write BIT 7:1 0
ACCESS DESCRIPTION Reserved RO ACPI Test Mode ( for internal use only) R/W 0 : Normal Mode 1 : Test Mode Reserved
Register 34h Default Value: 00h Access: BIT 7:1
Read/Write ACCESS DESCRIPTION Reserved (Should be programmed with 0). R/W
Preliminary V2.0 Nov. 2, 1998
152
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
0
R/W
SCI Generation Mask Control When this bit is enabled and system is waken up from S1/S2, no SCI# will be raised except the enabled Global or Power Management Timer event. 0 : Disable (recommended) 1: Enable
Register 35h
SMI# Command Port(SMI_CMD)
Default Value: None Access: Read/Write BIT 7:0 Register 36h Default Value: 00h Access: Read/Write BIT 7:0 Register 37h Register 38h Default Value: 00h Access: Read/Write BIT 7:0 Register 39h Default Value: 00h Access: Read/Write BIT 7:0 7.4 ACCESS SMBus IO Data Port R/W DESCRIPTION ACCESS DESCRIPTION SMBus IO Address Port R/W SMBus IO Data Register(SMB_DATA) ACCESS R/W Free bits R/W Reversed SMBus IO Index Register(SMB_INDEX) DESCRIPTION ACCESS DESCRIPTION SMI# Command value. R/W Mail Box(Free_Byte)
SMBUS IO REGISTERS
The SMBus Register can be access by first writing a INDEX ADDRESS to ACPI I/O base 38h, then read/write DATA via ACPI I/O base 39h. All SMBus registers can only be accessed by byte.
Preliminary V2.0 Nov. 2, 1998
153
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 00h~01h SMBus Status(SMB_STS) Default Value: 0000h Access: Read/Write BIT 15:11 10 ACCESS DESCRIPTION Reserved. RO SMBus Alert (SMB_ALRT) R/W This bit is set when the SMBALERT# is active. It can be cleared by writing a `1' to this bit. HIT Host Alias Address (HIT_HAA) R/W This bit is set when the Host received a modified Write Word from a device master with the address field equivalent to the content in Host Alias Address register. This bit can be reset by writing a `1' to this bit position. If this bit is set to 1, no more modified Write Word can be received by the Host until this bit is clear to 0. HIT Host Reserved Address (HIT_HRA) R/W This bit is set when the Host received a modified Write Word from a device master and the address field is 08h and can only be reset by writing a `1' to this bit position. If this bit is set to 1, no more modified Write Word transaction can be received by the Host until this bit is clear to 0. Sub-Block Request(SBK_REQ) R/W This bit is set when the SMBus Host has finished 8 bytes data transfer for Block Protocol and there are some data have not transferred yet. If the byte count of the Block protocol is 32, then total 4 Interrupt request will occur during the entire block transfer. For the first three Interrupt, this bit will be set and the service routine should process or prepare the data as soon as possible, or the total trasnfer time may violate SMBus SPEC 1.0 (Timeout < 10ms). Once this bit is cleared, the following transation will be started right away. For the last interrupt, the Host Master bit will be set instead. This bit is set by hardware, and can only be reset by writing a `1' to this bit position. Host Master (HO_MAS) R/W This bit is set when the SMBus Host Master tranfer is complete, and can only be reset by writing a `1' to this bit position. SMBus Collision (BUS_COL) R/W This bit is set when a SMBus collision condition occur during the Host Master transfer cycle and the Host lose in the bus arbitration, and can only be reset by writing a `1' to this bit position. The software should clear this bit and re-start SMBus operation. 154 Silicon Integrated Systems Corporation
9
8
7
6
5
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
4
R/W
3 2
RO RO
1
RO
0
RO
Device Error(DEV_ERR) This bit is set when a Device Error condition occur, and can only be reset by writing a `1' to this bit position. The Device Errors may cause by: * No Acknowledge received by Host from Device * Timeout when Host transmit message * Timeout when Host receive message Reserved. SMBus Status (SMBUS_STS) Indicate the SMBus is at idle or active state. 1: Active 0: Idle Host Master Status(HM_STS) Indicate that the Host Master is at idle or active state. When Host Master is at IDLE state, the Host Master is available for software to control. 1: Active 0: Idle SMBus Interrupt Status(SMB_INTR). A `1' incicates a SMBus interrupt is generated by any of above Interrupt source.
Register 02h~03h SMBus Host Control(SMB_CTL) A SMBus Interrupt can be generated if Register 02h, bit 0 is enabled and the Interrupt Status bit with associated enable bits are set to 1. Default Value: 0000h Access: Read/Write BIT 15:13 12 ACCESS DESCRIPTION Reserved. RO SMBus Host Slave Timeout Enable(SMBHSTO_EN) R/W When this bit is enabled and the time for Host as a slave to receive message is over specification, a SMBus Interrupt will be generated. 0:Disable 1:Enable SMBus Host Master Timeout Enable(SMBHMTO_EN) R/W When this bit is enabled and the time for Host as a Master to transfer mesage is over specification, a SMBus Interrupt will be generated. 0:Disable 1:Enable
11
Preliminary V2.0 Nov. 2, 1998
155
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
10
R/W
9
R/W
8
R/W
7
R/W
6
R/W
5
WO
4
WO
SMBus Alert Interrupt Enable (SMBAL_INTR_EN) When this bit is enabled, a SMBus Interrupt will be generated by the active SMBALERT#. 0:Disable 1:Enable SMBus Host Alias Address Interrupt Enable(SMBHAA_INTR_EN) When this bit is enabled and the Device Address field in the modified Write Word received by Host hit the Host Alias Address, a SMBus Interrupt will be generated. 0:Disable 1:Enable SMBus Host Reserved Address Interrupt Enable(SMBHRA_INTR_EN) When this bit is enabled and the Device Address field in the modified Write Word received by Host is 10h, a SMBus Interrupt will be generated. 0:Disable 1:Enable SMBus Sub-Block Interrupt Enable (SMBB_INTR_EN) When this bit is enabled and the Host Master has finished 8 bytes transfer for Block Protocol and there are some data have not transferred yet, a SMBus Interrupt will then be generated. 0:Disable 1:Enable SMBus Host Transmitter Clock Selection(SMBHT_CLK) 0:28KHz 1:56KHz Kill(SMB_Kill) When this bit is set, all SMBus operation controlled by Host will be stopped and cleared to initial state. This operation won't affect the values in Command, Data, and Address registers. Start(SMB_START) The SMBus Host transfer is initiated by writing a 1 to this bit. Prior to setting this bit, the SMBus Command Protocaol bits (SMB_PTL) and the associated registers should be properly programmed.
Preliminary V2.0 Nov. 2, 1998
156
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
3:1
R/W
0
R/W
SMBus Command Protocol(SMB_PTL) Selecting the Protocol that SMBus Host is going to execute. Read or Write transfer is determined by SMBus Address register bit 0. Bit[3:1] Protocol 000 Quick command 001 Send/Receive Byte 010 Read/Write Byte Data 011 Read/Write Word Data 100 Process Call 101 Read/Write Block Data 110 Reserved 111 Reserved SMBus Interrupt Enable(SMB_INTR_EN). This bit is used to enable the SMBus interrupt generation. 0:Disable 1:Enable
Register 04h Default Value: 00h Access: Read/Write BIT 7:1 0
SMBus Address(SMB_ADDR)
ACCESS DESCRIPTION SMBus Address(SMB_ADDRESS) R/W The field is the slave address to target device. SMBus Read/Write(SMB_RW) R/W Define write or read protocol for all Host transfer except Process Call. 0:Write 1:Read SMBus Command(SMB_CMD)
Register 05h
Default Value: 0000h Access: Read/Write BIT 7:0 ACCESS DESCRIPTION SMBus Command(SMB_Command) R/W This register contains the Command code which is sent to device.
Preliminary V2.0 Nov. 2, 1998
157
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 06h Default Value: 01h Access: Read Only BIT 7:5 4:0
SMBus Processed Byte Count(SMB_PCNT)
ACCESS DESCRIPTION Reserved RO SMBus Block Byte Pointer(SMB_BBP) RO These bits provide imformation that how many bytes data have transferred for Block procotol interrupt service routine. A `zero' indicates a maximun of 32 data bytes has transferred. SMBus Byte Count(SMB_CNT)
Register 07h Default Value: 00h Access: Read/Write BIT 7:5 5:0
ACCESS DESCRIPTION Reserved RO SMBus Byte Count(SMB_CNT) R/W These bits contain the byte count of Block Read/Write protocol. The byte count can not be 0. SMBus Byte 0~7 (SMB_BYTE0~7)
Register 08h ~ 0Fh Default Value: 00h Access: Read/Write BIT 7:0
ACCESS DESCRIPTION SMBus Byte[7:0](SMB_Byte[7:0]) R/W These eight bytes are the data byte field for Block Read/Write protocol. The Byte0 is also used as byte data for Byte protocol which include Send/Receive Byte, Read/Write Data Byte. In addition, the Byte0 (low byte) and Byte1(high byte) are combined as word data for Word protocol which include Read/Write Word, Process Call. SMBus Device Address(SMB_DEV)
Register 10h Default Value: 00h Access: Read/Write
Preliminary V2.0 Nov. 2, 1998
158
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 7:0
ACCESS DESCRIPTION SMBus Device Address(SMB_Device) R/W This field is used to save the Device Address when Host received a modified Write Word from other SMBus trasmitter and the Slave Address field hit the Host Reserved Address or Host Alias Address. SMBus Device Byte 0(SMB_DB0)
Register 11h Default Value: 00h Access: Read/Write BIT 7:0
ACCESS DESCRIPTION SMBus Device Byte 0(SMB_Byte0) R/W This register contains the Data Low Byte when Host receive a modified Write Word from other SMBus master. SMBus Device Byte 1(SMB_DB1)
Register 12h Default Value: 00h Access: Read/Write BIT 7:0
ACCESS DESCRIPTION SMBus Device Byte 1(SMB_Byte1) R/W This register contains the Data High Byte when Host receives a modified Write Word from other SMBus master. SMBus Host Alias Address(SMB_HAA)
Register 13h Default Value: 00h Access: Read/Write BIT 7:1
0
ACCESS DESCRIPTION SMBus Host Alias Address(SMB_Alias) R/W When Host receives a modified Write Word and the Slave Address field is equivalent to the content of this register, an interrupt will be raised if Alias Interrupt is also enabled. RO Read as `0'. The Host Slave accepts master Write Word protocol only.
Register FFh Default Value: Access:
Set Specific Status bit in GPE_STS and PM1_STS 00h Write Only
Preliminary V2.0 Nov. 2, 1998
159
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 7:6 5
4
3
2
1
0
ACCESS DESCRIPTION Reserved RO Set GPIO5_STS of GPE_STS WO When a `1' is written to this bit, it will set the GPIO5_STS PM1_STS. A `0' written to this bit has no effect. Set GPIO10_STS of GPE_STS WO When a `1' is written to this bit, it will set the GPIO10_STS PM1_STS. A `0' written to this bit has no effect. Set RI_STS in GPE_STS WO When a `1' is written to this bit, it will set the RI_STS PM1_STS. A `0' written to this bit has no effect. Set WAK_STS of PM1_STS WO When a `1' is written to this bit, it will set the WAK_STS PM1_STS. A `0' written to this bit has no effect. Set RTC_STS of PM1_STS WO When a `1' is written to this bit, it will set the RTC_STS PM1_STS. A `0' written to this bit has no effect. Set PWRBTN_STS of PM1_STS WO When a `1' is written to this bit, it will set the PWRBTN_STS PM1_STS. A `0' written to this bit has no effect.
of
of
of
of
of
of
7.5
THE DATA ACQUISITION MODULE INTERNAL REGISTERS Index Address Pointer Register 00h Read/Write, Read Only ACCESS DESCRIPTION Busy RO The bit is set when this register is being written and is reset when the data register is being written or read. Index Address Pointer R/W Address pointer aims to the internal registers. Data Register 00h Read/Write
Base Address + 05h Default Value: Access: BIT 7
6:0
Base Address + 06h Default Value: Access:
Preliminary V2.0 Nov. 2, 1998
160
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 7:0
ACCESS DESCRIPTION 8-bit data written to or Read from the internal register is R/W pointed by the Index Address Pointer Register To communicate with the internal registers of Data Acquisition Module, first write the address of that register to the Index Address Pointer register then read or write data from or to that register via the data register. Configuration Register 08h Read/Write ACCESS DESCRIPTION Initialization R/W Writing a 1 to this bit will restore power-on values to all registers including the bit itself. Reserved R/W NMI/IRQ select R/W 0 : IRQ 1 : NMI Reserved R/W INT_Clear R/W Writing a 1 will disable the SMI# and NMI/IRQ outputs without affecting the contents of Interrupt Status Register, and the monitoring process will stop. The monitoring process will resume upon clearing this bit. NMI/IRQ Enable R/W Writing a 1 will enable the NMI/IRQ interrupt output. SMI# Enable R/W Writing a 1 will enable the SMI# interrupt output. Start R/W Writing a 1 to this bit will start the round-robin monitoring, while writing a 0 will disable it. The outputs of the interrupt pins will not be cleared if the user writes a 0 to this bit after an interrupt has occurred an unlike "INT_Clear" bit. Interrupt Status Register I 00h Read Only
Index Address 40h Default Value: Access: BIT 7
6 5
4 3
2 1 0
Index Address 41h Default Value: Access:
Preliminary V2.0 Nov. 2, 1998
161
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 7 6 5 4 3 2 1 0
ACCESS DESCRIPTION FAN2 RO A 1 indicates the fan count limit has been exceeded. FAN1 RO A 1 indicates the fan count limit has been exceeded. BTI RO A 1 indicates an interrupt has occurred from the BTI input. Reserved RO VIN3 RO A 1 indicates a High or Low limit has been exceeded. VIN2 RO A 1 indicates a High or Low limit has been exceeded. VIN1 RO A 1 indicates a High or Low limit has been exceeded. VIN0 RO A 1 indicates a High or Low limit has been exceeded. Interrupt Status Register II 00h Read Only ACCESS DESCRIPTION DXP/VIN4 RO A 1 indicates a High or Low limit has been exceeded. Reserved RO SMI# Mask Register I 00h Read/Write ACCESS R/W R/W R/W R/W R/W R/W R/W DESCRIPTION FAN2 FAN1 BTI Reserved VIN3 VIN2 VIN1
Index Address 42h Default Value: Access: BIT 7 6:0
Index Address 43h Default Value: Access: BIT 7 6 5 4 3 2 1
Preliminary V2.0 Nov. 2, 1998
162
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
0
R/W
VIN0 0 : Enabled 1 : Disabled SMI# Mask Register II 00h
Index Address 44h Default Value: Access: BIT 7
Read/Write ACCESS DXP/VIN4 R/W 0 : Enabled 1 : Disabled Reserved R/W NMI Mask Register I 00h Read/Write ACCESS R/W R/W R/W R/W R/W R/W R/W R/W DESCRIPTION FAN2 FAN1 BTI Reserved VIN3 VIN2 VIN1 VIN0 0 : Enabled 1 : Disabled NMI Mask Register II 00h Read/Write ACCESS DXP/VIN4 R/W 0 : Enabled 1 : Disabled Reserved R/W DESCRIPTION DESCRIPTION
6:0
Index Address 45h Default Value: Access: BIT 7 6 5 4 3 2 1 0
Index Address 46h Default Value: Access: BIT 7
6:0
Preliminary V2.0 Nov. 2, 1998
163
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Index Address 47h Default Value: Access: BIT 7:6
Fan Divisor Register 50h
Read/Write ACCESS DESCRIPTION FAN2 RPM Control R/W 00 : divide by 1, applied for 8800rpm 01 : divide by 2, applied for 4400rpm 10 : divide by 4, applied for 2200rpm 11 : divide by 8, applied for 1100rpm FAN1 RPM Control R/W 00 : divide by 1, applied for 8800rpm 01 : divide by 2, applied for 4400rpm 10 : divide by 4, applied for 2200rpm 11 : divide by 8, applied for 1100rpm Reserved R/W Reserved VIN0 Reading Register
5:4
3:0
Index Address 48h
Index Address 20h/60h Default Value: Access: BIT 7:0 00h Read Only
ACCESS The Reading of VIN0 RO
DESCRIPTION
Index Address 21h/61h Default Value: Access: BIT 7:0 00h Read Only
VIN1 Reading Register
ACCESS The Reading of VIN1 RO
DESCRIPTION
Index Address 22h/62h Default Value: Access: BIT 7:0 00h Read Only
VIN2 Reading Register
ACCESS The Reading of VIN2 RO
DESCRIPTION
Preliminary V2.0 Nov. 2, 1998
164
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Index Address 23h/63h Default Value: Access: BIT 7:0 00h Read Only
VIN3 Reading Register
ACCESS The Reading of VIN3 RO
DESCRIPTION
Index Address 24h/64h Default Value: Access: BIT 7:0 00h Read Only
DXP/VIN4 Reading Register
ACCESS DESCRIPTION The Reading of DXP/VIN4 RO Reserved. Read as 0.
Index Address 25h~27h/65h~67h Index Address 28h/68h Default Value: Access: BIT 7:0 00h Read Only
FAN1 Reading Register
ACCESS The Reading of FAN1 RO
DESCRIPTION
Index Address 29h/69h Default Value: Access: BIT 7:0 00h Read Only
FAN2 Reading Register
ACCESS The Reading of FAN2 RO Reserved
DESCRIPTION
Index Address 2Ah/6Ah BIT 7:0 ACCESS RO
DESCRIPTION Reading of this register can be programmed via PCI-ISA configuration Register78. VIN0 High Limit Register
Index Address 2Bh/6Bh Default Value: Access: BIT 7:0 00h Read/Write
ACCESS DESCRIPTION The High Limit of VIN0 R/W
Preliminary V2.0 Nov. 2, 1998
165
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Index Address 2Ch/6Ch Default Value: Access: BIT 7:0 00h Read/Write
VIN0 Low Limit Register
ACCESS DESCRIPTION The Low Limit of VIN0 R/W VIN1 High Limit Register
Index Address 2Dh/6Dh Default Value: Access: BIT 7:0 00h Read/Write
ACCESS DESCRIPTION The High Limit of VIN1 R/W VIN1 Low Limit Register
Index Address 2Eh/6Eh Default Value: Access: BIT 7:0 00h Read/Write
ACCESS DESCRIPTION The Low Limit of VIN1 R/W VIN2 High Limit Register
Index Address 2Fh/6Fh Default Value: Access: BIT 7:0 00h Read/Write
ACCESS DESCRIPTION The High Limit of VIN2 R/W VIN2 Low Limit Register
Index Address 30h/70h Default Value: Access: BIT 7:0 00h Read/Write
ACCESS DESCRIPTION The High Limit of VIN2 R/W VIN3 High Limit Register
Index Address 31h/71h Default Value: Access: BIT 7:0 00h Read/Write
ACCESS DESCRIPTION The High Limit of VIN3 R/W
Preliminary V2.0 Nov. 2, 1998
166
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Index Address 32h/72h Default Value: Access: BIT 7:0 00h Read/Write
VIN3 Low Limit Register
ACCESS DESCRIPTION The Low Limit of VIN3 R/W DXP/VIN4 High Limit Register
Index Address 33h/73h Default Value: Access: BIT 7:0 00h Read/Write
ACCESS DESCRIPTION The High Limit of DXP/VIN4 R/W DXP/VIN4 Low Limit Register
Index Address 34h/74h Default Value: Access: BIT 7:0 00h Read/Write
ACCESS DESCRIPTION The Low Limit of DXP/VIN4 R/W Reserved. Read as 0.
Index Address 35h~3Ah/75h~7Ah Index Address 3Bh/7Bh Default Value: Access: BIT 7:0 00h Read/Write
FAN1 Fan Count Limit
ACCESS DESCRIPTION The Low-Limit Counts based on Internal Clock(22.5KHz) for R/W the Fan Speed FAN2 Fan Count Limit
Index Address 3Ch/7Ch Default Value: Access: BIT 7:0 00h Read/Write
ACCESS DESCRIPTION The Low-Limit Counts based on Internal Clock (22.5KHz) for R/W the Fan Speed Reserved
Index Address 3Dh~3Fh/7Dh~7Fh
Preliminary V2.0 Nov. 2, 1998
167
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
7.6
APC CONTROL REGISTERS
APC Register 00~01 h Reserved APC Register 02h Default Value: 00h Access: Read/Write To enable the "day of the week alarm" function, both the APC_EN(03h.6) and DWAUP_EN(02h.0) bits should be set as well as the RTC Alarm bytes defined. Then to depend on which day(s) the system is intended to be alarmed-up, the following bits [7:0] can be programmed accordingly. BIT 7 6 5 4 3 2 1 0 ACCESS R/W R/W R/W R/W R/W R/W R/W R/W DESCRIPTION Automatic power up system on Saturday Automatic power up system on Friday Automatic power up system on Thursday Automatic power up system on Wednesday Automatic power up system on Tuesday Automatic power up system on Monday Automatic power up system on Sunday Day of the Week power up system control (DWAUP_EN) 0: Disable 1: Enable
APC Register 03h Default Value: 80h Access: Read/Write BIT 7 ACCESS DESCRIPTION System Powered-up by Power Button Control (BTNUP_EN) R/W 0: Disable 1: Enable This bit will be enabled automatically when KPR_LST(07h.0) is set by APC. APC Function Control (APC_EN) R/W 0: Disable 1: Enable When set to 1, all power-off events, excluding the Power Button related events, are valid and will be processed. System Powered-up by Ring Control (RNUP_EN) R/W 0 : Disable 1 : Enable 168 Silicon Integrated Systems Corporation
6
5
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
4
R/W
3
R/W
2
R/W
1:0
R/W
RING Input Active Level Control (RN_PAR) 0: Active high 1: Active low Pin Function Selection for GPIO5/PME0# (PME0_EN) 0 : Select GPIO5 1 : Select PME0# When PME0# is selected, a high to low edge on this pin will cause the PS_ON# to be asserted. System Powered-up by RTC Alarm (ALMUP_EN) 0 : Disable 1 : Enable APC Test Mode 00 : Normal Mode 01 : APC test mode 1 10 : APC test mode 2 11 : APC test mode 3
APC Register 04h Default Value: 38h Access: Read/Write BIT 7 ACCESS DESCRIPTION Tri-state Control of CKE_S R/W The CKE_S is in the high impedance state by default, and will be driven low while the system is sequenced into S3 state. Writing a 1 to this bit will put the CKE_S back to high impedance state. Writing a 0 to this bit has no effect. S3 Timer Function Control R/W 0: Disable 1: Enable While this bit is set, a 4~60 minutes programmable timer will start to count down upon S3 state is entered. After the timer expires, the system will enter S4/S5 mode automatically. Pin Function Selection for GPIO5/PME0#/DUAL_ON# R/W 0: Select DUAL_ON# 1: Select GPIO5/PME0# When DUAL_ON# is selected, this pin is forced to output mode. Input/Output Mode Selection for GPIO5/PME0#/DUAL_ON# R/W 0: Output mode 1: Input mode Input/Output Mode Selection for GPIO10/PME1#/ACPILED R/W 0: Output mode 1: Input mode 169 Silicon Integrated Systems Corporation
6
5
4
3
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
2
R/W
1
R/W
0
R/W
Pin Function Selection for GPO6/CKE_S/ACPILED 0: Select CKE_S/ACPILED 1: Select GPO6 Pin Function Selection for GPIO10/PME1#/ACPILED 0: Select GPIO10/PME1# 1: Select ACPILED ACPILED 1Hz Blinking Enable 0: Disable 1: Enable
APC Register 05h Default Value: 00h Access: Read/Write BIT 7 ACCESS DESCRIPTION DUAL_ON# Active Level Selection R/W 0: Active high 1: Active low System Powered-up by Keyboard Password Control R/W (PSUP_EN) 0: Disable 1: Enable This bit will be reset to 0 when keyboard controller's power is removed. System Powered-up by Keyboard Hot-Key Control R/W (HKUP_EN) 0: Disable 1: Enable This bit will be reset to 0 when keyboard controller's power is removed. Enable the Internal 32KHz-to-8MHz Frequency Conversion R/W Circuitry 0: Enable 1: Disable If password security power-up or hot-key power-up function is enabled, this bit must be enabled. Reserved. R/W These bits set RTC test modes, and must be programmed to 0.
6
5
4
3:0
APC Register 06h Default Value: 00h Access: Read/Write Preliminary V2.0 Nov. 2, 1998 170 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 7
6
5
4
3
2
1
0
ACCESS DESCRIPTION System powered-up by Keyboard Hot-Key Status RO (HKUP_STS) This bit will be set to '1' while "system powered-up by Keyboard Hot-Key" events occur and can be set to '0' when read. System powered-up by Keyboard Password Status RO (PSUP_STS) This bit will be set to '1' while "system powered-up by Keyboard Password" events occur and can be set to '0' when read. S3 State Status (STR_STS) RO This bit will be set to '1' after the system is waked up from S3 state and can be reset when read. System Powered-up by PME0# Status (PME0_STS) RO This bit will be set to '1' while the "system powered-up by PME0# " event occurs and can be reset when read. System Powered-up by PME1# Status (PME1_STS) RO This bit will be set to '1' while the "system powered-up by PME1#" event occurs and can be reset when read. System Powered-up by RING Status (RNUP_STS) RO This bit will be set to '1' while "system powered-up by RING" event occurs and can be reset when read. System powered-up by RTC Alarm Status (ALMUP_STS) RO This bit will be set to '1' while "system powered-up by RTC Alarm" event occurs and can be set to '0' when read. System powered-up by PowerButtonStatus (BTNUP_STS) RO This bit will be set to '1' while "system powered-up by PowerButton" events occur and can be set to '0' when read.
APC Register 07h Default Value: 01h Access: Read/Write BIT 7 ACCESS DESCRIPTION Pin Function Selection for GPIO10/PME1# (PME1_EN) R/W 0: Select GPIO10 1: Select PME1# When PME1# is selected, a low pulse longer than 30 us on this pin will cause the PS_ON# signal to be asserted. Pin Function Selection for CKE_S/ACPILED R/W 0: Select CKE_S 1: Select ACPILED
6
Preliminary V2.0 Nov. 2, 1998
171
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
5
R/W
4 3
R/W R/W
2:1 0
R/W R/W
PS_ON# Keep Previous State (PSON_RSM) 0: Disable 1: Enable If this bit is set to '1', the PS_ON# will return to its previous state when the AC power is restored from a previous sudden-off for arbitrary period of time. If this bit is set to `0', system is terned on while power is recovered within 4 seconds. On the other hand, system remains off when power is recovered in excess of 4 seconds. Reserved Reserved and must be set to '0' CMOS Century Byte Set to 20h (2000_EN) If this bit is set to '1', the data in standard CMOS RAM 32h will be set to 20h while the year byte in RTC time register updates from '99' to '00'. Reserved Reserved and must be set to '0' KBVDD Status (KPR_LST) 0: Power exist 1: Power had ever lost This bit will be set to 1 if the power connected to the internal keyboard controller had ever lost. It can be cleared by writing a '0'.
APC Register 08h Default Value: 00h Access: Read/Write BIT 7:4 ACCESS DESCRIPTION Multiplication of Processor Core Frequency to System Bus R/W Frequency 0000 : 1 / 2 0100 : 2 / 5 1000 : 1 / 6 1100 : 2 / 13 0001 : 1 / 3 0101 : 2 / 7 1001 : 1 / 7 1101 : 2 / 15 0010 : 1 / 4 0110 : 2 / 9 1010 : 1 / 8 1110 : 2 / 3 0011 : 1 / 5 0111 : 2 / 11 1011 : Reversed 1111 : 1 / 2 CPU Core Frequency Ratio controll selection R/W 0: By external pin, PHLDA#, PHOLD#, GPCS0#, BM_REQ# 1: By bit 7 ~ 4 of this register Reserved R/W Reserved and must be set to '0'
3
2:0
Preliminary V2.0 Nov. 2, 1998
172
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
7.7
OTHER REGISTERS IRQ Edge/Level Control Register 1
Register 4D0h Default Value: 00h Access: Read/Write BIT 7 6 5 4 3 2 1 0
ACCESS R/W R/W R/W R/W R/W R/W R/W R/W
DESCRIPTION IRQ7. 0: Edge sensitive 1: Level sensitive IRQ6. 0: Edge sensitive 1: Level sensitive IRQ5. 0: Edge sensitive 1: Level sensitive IRQ4. 0: Edge sensitive 1: Level sensitive IRQ3. 0: Edge sensitive 1: Level sensitive IRQ2. This bit must be set to 0 IRQ1. This bit must be set to 0 IRQ0. This bit must be set to 0
Register 4D1h Default Value: 00h Access: Read/Write BIT 7 6 5 4 3 2 1 0 7.8
IRQ Edge/Level Control Register 2
ACCESS R/W R/W R/W R/W R/W R/W R/W R/W
DESCRIPTION IRQ15. 0: Edge sensitive 1: Level sensitive IRQ14. 0: Edge sensitive 1: Level sensitive IRQ13. 0: Edge sensitive 1: Level sensitive IRQ12. 0: Edge sensitive 1: Level sensitive IRQ11. 0: Edge sensitive 1: Level sensitive IRQ10. 0: Edge sensitive 1: Level sensitive IRQ9. 0: Edge sensitive 1: Level sensitive IRQ8. This bit must be set to 0
USB OPENHCI HOST CONTROLLER CONFIGURATION SPACE
The base address of these registers is programmable by the memory base address register (USB PCI configuration register offset 10-13h). These registers should be written as Dword, byte writes to these registers have unpredictable effects. The OpenHCI Host Controller (HC) contains a set of on-chip operational registers, which are mapped into a non-cacheable portion of the system addressable space. These registers are used by the Host Controller Driver (HCD). According to the function of these registers, they are divided into four partitions, specifically for Control and Status, Memory Pointer, Frame Counter and Root Hub. All of the registers should be read and written as Dwords. Reserved bits may be allocated in future releases of this specification. To ensure interoperability, the Host Controller Driver that does not use a reserved field should not Preliminary V2.0 Nov. 2, 1998 173 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
assume that the reserved field contains 0. Furthermore, the Host Controller Driver should always preserve the value(s) of the reserved field. When a R/W register is modified, the Host Controller Driver should first read the register, modify the bits desired, then write the register with the reserved bits still containing the read value. Alternatively, the Host Controller Driver can maintain an in-memory copy of previously written values that can be modified and then written to the Host Controller register. When a write to set/clear register is written, bits written to reserved fields should be 0. 7.8.1 CONTROL AND STATUS PARTITION Register 00h HcRevision Register
Default Value: 00000110h Access: Read BIT 31:9 8 ACCESS RO DESCRIPTION Reserved Legacy This read-only field is 1 to indicate that the legacy support registers are present in this HC. Revision This read-only field contains the BCD representation of the version of the HCI specification that is implemented by this HC. For example, a value of 11h corresponds to version 1.1. All of the HC implementations that are compliant with current OpenHCI 1.0 specification will have a value of 10h.
7:0
RO
Register 04h
HcControl Register
Default Value: 00000000h Access: Read/Write The HcControl register defines the operating modes for the Host Controller. Only the Host Controller Driver, except Host Controller Functional State and Remote Wakeup Connected modifies most of the fields in this register. BIT 31:11 10 ACCESS R/O DESCRIPTION Reserved RemoteWakeupEnable This bit is used by HCD to enable or disable the remote wakeup feature upon the detection of upstream resume signaling. When this bit is set and the Resume Detected bit in Hc Interrupt Status is set, a remote wakeup is signaled to the host system. Setting this bit has no impact on the generation of hardware interrupt. Since there is no remote wakeup supported, this bit is ignored.
Preliminary V2.0 Nov. 2, 1998
174
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
9
RO
8
R/W
7:6
R/W
5
R/W
Remote Wakeup Connected This bit indicates whether HC supports remote wakeup signaling. If remote wakeup is supported and used by the system it is the responsibility of system firmware to set this bit during POST. HC clears the bit upon a hardware reset but does not alter it upon software reset. Remote wakeup signaling of the host system is host-bus-specific and is not described in this specification. This bit is hard-coded to '0'. Interrupt Routing This bit determines the routing of interrupts generated by events registered in Hc Interrupt Status. If clear, all interrupts are routed to the normal host bus interrupt mechanism. If set, interrupts are routed to the System Management Interrupt. HCD clears this bit upon hardware reset, but it does not alter this bit upon a software reset. HCD uses this bit as a tag to indicate the ownership of HC. HostControllerFunctionalState for USB 00b: UsbReset 01b: UsbResume 10b: UsbOperational 11b: UsbSuspend A transition to UsbOperational from another state causes SOF generation to begin 1 ms later. HCD may determine whether HC has begun sending SOFs by reading the StartofFrame field of HcInterruptStatus. This field may be changed by HC only in the UsbSuspend state. HC may move from the UsbSuspend state to the UsbResume state after detecting the resume signal from a downstream port. HC enters UsbSuspend after a software reset, whereas it enters UsbReset after a hardware reset. The latter also resets the Root Hub and asserts subsequent reset signal to downstream ports. BulkListEnable This bit is set to enable the processing of the Bulk list in the next Frame. If cleared by HCD, processing of the Bulk list does not occur after the next SOF. HC checks this bit whenever it determines to process the list. When disabled, HCD may modify the list. If HcBulkCurrentED is pointing to an ED to be removed, HCD must advance the pointer by updating HcBulkCurrentED before re-enabling the processing of the list.
Preliminary V2.0 Nov. 2, 1998
175
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
4
R/W
3
R/W
2
R/W
1:0
R/W
ControlListEnable This bit is set to enable the processing of the Control list in the next Frame. If cleared by HCD, the processing of the Control list does not occur after the next SOF. HC must check this bit whenever it determines to process the list. When disabled, HCD may modify the list. If HcControlCurrentED is pointing to an ED to be removed, HCD must advance the pointer by updating HcControlCurrentED before re-enabling the processing of the list. IsochronousEnable This bit is used by HCD to enable/disable the processing of isochronous EDs. While processing the periodic list in a Frame, HC checks the status of this bit when it finds an Isochronous ED (F=1). If set (enabled), HC continues processing the EDs. If cleared (disabled), HC halts processing of the periodic list (which now contains only isochronous EDs) and begins processing the Bulk/Control lists. Setting this bit is guaranteed to take effect in the next Frame (not the current Frame). PeriodicListEnable This bit is set to enable the processing of the periodic list in the next Frame. If cleared by HCD, the processing of the periodic list does not occur after the next SOF. HC must check this bit before it starts processing the list. ControlBulkServiceRatio This specifies the service ratio between Control and Bulk EDs. Before processing any of the non-periodic lists, HC must compare the ratio specified with its internal count on how many non-empty Control EDs have been processed, in determining whether to continue serving another Control ED or switching to Bulk EDs. The internal count will be retained when crossing the frame boundary. In case of reset, HCD is responsible for restoring this value. CBSR No. of Control EDs Over Bulk EDs Served 0 1:1 1 2:1 2 3:1 3 4:1
Register 08h
HcCommandStatus Register
Default Value: 00000000h Access: Read/Write The HcCommandStatus register is used by the Host Controller to receive commands issued by the Host Controller Driver, as well as reflect the current status of the Host Controller. To the Host Controller Driver, it appears to be a "write to set" register. The Host Controller must Preliminary V2.0 Nov. 2, 1998 176 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
ensure those bits written as '1' become set in the register while those bits written as '0' remain unchanged in the register. The Host Controller Driver may issue multiple distinct commands to the Host Controller without concern for corrupting previously issued commands. The Host Controller Driver has normal read access to all bits. The SchedulingOverrunCount field indicates the number of frames with which the Host Controller has detected the scheduling overrun error. This occurs when the Periodic list does not complete before EOF. When a scheduling overrun error is detected, the Host Controller increments the counter and sets the SchedulingOverrun field in the HcInterruptStatus register. BIT 31:18 17:16 ACCESS RO DESCRIPTION Reserved Scheduling Overrun Count These bits are incremented on each scheduling overrun error. It is initialized to 00b and wraps around at 11b. This will be incremented when a scheduling overrun is detected even if Scheduling Overrun in Hc Interrupt Status has already been set. This is used by HCD to monitor any persistent scheduling problems. Reserved OwnershipChangeRequest This bit is set by an OS HCD to request a change of control of the HC. When set HC will set the Ownership Change field in HcInterrupt Status. After the changeover, this bit is cleared and remains so until the next request from OS HCD. BulkListFilled This bit is used to indicate whether there are any TDs on the Bulk list. It is set by HCD whenever it adds a TD to a ED in the Bulk list. When HC begins to process the head of the Bulk list, it checks BF. As long as BulkListFilled is 0, HC will not start processing the Bulk list. If BulkListFilled is 1, HC will start processing the Bulk list and will set BF to 0. If HC finds a TD on the list, then HC will set BulkListFilled to 1 causing the Bulk list processing to continue. If no TD is found on the Bulk list, and if HCD does not set BulkListFilled, then BulkListFilled will still be 0 when HC completes processing the Bulk list and Bulk list processing will stop.
15:4 3
R/W
2
R/W
Preliminary V2.0 Nov. 2, 1998
177
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
1
R/W
0
R/W
ControlListFilled This bit is used to indicate whether there are any TDs on the Control list. It is set by HCD whenever it adds a TD to an ED in the Control list. When HC begins to process the head of the Control list, it checks CLF. As long as ControlListFilled is 0, HC will not start processing the Control list. If CF is 1, HC will start processing the Control list and will set ControlListFilled to 0. If HC finds a TD on the list, then HC will set ControlListFilled to 1 causing the Control list processing to continue. If no TD is found on the Control list, and if the HCD does not set ControlListFilled, then ControlListFilled will still be 0 when HC completes processing the Control list and Control list processing will stop HostControllerReset This bit is set by HCD to initiate a software reset of HC. Regardless of the functional state of HC, it moves to the UsbSuspend state in which most of the operational registers are reset except those stated otherwise; e.g., the InterruptRouting field of HcControl, and no Host bus accesses are allowed. This bit is cleared by HC upon the completion of the reset operation. The reset operation must be completed within 10 s. This bit, when set, should not cause a reset to the Root Hub and no subsequent reset signal should be asserted to its downstream ports.
Register 0Ch
HcInterruptStatus Register
Default Value: 00000000h Access: Read/Write This register provides status on various events that cause hardware interrupts. When an event occurs, Host Controller sets the corresponding bit in this register. When a bit is set, a hardware interrupt is generated if the interrupt is enabled in the HcInterruptEnable register and the MasterInterruptEnable bit is set. The Host Controller Driver may clear specific bits in this register by writing '1'to bit positions to be cleared. The Host Controller Driver may not set any of these bits. The Host Controller will never clear the bit. BIT 31 30 ACCESS R/W DESCRIPTION Reserved OwnershipChange Status This bit is set by HC when HCD sets the OwnershipChangeRequest field in HcCommandStatus. This event, when unmasked, will always generate a System Management Interrupt (SMI#) immediately. Reserved
29:7
Preliminary V2.0 Nov. 2, 1998
178
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
6
R/W
5
R/W
4
RO
3
R/W
2
R/W
1
R/W
0
R/W
RootHubStatusChange Status This bit is set when the content of HcRhStatus or the content of any of HcRhPortStatus[NumberofDownstreamPort] has changed. FrameNumberOverflow Status This bit is set when the MSb of HcFmNumber (bit 15) changes value, from 0 to 1 or from 1 to 0, and after HccaFrameNumber has been updated. UnrecoverableError Status This bit is set when HC detects a system error not related to USB. HC should not proceed with any processing nor signaling before the system error has been corrected. HCD clears this bit after HC has been reset. This event is not implemented and is hard-coded to '0'. ResumeDetected Status This bit is set when HC detects that a device on the USB is asserting resume signaling. It is the transition from no resume signaling to resume signaling causing this bit to be set. This bit is not set when HCD sets the UsbResume state. StartofFrame Status This bit is set by HC at each start of a frame and after the update of HccaFrameNumber. HC also generates a SOF token at the same time. WritebackDoneHead Status This bit is set immediately after HC has written HcDoneHead to HccaDoneHead. Further updates of the HccaDoneHead will not occur until this bit has been cleared. HCD should only clear this bit after it has saved the content of HccaDoneHead. SchedulingOverrun Status This bit is set when the USB schedule for the current Frame overruns and after the update of HccaFrameNumber. A scheduling overrun will also cause the SchedulingOverrunCount of HcCommandStatus to be incremented.
Register 10h
HcInterruptEnable Register
Default Value: 00000000h Access: Read/Write Each enable bit in the HcInterruptEnable register corresponds to an associated interrupt bit in the HcInterruptStatus register. The HcInterruptEnable register is used to control those events generate a hardware interrupt. When a bit is set in the HcInterruptStatus register AND the corresponding bit in the HcInterruptEnable register is set AND the MasterInterruptEnable bit is set, then a hardware interrupt is requested on the host bus.
Preliminary V2.0 Nov. 2, 1998
179
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Writing a '1' to a bit in this register sets the corresponding bit, whereas writing a '0' to a bit in this register leaves the corresponding bit unchanged. On read, the current value of this register is returned. BIT 31 ACCESS R/W DESCRIPTION A '0' written to this field is ignored by HC. A '1' written to this field enables interrupt generation due to events specified in the other bits of this register. This is used by HCD as a Master Interrupt Enable. Ownership Change Enable 0 : Ignore 1 : Enable interrupt generation due to Ownership Change. Reserved RootHub tatus Change Enable 0 : Ignore 1 : Enable interrupt generation due to Root Hub Status Change. FrameNumberOverflow Enable 0 : Ignore 1 : Enable interrupt generation due to Frame Number Overflow. UnrecoverableError Enable 0 : Ignore 1 : Enable interrupt generation due to Unrecoverable Error. ResumeDetected Enable 0 : Ignore 1 : Enable interrupt generation due to Resume Detect. StartFrame Enable 0 : Ignore 1 : Enable interrupt generation due to Start of Frame. WritebackDoneHead Enable 0 : Ignore 1 : Enable interrupt generation due to HcDoneHead Writeback SchedulingOverrun Enable 0 : Ignore 1 : Enable interrupt generation due to Scheduling Overrun.
30
R/W
29:7 6
R/W
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
Register 14h
HcInterruptDisable Register
Default Value: 00000000h Access: Read/Write Each disable bit in the HcInterruptDisable register corresponds to an associated interrupt bit in the HcInterruptStatus register. The HcInterruptDisable register is coupled with the HcInterruptEnable register. Thus, writing a '1 to a bit in this register clears the corresponding bit in the HcInterruptEnable register, whereas writing a '0' to a bit in this register leaves the Preliminary V2.0 Nov. 2, 1998 180 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
corresponding bit in the HcInterruptEnable register unchanged. On read, the current value of the HcInterruptEnable register is returned. BIT 31 ACCESS R/W DESCRIPTION A '0' written to this field is ignored by HC. A '1' written to this field disables interrupt generation due to events specified in the other bits of this register. This field is set after a hardware or software reset. OwnershipChange Disable 0 : Ignore 1 : Disable interrupt generation due to Ownership Change. Reserved RootHubStatusChange Disable 0 : Ignore 1 : Disable interrupt generation due to Root Hub Status Change. FrameNumberOverflow Disable 0 : Ignore 1 : Disable interrupt generation due to Frame Number Overflow. UnrecoverableError Disable 0 : Ignore 1 : Disable interrupt generation due to Unrecoverable Error. ResumeDetected Disable 0 : Ignore 1 : Disable interrupt generation due to Resume Detect. StartFrame Disable 0 : Ignore 1 : Disable interrupt generation due to Start of Frame. WritebackDoneHead Disable 0 : Ignore 1 : Disable interrupt generation due to HcDoneHead Writeback. Scheduling Overrun Disable 0 : Ignore 1 : Disable interrupt generation due to Scheduling Overrun.
30
R/W
29:7 6
R/W
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
7.8.2 MEMORY POINTER PARTITION Register 18h HcHCCA Register
Default Value: 00000000h Access: Read/Write The HcHCCA register contains the physical address of the Host Controller Communication Area. The Host Controller Driver determines the alignment restrictions by writing all 1s to Preliminary V2.0 Nov. 2, 1998 181 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
HcHCCA and reading the content of HcHCCA. The alignment is evaluated by examining the number of zeroes in the lower order bits. The minimum alignment is 256 bytes; therefore, bits 0 through 7 must always return '0' when read. This area is used to hold the control structures and the Interrupt table that are accessed by both the Host Controller and the Host Controller Driver. BIT 31:8 7:0 Register 1Ch ACCESS R/W DESCRIPTION This is the base address of the Host Controller Communication Area. Reserved.
HcPeriodCurrentED Register
Default Value: 00000000h Access: Read/Write The HcPeriodCurrentED register contains the physical address of the current Isochronous or Interrupt Endpoint Descriptor. BIT 31:4 ACCESS DESCRIPTION PeriodCurrentED R/W This is used by HC to point to the head of one of the Periodic lists that will be processed in the current Frame. The content of this register is updated by HC after a periodic ED has been processed. HCD may read the content in determining which ED is currently being processed at the time of reading. Reserved HcControlHeadED Register
3:0 Register 20h
Default Value: 00000000h Access: Read/Write The HcControlHeadED register contains the physical address of the first Endpoint Descriptor of the Control list. BIT 31:4 ACCESS DESCRIPTION ControlHeadED R/W HC traverses the Control list starting with the HcControlHeadED pointer. The content is loaded from HCCA during the initialization of HC. Reserved. HcControlCurrentED Register
3:0 Register 24h
Default Value: 00000000h Access: Read/Write The HcControlCurrentED register contains the physical address of the current Endpoint Descriptor of the Control list. Preliminary V2.0 Nov. 2, 1998 182 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 31:4
3:0 Register 28h
ACCESS DESCRIPTION ControlCurrentED R/W This pointer is advanced to the next ED after serving the present one. HC will continue processing the list from where it left off in the last Frame. When it reaches the end of the Control list, HC checks the ControlListFilled of in HcCommandStatus. If set, it copies the content of HcControlHeadED to HcControlCurrentED and clears the bit. If not set, it does nothing. HCD is allowed to modify this register only when the ControlListEnable of HcControl is cleared. When set, HCD only reads the instantaneous value of this register. Initially, this is set to zero to indicate the end of the Control list. Reserved. HcBulkHeadED Register
Default Value: 00000000h Access: Read/Write The HcBulkHeadED register contains the physical address of the first Endpoint Descriptor of the Bulk list. BIT 31:4 ACCESS DESCRIPTION BulkHeadED R/W HC traverses the Bulk list starting with the HcBulkHeadED pointer. The content is loaded from HCCA during the initialization of HC. Reserved. HcBulkCurrentED Register
3:0 Register 2Ch
Default Value: 00000000h Access: Read/Write The HcBulkCurrentED register contains the physical address of the current endpoint of the Bulk list. As the Bulk list will be served in a round-robin fashion, the endpoints will be ordered according to their insertion to the list.
Preliminary V2.0 Nov. 2, 1998
183
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 31:4
3:0 Register 30h
ACCESS DESCRIPTION BulkCurrentED R/W This is advanced to the next ED after the HC has served the present one. HC continues processing the list from where it left off in the last Frame. When it reaches the end of the Bulk list, HC checks the ControlListFilled of HcControl. If set, it copies the content of HcBulkHeadED to HcBulkCurrentED and clears the bit. If it is not set, it does nothing. HCD is only allowed to modify this register when the BulkListEnable of HcControl is cleared. When set, the HCD only reads the instantaneous value of this register. This is initially set to zero to indicate the end of the Bulk list. Reserved. HcDoneHead Register
Default Value: 00000000h Access: Read/Write The HcDoneHead register contains the physical address of the last completed Transfer Descriptor that was added to the Done queue. In normal operation, the Host Controller Driver should not need to read this register as its content is periodically written to the HCCA. BIT 31:4 ACCESS DESCRIPTION DoneHead R/W When a TD is completed, HC writes the content of HcDoneHead to the NextTD field of the TD. HC then overwrites the content of HcDoneHead with the address of this TD. This is set to zero whenever HC writes the content of this register to HCCA. It also sets the WritebackDoneHead of HcInterruptStatus. Reserved
3:0
7.8.3 BITS FRAME COUNTER PARTITION Register 34h HcFmInterval Register
Default Value: 00002EDFh Access: Read/Write The HcFmInterval register contains a 14-bit value which indicates the bit time interval in a Frame, (i.e., between two consecutive SOFs), and a 15-bit value indicating the Full Speed maximum packet size that the Host Controller may transmit or receive without causing scheduling overrun. The Host Controller Driver may carry out minor adjustment on the FrameInterval by writing a new value over the present one at each SOF. This provides the
Preliminary V2.0 Nov. 2, 1998
184
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
programmability necessary for the Host Controller to synchronize with an external clocking resource and to adjust any unknown local clock offset. BIT 31 ACCESS DESCRIPTION FrameIntervalToggle R/W HCD toggles this bit whenever it loads a new value to FrameInterval. FSLargestDataPacket R/W This field specifies a value that is loaded into the Largest Data Packet Counter at the beginning of each frame. The counter value represents the largest amount of data in bits which can be sent or received by the HC in a single transaction at any given time without causing scheduling overrun. The field value is calculated by the HCD. Reserved FrameInterval R/W This specifies the interval between two consecutive SOFs in bit times. The nominal value is set to be 11,999. HCD should store the current value of this field before resetting HC. By setting the HostControllerReset field of HcCommandStatus as this will cause the HC to reset this field to its nominal value. HCD may choose to restore the stored value upon the completion of the Reset sequence. HcFmRemaining Register
30:16
15:14 13:0
Register 38h
Default Value: 00000000h Access: Read Only The HcFmRemaining register is a 14-bit down counter showing the bit time remaining in the current Frame. BIT 31 ACCESS DESCRIPTION FrameRemainingToggle RO This bit is loaded from the FrameIntervalToggle field of HcFmInterval whenever FrameRemaining reaches 0. This bit is used by HCD for the synchronization between FrameInterval and FrameRemaining. Reserved FrameRemaining RO This counter is decremented at each bit time. When it reaches zero, it is reset by loading the FrameInterval value specified in HcFmInterval at the next bit time boundary. When entering the UsbOperational state, HC re-loads the content with the FrameInterval of HcFmInterval and uses the updated value from the next SOF.
30:14 13:0
Preliminary V2.0 Nov. 2, 1998
185
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Register 3Ch HcFmNumber Register
Default Value: 00000000h Access: Read The HcFmNumber register is a 16-bit counter. It provides a timing reference among events occurring in the Host Controller and the Host Controller Driver. The Host Controller Driver may use the 16-bit value specified in this register and generate a 32-bit frame number without requiring frequent access to the register. BIT 31:16 15:0 ACCESS RO DESCRIPTION Reserved FrameNumber This is incremented when HcFmRemaining is re-loaded. It will be rolled over to 0h after ffffh. When entering the UsbOperational state, this will be incremented automatically. The content will be written to HCCA after HC has incremented the FrameNumber at each frame boundary and sent a SOF but before HC reads the first ED in that Frame. After writing to HCCA, HC will set the StartofFrame in HcInterruptStatus.
Register 40h
HcPeriodicStart Register
Default Value: 00000000h Access: Read/Write The HcPeriodicStart register has a 14-bit programmable value which determines when is the earliest time HC should start processing the periodic list. BIT 31:14 13:0 ACCESS R/W DESCRIPTION Reserved PeriodicStart After a hardware reset, this field is cleared. This is then set by HCD during the HC initialization. The value is calculated roughly as 10% off from HcFmInterval. A typical value will be 3E67h. When HcFmRemaining reaches the value specified, processing of the periodic lists will have priority over Control/Bulk processing. HC will therefore start processing the Interrupt list after completing the current Control or Bulk transaction that is in progress.
Register 44h
HcLSThreshold Register
Default Value: 00000000h Access: Read/Write The HcLSThreshold register contains an 11-bit value used by the Host Controller to determine whether to commit to the transfer of a maximum of 8-byte LS packet before EOF. Neither the Host Controller nor the Host Controller Driver is allowed to change this value. Preliminary V2.0 Nov. 2, 1998 186 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BIT 31:12 11:0
ACCESS Reserved R/W
DESCRIPTION LSThreshold This field contains a value that is compared to the FrameRemaining field prior to initiating a Low Speed transaction. The transaction is started only if FrameRemaining this field. The value is calculated by HCD with the consideration of transmission and setup overhead.
7.8.4 ROOT HUB PARTITION All registers included in this partition are dedicated to the USB Root Hub which is an integral part of the Host Controller though still a functionally separate entity. The HCD emulates USBD accesses to the Root Hub via a register interface. The HCD maintains many USBdefined hub features that are not required to be supported in hardware. For example, the Hub's Device, Configuration, Interface, and Endpoint Descriptors are maintained only in the HCD as well as some static fields of the Class Descriptor. The HCD also maintains and decodes the Root Hub's device address as well as other trivial operations which are better suited to software than hardware. The Root Hub register interface is otherwise developed to maintain similarity of bit organization and operation to typical hubs, which are found in the system. Below are four register definitions: HcRhDescriptorA, HcRhDescriptorB, HcRhStatus, and HcRhPortStatus [2:1]. Each register is read and written as a Dword. These registers are only written during initialization to correspond with the system implementation. The HcRhDescriptorA and HcRhDescriptorB registers should be implemented such that they are writeable regardless of the HC USB State. HcRhStatus and HcRhPortStatus must be writeable during the USBOPERATIONAL State. Register 48h HcRhDescriptorA Register
Default Value: 01000002h Access: Read/Write The HcRhDescriptorA register is the first register of two describing the characteristics of the Root Hub. Reset values are implementation-specific. The descriptor length (11), descriptor type (TBD), and hub controller current (0) fields of the hub Class Descriptor are emulated by the HCD. All other fields are located in the HcRhDescriptorA and HcRhDescriptorB registers. BIT 31:24 ACCESS DESCRIPTION PowerOnToPowerGoodTime R/W This byte specifies the duration HCD has to wait before accessing a powered-on port of the Root Hub. It is implementation-specific. The unit of time is 2 ms. The duration is calculated as POTPGT * 2 ms. Reserved
23: 13
Preliminary V2.0 Nov. 2, 1998
187
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
12
R/W
11
R/W
10
RO
9
R/W
8
R/W
7:0
RO
NoOverCurrentProtection This bit describes how the overcurrent status for the Root Hub ports are reported. When this bit is cleared, the OverCurrentProtectionMode field specifies global or per-port reporting. 0 : Over-current status is reported collectively for all downstream ports 1 : No overcurrent protection supported OverCurrentProtectionMode This bit describes how the overcurrent status for the Root Hub ports are reported. At reset, this fields should reflect the same mode as PowerSwitchingMode. This field is valid only if the NoOverCurrentProtection field is cleared. 0 : over-current status is reported collectively for all downstream ports 1 : over-current status is reported on a per-port basis DeviceType This bit specifies that the Root Hub is not a compound device. The Root Hub is not permitted to be a compound device. This field should always read/write 0. NoPowerSwitching These bits are used to specify whether power switching is supported or port is always powered. SIS5595 USB HC supports global power switching mode. When this bit is cleared, the PowerSwitchingMode specifies global or per-port switching. 0 : Ports are power switched 1 : Ports are always powered on when the HC is powered on PowerSwitchingMode This bit is used to specify how the power switching of the Root Hub ports is controlled. SIS5595 USB HC supports global power switching mode. This field is only valid if the NoPowerSwitching field is cleared. 0 : all ports are powered at the same time. 1 : Each port is powered individually. This mode allows port power to be controlled by either the global switch or perport switching. If the PortPowerControlMask bit is set, the port responds only to port power commands (Set/ClearPortPower). If the port mask is cleared, then the port is controlled only by the global power switch (Set/ Clear Global Power). NumberDownstreamPorts These bits specify the number of downstream ports supported by the Root Hub. SIS5595 USB HC supports two downstream ports. 188 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
Register 4Ch HcRhDescriptorB Register
Default Value: 00000000h Access: Read/Write The HcRhDescriptorB register is the second register of two describing the characteristics of the Root Hub. These fields are written during initialization to configure the Root Hub. BIT 31:16 ACCESS DESCRIPTION PortPowerControlMask R/W Each bit indicates if a port is affected by a global power control command when PowerSwitchingMode is set. When set, the port's power state is only affected by per-port power control (Set/ClearPortPower). When cleared, the port is controlled by the global power switch (Set/ClearGlobalPower). If the device is configured to global switching mode (PowerSwitchingMode=0), this field is not valid. SIS5595 USB HC implements global power switching. bit 0: Reserved bit 1: Ganged-power mask on Port #1 bit 2: Ganged-power mask on Port #2 ... bit15: Ganged-power mask on Port #15 DeviceRemovable R/W Each bit is dedicated to a port of the Root Hub. When cleared, the attached device is removable. When set, the attached device is not removable. bit 0: Reserved bit 1: Device attached to Port #1 bit 2: Device attached to Port #2 ... bit15: Device attached to Port #15 HcRhStatus Register
15:0
Register 50h
Default Value: 00000000h Access: Read/Write The HcRhStatus register is divided into two parts. The lower word of a Dword represents the Hub Status field and the upper word represents the Hub Status Change field. Reserved bits should always be written '0'. BIT 31 ACCESS DESCRIPTION ClearRemoteWakeupEnable(Write) WO Writing a '1' clears DeviceRemoveWakeupEnable. Writing a '0' has no effect. Reserved
30:18
Preliminary V2.0 Nov. 2, 1998
189
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
17
R/W
16
R/W
15
R/W
14:2 1
RO
0
R/W
OverCurrentIndicatorChange This bit is set by hardware when a change has occurred to the OCI field of this register. The HCD clears this bit by writing a '1'.Writing a `0' has no effect. LocalPowerStatusChange(Read) The Root Hub does not support the local power status feature; thus, this bit is always read as '0'. SetGlobalPower(Write) In global power mode (PowerSwitchingMode=0), This bit is written to '1' to turn on power to all ports (clear PortPowerStatus). In per-port power mode, it sets PortPowerStatus only on ports whose PortPowerControlMask bit is not set. Writing a `0' has no effect. DeviceRemoteWakeupEnable(Read) This bit enables a ConnectStatusChange bit as a resume event, causing a UsbSuspend to UsbResume state transition and setting the ResumeDetected interrupt. 0 : ConnectStatusChange is not a remote wakeup event. 1 : ConnectStatusChange is a remote wakeup event. SetRemoteWakeupEnable(Write) Writing a '1' sets DeviceRemoveWakeupEnable. Writing a '0' has no effect. Reserved OverCurrentIndicator This bit reports overcurrent conditions when the global reporting is implemented. When set, an overcurrent condition exists. When cleared, all power operations are normal. If per-port overcurrent protection is implemented this bit is always `0' LocalPowerStatus(Read) The Root Hub does not support the local power status feature; thus, this bit is always read as '0'. ClearGlobalPower(Write) In global power mode (PowerSwitchingMode=0), This bit is written to '1' to turn off power to all ports (clear PortPowerStatus). In per-port power mode, it clears PortPowerStatus only on ports whose PortPowerControlMask bit is not set. Writing a `0' has no effect.
Register 54h/58h HcRhPortStatus[2:1] Register Default Value: 00000000h Access: Read/Write The HcRhPortStatus[2:1] register is used to control and report port events on a per-port basis. Two HcRhPortStatus registers that are implemented in hardware. The lower word is Preliminary V2.0 Nov. 2, 1998 190 Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
used to reflect the port status, whereas the upper word reflects the status change bits. Some status bits are implemented with special write behavior (see below). If a transaction (token through handshake) is in progress when a write to change port status occurs, the resulting port status change must be postponed until the transaction completes. Reserved bits should always be written '0'. BIT 31:21 20 ACCESS R/W DESCRIPTION Reserved PortResetStatusChange This bit is set at the end of the 10-ms port reset signal. The HCD writes a '1' to clear this bit. Writing a `0' has no effect. 0 : port reset is not complete 1 : port reset is complete PortOverCurrentIndicatorChange This bit is valid only if overcurrent conditions are reported on a per-port basis. This bit is set when Root Hub changes the PortOverCurrentIndicator bit. The HCD writes a '1' to clear this bit. Writing a `0' has no effect. 0 : no change in PortOverCurrentIndicator 1 : PortOverCurrentIndicator has changed PortSuspendStatusChange This bit is set when the full resume sequence has been completed. This sequence includes the 20-s resume pulse, LS EOP, and 3-ms resychronization delay. The HCD writes a '1' to clear this bit. Writing a `0' has no effect. This bit is also cleared when ResetStatusChange is set. 0 : resume is not completed 1 : resume completed PortEnableStatusChange This bit is set when hardware events cause the PortEnableStatus bit to be cleared. Changes from HCD writes do not set this bit. The HCD writes a '1' to clear this bit. Writing a `0' has no effect. 0 : no change in PortEnableStatus 1 : change in PortEnableStatus
19
R/W
18
R/W
17
R/W
Preliminary V2.0 Nov. 2, 1998
191
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
16
R/W
15:10 9
R/W
8
R/W
7:5
ConnectStatusChange This bit is set whenever a connect or disconnect event occurs. The HCD writes a '1' to clear this bit. Writing a `0' has no effect. If CurrentConnectStatus is cleared when a SetPortReset, SetPortEnable, or SetPortSuspend write occurs, this bit is set to force the driver to re-evaluate the connection status since these writes should not occur if the port is disconnected. 0 : no change in CurrentConnectStatus 1 : change in CurrentConnectStatus Note: If the DeviceRemovable[NDP] bit is set, this bit is set only after a Root Hub reset to inform the system that the device is attached. Reserved LowSpeedDeviceAttached((Read)) This bit indicates the speed of the device attached to this port. When set, a Low Speed device is attached to this port. When clear, a Full Speed device is attached to this port. This field is valid only when the CurrentConnectStatus is set. 0 : full speed device attached 1 : low speed device attached Port Power Status((Read)) This bit reflects the port's power status, regardless of the type of power switching implemented. This bit is cleared if an overcurrent condition is detected. HCD sets this bit by writing Set Port Power or Set Global Power. HCD clears this bit by writing Clear Port Power or Clear Global Power. Which power control switches are enabled is determined by Power Switching Mode and Port Port Control Mask[NDP]. In global switching mode (Power Switching Mode=0), only Set/ClearGlobalPower controls this bit. In per-port power switching (Power Switching Mode=1), if the Port Power Control Mask[NDP] bit for the port is set, only Set/ClearPortPower commands are enabled. If the mask is not set, only Set/ Clear Global Power commands are enabled. When port power is disabled, Current Connect Status, Port Enable Status, Port Suspend Status, and Port Reset Status should be reset. 0 : port power is off 1 : port power is on SetPortPower(Write) The HCD writes a '1' to set the PortPowerStatus bit. Writing a `0' has no effect. Note: This bit is always reads `1b' if power switching is not supported. Reserved
Preliminary V2.0 Nov. 2, 1998
192
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
4
R/W
3
R/W
2
R/W
PortResetStatus(Read) When this bit is set by a write to SetPortReset, port reset signaling is asserted. When reset is completed, this bit is cleared when PortResetStatusChange is set. This bit cannot be set if CurrentConnectStatus is cleared. 0 : port reset signal is not active 1 : port reset signal is active SetPortReset(Write) The HCD sets the port reset signaling by writing a '1' to this bit. Writing a `0' has no effect. If CurrentConnectStatus is cleared, this write does not set PortResetStatus, but instead sets ConnectStatusChange. This informs the driver that it attempted to reset a disconnected port. PortOverCurrentIndicator(Read) This bit is only valid when the Root Hub is configured in such a way that overcurrent conditions are reported on a per-port basis. If per-port overcurrent reporting is not supported, this bit is set to 0. If cleared, all power operations are normal for this port. If set, an overcurrent condition exists on this port. This bit always reflects the overcurrent input signal 0 : no overcurrent condition. 1 : overcurrent condition detected. ClearSuspendStatus(Write) The HCD writes a '1' to initiate a resume. Writing a `0' has no effect. A resume is initiated only if PortSuspendStatus is set. PortSuspendStatus(Read) This bit indicates the port is suspended or in the resume sequence. It is set by a SetSuspendState write and cleared when PortSuspendStatusChange is set at the end of the resume interval. This bit cannot be set if CurrentConnectStatus is cleared. This bit is also cleared when PortResetStatusChange is set at the end of the port reset or when the HC is placed in the UsbResume state. If an upstream resume is in progress, it should propagate to the HC. 0 : port is not suspended 1 : port is suspended SetPortSuspend(Write) The HCD sets the PortSuspendStatus bit by writing a '1' to this bit. Writing a `0' has no effect. If CurrentConnectStatus is cleared, this write does not set PortSuspendStatus; instead it sets ConnectStatusChange. This informs the driver that it attempted to suspend a disconnected port.
Preliminary V2.0 Nov. 2, 1998
193
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
1
R/W
0
R/W
PortEnableStatus(Read) This bit indicates whether the port is enabled or disabled. The Root Hub may clear this bit when an overcurrent condition, disconnect event, switched-off power, or operational bus error such as babble is detected. This change also causes PortEnabledStatusChange to be set. HCD sets this bit by writing SetPortEnable and clears it by writing ClearPortEnable. This bit cannot be set when CurrentConnectStatus is cleared. This bit is also set, if not already, at the completion of a port reset when ResetStatusChange is set or port suspend when SuspendStatusChange is set. 0 : port is disabled 1 : port is enabled SetPortEnable(Write) The HCD sets PortEnableStatus by writing a '1'.Writing a `0' has no effect. If CurrentConnectStatus is cleared, this write does not set PortEnableStatus, but instead sets ConnectStatusChange. This informs the driver that it attempted to enable a disconnected port. CurrentConnectStatus(Read) This bit reflects the current state of the downstream port. 0 : no device connected 1 : device connected ClearPortEnable(Write) The HCD writes a '1' to this bit to clear the PortEnableStatus bit. Writing a `0' has no effect. The CurrentConnectStatus is not affected by any write. Note: This bit is always read `1b' when the attached device is nonremovable (DeviceRemoveable[NDP]).
7.8.5 LEGACY SUPPORT REGISTERS Four operational registers are used to provide the legacy support. Each of these registers is located on a 32-bit boundary. The offset of these registers is relative to the base address of the Host Controller operational registers with HceControl located at offset 100h. Table 7.8-1 Legacy Support Registers OFFSET 100h 104h 108h 10Ch REGISTER HceControl HceInput HceOutput HceStatus DESCRIPTION Used to enable and control the emulation hardware and report various status informations. Emulation side of the legacy Input Buffer register. Emulation side of the legacy Output Buffer register where keyboard and mouse data is to be written by software. Emulation side of the legacy Status register. 194 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
Three of the operational registers (HceStatus, HceInput, and HceOutput) are accessible at I/O address 60h and 64h when emulation is enabled. Reads and writes to the registers using I/O addresses have side effects as outlined in the Table 7.8-2 Emulated Registers Table 7.8-2 Emulated Registers I/O ADDRESS CYCLE TYPE REGISTER CONTENTS ACCESSED/ SIDE EFFECTS MODIFIED HceOutput IN from port 60h will set OutputFull in HceStatus to 0 HceInput OUT to port 60h will set InputFull to 1 and CmdData to 0 in HceStatus. HceStatus IN from port 64h returns current value of HceStatus with no other side effect. HceInput OUT to port 64h will set InputFull to 0 and CmdData in HceStatus to 1.
60h 60h 64h 64h
IN OUT IN OUT
Register 100h
HceControl Register
Default Value: 00000000h Access: Read/Write BIT 31:9 8 ACCESS R/W DESCRIPTION Reserved A20State Indicates current state of Gate A20 on keyboard controller. Used to compare against value to 60h when GateA20Sequence is active. IRQ12Active Indicates that a positive transition on IRQ12 from keyboard controller has occurred. SW may write a 1 to this bit to clear it (set it to 0). SW write of a 0 to this bit has no effect. IRQ1Active Indicates that a positive transition on IRQ1 from keyboard controller has occurred. SW may write a 1 to this bit to clear it (set it to 0). SW write of a 0 to this bit has no effect. GateA20Sequence Set by HC when a data value of D1h is written to I/O port 64h. Cleared by HC on write to I/O port 64h of any value other than D1h. ExternalIRQEn When set to 1, IRQ1 and IRQ12 from the keyboard controller causes an emulation interrupt. The function controlled by this bit is independent of the setting of the EmulationEnable bit in this register. 195 Silicon Integrated Systems Corporation
7
R/W
6
R/W
5
R/W
4
R/W
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
3
R/W
2
R/W
1 0
RO R/W
IRQEn When set, the HC generates IRQ1 or IRQ12 as long as the OutputFull bit in HceStatus is set to 1. If the AuxOutputFull bit of HceStatus is 0, then IRQ1 is generated; if it is 1, then an IRQ12 is generated. CharacterPending When set, an emulation interrupt is generated when the OutputFull bit of the HceStatus register is set to 0. EmulationInterrupt This bit is a static decode of the emulation interrupt condition EmulationEnable When set to 1, the HC is enabled for legacy emulation. The HC decodes accesses to I/O registers 60h and 64h and generates IRQ1 and/or IRQ12 when appropriate. Additionally, the HC generate s an emulation interrupt at appropriate times to invoke the emulation software.
Register 104h
HceInput Register
Default Value: 00000000h Access: Read/Write BIT 31:8 7:0 ACCESS R/W DESCRIPTION Reserved InputData This register holds data that is written to I/O ports 60h and 64h. I/O data that is written to ports 60h and 64h is captured in this register when emulation is enabled. This register may be read or written directly by accessing it with its memory address in the Host Controller's operational register space. When accessed directly with a memory cycle, reads and writes of this register have no side effects.
Register 108h
HceOutput Register
Default Value: 00000000h Access: Read/write BIT 31:8 7:0 ACCESS R/W DESCRIPTION Reserved OutputData This register hosts data that is returned when an I/O read of port 60h is performed by application software. The data placed in this register by the emulation software is returned when I/O port 60h is read and emulation is enabled. On a read of this location, the OutputFull bit in HceStatus is set to 0. 196 Silicon Integrated Systems Corporation
Preliminary V2.0 Nov. 2, 1998
SIS5595 PCI System I/O Chipset
Register 10Ch HceStatus Register
Default Value: 00000000h Access: Read/Write BIT 31:8 7 6 5 ACCESS R/W R/W R/W DESCRIPTION Reserved Parity Indicates parity error on keyboard/mouse data. Time-out Used to indicate a time-out AuxOutputFull IRQ12 is asserted whenever this bit is set to 1 and OutputFull is set to 1 and the IRQEn bit is set. Inhibit Switch This bit reflects the state of the keyboard inhibit switch and is set if the keyboard is NOT inhibited. CmdData The HC sets this bit to 0 on an I/O write to port 60h and to 1 on an I/O write to port 64h Flag Nominally used as a system flag by software to indicate a warm or cold boot. InputFull Except for the case of a Gate A20 sequence, this bit is set to 1 on an I/O write to address 60h or 64h. While this bit is set to 1 and emulation is enabled, an emulation interrupt condition exists. OutputFull The HC sets this bit to 0 on a read of I/O port 60h. If IRQEn is set and AuxOutputFull is set to 0, then an IRQ1 is generated as long as this bit is set to 1. If IRQEn is set and AuxOutputFull is set to 1, then an IRQ12 is generated as long as this bit is set to 1. While this bit is 0 and CharacterPending in HceControl is set to 1, an emulation interrupt condition exists. The contents of the HceStatus Register are returned on an I/O Read of port 64h when emulation is enabled. Reads and writes of port 60h and writes to port 64h can cause changes in this register. Emulation software can directly access this register through its memory address in the Host Controller's operational register space. Accessing this register through its memory address produces no side effects.
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
Preliminary V2.0 Nov. 2, 1998
197
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
8
8.1
ELECTRICAL CHARACTERISTICS
SIS5595 INTERNAL POWER PLANES
UV0+ UV0-
UV1+
USB I/O
USBVDD USBVSS
DVDD DVSS
UV1-
General I/O Pads
OVDD OVSS
DAM Analog Interface
AVDD AVSS
RTC
RTCVDD RTCVSS
KBC
KBCVDD DVSS
DAM I/O
AVDD AVSS
RTC I/O
RTCVDD RTCVSS
KBC I/O
KBCVDD OVSS
PWRGD OSC32KHO/RTCCS#
PSRSTB#
GPIO10/PME1#/ACPILED
GPO6/CKE_S/ACPILED
Figure 8.1-1 SIS5595 Internal Power Planes DAM: Data Acquisition Module Preliminary V2.0 Nov. 2, 1998 198 Silicon Integrated Systems Corporation
GPIO5/PME0#/DUAL_ON#
GPIO2/KBCLK GPIO1/PMCLK KBDAT/IRQ1 PMDAT/IRQ12
PS_ON#/RTCALE PWRBT#
OSC32KHI/IRQ8
GPI15/VIN3
GPI14/VIN2
GPI13/VIN1
GPI12/VIN0
DXP/VIN4
RING
DXN
SIS5595 PCI System I/O Chipset
8.2 ABSOLUTE MAXIMUM RATINGS Table 8.2-1 Min. and Max. Voltage and Temperature Table PARAMETER Ambient operating temperature Storage temperature Input voltage Output voltage MIN. 0 -40 -0.3 -0.5 MAX. 70 125 5.5 5.5 UNIT
V V
Note: The stress test condition listed above may cause permanent damage to device. 8.3 DC CHARACTERISTICS Table 8.3-1 SIS5595 DC Characteristics Table Ta=0-70 Celsius, VSS=0V, VDD=5V+/-5% SYMBOL VIL1 VIH1 VIL2 VIH2 VIL3 VIH3 VOL VOH IOL1 IOL2 IOH2 IOL3 IOH3 IOL4 IOH4 IOL5 IOH5 IIH IIL CIN COUT CI/O PARAMETER Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Input Low Voltage Input High Voltage Output Low Voltage Output High Voltage Output Low Current Output Low Current Output High Current Output Low Current Output High Current Output Low Current Output High Current Output Low Current Output High Current Input Leakage Current Input Leakage Current Input Capacitance Output Capacitance I/O Capacitance MIN -0.3V 3.2V -0.3V 1.8V -0.3V 2.0V 2.4V 0.7mA 4mA 4mA 6mA 6mA 8mA 8mA 16mA 16mA -10uA 10uA 12pF 12pF 12pF Fc=1MHZ Fc=1MHZ Fc=1MHZ MAX 1.6V VDD+0.3V 0.8V VDD+0.3V 0.8V VDD+0.3V 0.45V NOTE Note1 Note1 Note1 Note1 Note1 Note1 Note1 Note1 Note2 Note2 Note2 Note2 Note2 Note2 Note2 Note2 Note2
Preliminary V2.0 Nov. 2, 1998
199
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
Note 1 : * VIL1/VIH1 Apply to following pins: PWRGD, PSRSTB# * VIL2/VIH2 Apply to following pins: GPI[15:12]/VIN[4:0], IRQ[3,4,5,6,7,9,10,14,15], GPIO3/CPU_STOP3/SLP# GPIO7/OC0#/PPS GPIO8/OC1#,GPIO2/KBCLK GPIO1/PMCLK GPIO16/IOCHK# GPIO4/FAN1 GPIO11/FAN2 GPIO5/PME0#/DUAL_ON# GPIO9/THERM#/BTI/SMBALERT# OSC32KHI/IRQ8# GPIO10/PMU1#/ACPILED PWRBT# * VIL3/VIH3 Apply to the rest input or bi-directional pins. Note 2 : * IOL1 Apply to following pins: INIT, CPURST, NMI, INTR * IOL3/IOH3 Apply to following pins: IORC#, IOWC#, MWDC#, MWTC#, SMRDC#, SMWTC# IOCHRDY, RFH#, BCLK, BALE, AEN, SHBE#, UV0+, UV0-, UV1+, UV1-
Preliminary V2.0 Nov. 2, 1998
200
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
* IOL4/IOH4 Apply to following pins: DDCCLK, DDCDAT, PCIRST#, AD31~AD0, FRAME#, IRDY#, DEVSEL#,TRDY#,STOP#, GPIO0/PAR * IOL5/IOH5 Apply to following pins: KBDAT/IRQ1, GPIO2/KBCLK, PMDAT/IRQ12, GPIO1/PMCLK, GPO6/CKE_S#/ACPILED, * IOL2/IOH2 Apply to the rest output or bi-directional pins
Preliminary V2.0 Nov. 2, 1998
201
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
8.4
INTERNAL RTC POWER CONSUMPTION Table 8.4-1 RTC Power Consumption Table RTCVDD (V) 3.6 3.3 3.0 2.7 2.4 2.1 1.8 OPERATION CURRENT (uA) 5.5 4.5 3.6 2.9 2.3 1.7 1.3 POWER CONSUMPTION (uW) 18 14.85 10.8 7.83 5.52 3.57 2.34
The minimum operation voltage of internal RTC (RTCVDD) is 2.0V, the recommended voltage is 2.2V to 2.7V.
Preliminary V2.0 Nov. 2, 1998
202
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
8.5
AC CHARACTERISTICS
8.5.1 SIS5595 DMA CONTROLLER AC CHARACTERISTICS Table 8.5-1 DMA Controller AC Characteristics Table SYM T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12 T13 T14 T15 T16 T17 T18 T19 T20 T21 T22 T23 T24 T25 T26 T27 T28 T29 T30 T31 T32 T33 T34 PARAMETER DACK# active to IORC# active DACK# active to IOWC# active DACK# active hold from IORC# inactive DACK# active hold from IOWC# inactive AEN active to IORC# active AEN active to IOWC# active AEN inactive from IORC# inactive AEN inactive from IOWC# inactive BALE active to IORC# active BALE active to IOWC# active BALE inactive from IORC# inactive BALE inactive from IOWC# inactive LA,SA,SBHE# valid setup time to MRDC# LA,SA,SBHE# valid setup time to MWTC# LA,SA,SBHE# valid hold time from MRDC# LA,SA,SBHE# valid hold time from MWTC# IORC# pulse width IOWC# pulse width MRDC# pulse width MWTC# pulse width MWTC# active from IORC# active IOWC# active from MRDC# active IORC# inactive from MWTC# inactive MRDC# inactive from IOWC# inactive IORC# inactive to active IOWC# inactive to active data valid setup to IOWC# inactive data valid hold from IOWC# inactive TC active setup to IOWC# inactive TC active hold from IOWC# inactive CHRDY inactive from MRDC# active CHRDY inactive width MRDC# active hold from CHRDY active MWTC# active hold from CHRDY active 203 MAX MIN 136.5 375.2 112.6 170.7 1.192 1.430 297.5 355.6 367.1 607.8 193.1 251.2 239.3 477.9 75.7 133.7 767.8 471.0 766.9 470.3 239.7 237.1 57.8 58.7 192.2 489.0 505.6 89.1 480.5 127.8 344.4 253.8 223.8 UNIT ns ns ns ns us us ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns CL 35pf 35pf 35pf 35pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf 120pf
31.9
Preliminary V2.0 Nov. 2, 1998
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
BCLK DACK# CHRDY
T31 T22 T19 T2 T24 T4 T18 T10 T34 T8 T12 T26
T32
T33
MRDC#
IOWC#
T6
MWTC#
T1 T5 T9 T13
T21
T20 T23 T17 T3 T7 T11 T15 T25
IORC#
SA[19:0] SBHE# LA[23:17] SD[15:0]
T14 T27
T16 T28
AEN BALE
T29 T30
TC
Figure 8.5-1 DMA Cycles 8.5.2 SIS5595 PCI-TO-ISA CYCLES AC CHARACTERISTICS Table 8.5-2 PCI-TO-ISA Cycles AC Characteristics Table SYM T1 T2 PARAMETER MAX BCLK cycle time IORC# 4.6 IOWC# inactive from BCLK rising 4.4 MRDC# 4.8 MWTC# 4.9 LA[23:17] valid to M16# assertion 202.2 SA[19:0] valid to IO16# assertion 358.8 16 bit IORC# pulse width 16 bit IOWC# pulse width 8-bit IORC# pulse width 8-bit IOWC# pulse width 16-bit MRDC# pulse width 16-bit MWTC# pulse width 8-bit MRDC# pulse width 8-bit MWTC# pulse width 204 MIN 120 UNIT ns ns CL 120pf 120pf
T3 T4 T5 T6 T7 T8
169.8 169.5 529.8 529.5 230.1 229.5 529.7 529.1
ns ns ns ns ns ns
120pf 120pf 120pf 120pf 120pf 120pf
Preliminary V2.0 Nov. 2, 1998
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
T9 T10 T11 T12
T13
T14 T15 T16 T17 T18 T19 T20 T21 T22 T23
ROM MRDC# pulse width ROM MWTC# pulse width SD data setup time to IORC#, MRDC# inactive SD data hold time to IORC#, MRDC# inactive SD[15:0] setup time to 16-bit IOWC# active SD[15:0] setup time to 8-bit IOWC# active SD[15:0] setup time to 16-bit MWCT# active SD[15:0] setup time to 8-bit MWCT# active SD hold time from IOWC# inactive--disassembly cycle SD hold time from MWTC# inactive--disassembly cycle SD[15:0] hold time from IOWC# inactive SD[15:0] hold time from MWTC# inactive SA0, SA1, BXSBHE# hold time from the negation of IORC#, IOWC#, MWTC#, MRDC# ZWS# setup time to BCLK falling ZWS# hold time from BCLK falling LA[23:17] setup time to BALE falling LA[23:17] hold time to BALE falling LA[23:17] setup time to MWTC# falling SA[19:0] setup time to command active (8bits) SA[19:0] setup time to command active (16bits) SA[19:0] setup time to BALE falling
110.1 109.5 10 3 214.9 214.9 157 215.9 78 77.4
ns ns ns ns
120pf 120pf 120pf 120pf
ns
120pf
8 171.6 52.5 10 20 305.2 654.8 320.2 343.6 285.2 281.8
ns ns ns ns ns ns ns ns ns ns
120pf
120pf 120pf
Preliminary V2.0 Nov. 2, 1998
205
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
T1
BCLK BALE
T2
IORC# / IOWC# MWDC#/MRDC#
T5 ~ T9
M16#
T3
IO16# ZWS#
T20 T4
T16
T17
LA[23:17]
T18 T19
SA[19:0]
T21, T22 T23 T10
SD[15:0] (READ)
T11 T12
SD[15:0] (WRITE)
T13, T14 T15
BXSBHE#, SA0, SA1
Figure 8.5-2 The AC Timing Diagram of PCI to ISA Bus Cycles 8.5.3 SIS5595 MISC. AC CHARACTERISTICS Table 8.5-3 MISC. AC Characteristics Table SYM T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 PARAMETER INIT active delay from PCICLK INIT inactive delay from PCICLK PCIRST# inactive delay from PCICLK RFH# active setup to MRDC# active RFH# active hold from MRDC# inactive AEN active delay from RFH# active SERR#, IOCHK# active to NMI output floating active INT output floating delay from IRQ active IRQ active pulse width(in the edge trigger mode) IGNE # active delay from IOWC# active for port F0H access IGNE# inactive delay from FERR# inactive 206 MAX MIN UNIT ns ns ns ns ns ns ns ns ns ns ns CL 35pf 35pf 50pf 120pf 120pf 120pf
341.7 9 30 13.4 60.3 20.2 30
Preliminary V2.0 Nov. 2, 1998
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
T12 T13 T14 T15 T16 T17 T18 T19 T20
SPKR valid delay from 14Mhz 12.57 RTCALE pulse width 529.9 RTCALE active delay from IOWC# active 11.96 PCIRST# active time after Power stable CPURST active time after Power stable Hard trap active time after CPURST inactive INIT active time after shut down special cycle or keyboard fast reset cycle INIT active time CPURST active time after shut down special cycle or keyboard fast reset cycle
1 1 7
ns ns ns ms ms
PCICLK
15 1
PCICLK
ms
Preliminary V2.0 Nov. 2, 1998
207
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
T3
PCICLK
T16
PWRGD
T15
PCIRST#
RSTDRV CPURST
T17
PIITRAP
MRDC#
T4 T5
SERR#, IOCHK#
T7
RFH#
AEN
T6
NMI
T9
FERR#
T10 T11
IRQ IGNE#
T8
INT IOWC#
T1
T2
PCICLK
T18
FRAME#
T19
INIT (P5)
INIT (P6)
CPURST
T20
Figure 8.5-3 Miscellaneous Timing
Preliminary V2.0 Nov. 2, 1998
208
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
9
9.1
MECHANICAL DIMENSION
SIS5595 (PQFP 208-PIN PLASTIC FLAT PACKAGE)
Unit : mm
3 0.6+ 0. 3 2 8 .0 + 0 . 2
156 10 5
157
1 04
208
53
1
52
1. 2 5T Y P 0 .5 + 0 .1 0. 2+ 0.1
0 .0 8
M
0.1 2 9 .6 + 0 .3
0 . 5 + 0 .2
Figure 9.1-1 SIS5595 Package Specification
Preliminary V2.0 Nov. 2, 1998
209
Silicon Integrated Systems Corporation
SIS5595 PCI System I/O Chipset
10
COPYRIGHT NOTICE
COPYRIGHT 1998, Silicon Integrated Systems Corp. ALL RIGHTS RESERVED. This manual is copyrighted by Silicon Integrated Systems Corp. You may not reproduce, transmit, transcribe, store in a retrieval system, or translate into any language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual, or otherwise, any part of this publication without the expressly written permission of Silicon Integrated Systems Corp. TRADEMARKS SiS is a registered trademark of Silicon Integrated Systems Corp. All brand or product names mentioned are trademarks or registered trademarks of their respective holders. DISCLAIMER Silicon Integrated Systems Corp. makes no representations or warranties regarding the contents of this manual. We reserve the right to revise the manual or make changes in the specifications of the product described within it at any time without notice and without obligation to notify any person of such revision or change. Our customers provide the information contained in this manual for general use. Our customers should be aware that the personal computer field is the subject of many patents. Our customers should ensure that they take appropriate action so that their use of our products does not infringe upon any patents. It is the policy of Silicon Integrated Systems Corp. To respect the valid patent rights of third parties and not to infringe upon or assist others to infringe upon such rights. RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure by the Government is subject to restrictions set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at 252.277-7013.
Preliminary V2.0 Nov. 2, 1998
210
Silicon Integrated Systems Corporation


▲Up To Search▲   

 
Price & Availability of SIS5595

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X