QLogic Corporation GEM359 Guardian Enclosure Management Controller

Data Sheet

Features Product Description Compliance with SCSI Accessed Fault Tolerant The GEM359 is the latest addition to QLogic’s Enclosures (SAF-TE) specification, version 1.00 enclosure management product line. Designed as a and addendum complete chassis management controller for SCSI and Compliance with SCSI-3 Enclosure Services enclosures, the highly integrated GEM359 Command Set (SES) draft, version 8.0b monitors all aspects of a server’s backplane or storage Compliance with Intelligent Platform Management enclosure. The chip provides in-band SAF-TE and SES Interface (IPMI), version 1.0 management through the SCSI interface or from the Low Voltage Differential (LVD) SCSI interface SFF-8067 (ESI) ports on Fibre Channel drives. The GEM359 also supports the IPMI specification by providing SCSI-3 compatible management data to a baseboard management controller Two small form factor (SFF)-8067 interfaces for through the IPMB. Fibre Channel applications Users can implement the GEM359 for a variety of Two I2C interfaces for connectivity to I2C devices applications, from a simple hot swap or SCSI drive such as a temperature sensor, NVRAM, and the backplane controller in a server to a full-featured chassis Intelligent Platform Management Bus (IPMB) management controller for a storage subsystem. The Embedded Universal Asynchronous advanced feature set allows management of the hot swap Receiver/Transmitter (UART), 16550 compatible, drives and monitors all the environmental and control provides a serial port that can be used as a debug port functions of the chassis or backplane. Up to 14 drive slots supported The GEM359 has 59 input and output pins that allow 59 general purpose input/output pins extensive user customization. These pins allow users to ❒ 39 bidirectional pins define the number of drive slots (up to 14), power supplies, ❒ 20 dedicated output pins temperature sensors, door locks, and other components Four fan tachometer inputs for fan speed monitoring specific to the design. In addition, the GEM359 supports Three Pulse Width Modulator (PWM) outputs for fan tachometer inputs and pulse width monitor outputs, fan speed control providing the system with specific fan monitoring and Automatic notification of environmental failure control.To monitor other characteristics, the GEM359 can control the status LEDs and set thresholds on temperatures Watchdog and heartbeat timers and fan speeds. 144-pin Low profile Quad Flat Pack (LQFP) To minimize development time, QLogic supplies the GEM configuration utility software provided user with the GEM Configuration Utility. This easy to use, Firmware is provided for the following interfaces menu driven software tool configures various GEM359 (contact QLogic for availability): parameters, which eliminates the need to customize the ❒ SCSI accessed fault-tolerant enclosures code for most applications. (SAF-TE) ❒ SCSI-3 enclosure services (SES) ❒ Intelligent platform management interface (IPMI) and Intelligent Platform Management Bus (IPMB) ❒ Fan tachs and PWMs Evaluation boards available

33359-580-00 C GEM359 1 QLogic Corporation

The GEM359 block diagram is illustrated in figure 1.

GEM359

INT LED/ADR ADR/LED TWO SFF-8067 OUTPUTS MUX CPU INT INTERFACE MODULES

EXT. CONTROL MEMORY FLASH DATA MUX INT I2C SCSI CORE I2C DEVICES MASTER SLAVE SCSI SAF-TE INT COMMAND REGISTERS PROCESSOR INT I2C IPMB MASTER CNTR SLAVE DECODER REG SCSI BUS OR INT TWO SFF-8067 UART SCSI PORTS STATUS

BIDIR GPIO FIFO DATA I/O IN/OUT CLOCK TIMER AND INT WATCHDOG PARITY FAN SPEED IN FAN TACH IN/OUT

FAN SPEED CONTROL PWM

Figure 1. GEM359 Block Diagram

Applications Figure 2 illustrates the GEM359 in a typical SCSI application. Figure 3 illustrates the GEM359 in a typical Fibre Channel application.

SCSI BUS SCSI HOST

GLOBAL ALARM SCSI DISK DRIVES

FRU LM75 LED CONTROL SLOT STATUS

I2C GPIO I2C BUS IPMI DATA I2C TO HOST IPMB GEM359 GPIO

GPIO TACH PWM SCSI BUS

FAN POWER FAN SPEED SPEED SUPPLY CONTROL

Figure 2. GEM359 SCSI Application

2 GEM359 33359-580-00 C QLogic Corporation

GLOBAL ALARM FC HOST

SLOT CONTROL DUAL LOOP FC DRIVE FRU LM75 LEDS CONFIGURATION SFF8067

2 GPIO SFF8067 2 I C I C BUS (ESI) PORT 0 IPMI DATA I2C TO HOST IPMB GEM359 SFF8067 (ESI) PORT 1 GPIO TACH PWM

FAN SPEED FC BUS POWER SFF8067 SUPPLY

FAN SPEED CONTROL PORT BYPASS CONTROL CIRCUIT

LEGEND ESI = ENCLOSURE SERVICES INTERFACE FRU= FIELD REPLACEABLE UNIT FC HOST

Figure 3. GEM359 Fibre Channel Application

IPMI Application GEM Configuration Utility Users can easily integrate the GEM359 into systems The menu-driven, Windows NT and Windows 2000 that support the IPMI specification. Internal server compatible GEM configuration utility allows the user to backplanes typically utilize the GEM359 as a hot swap configure the GEM359 to meet the requirements of their controller that uses one of the I2C interfaces as an system, all without writing a single line of code. This tool intelligent platform management bus (IPMB). The IPMB performs various functions, including updating the flash connects to the servers’ baseboard management controller ROM and configuring all the GPIOs. The GEM (for example, QLogic’s Zircon chip), as shown in figure 4. configuration utility allows users to specify a variety of

options, including: SERVER Number of device slots SCSI SCSI or Fibre Channel ID of each slot SERVER BACKPLANE Number of fans, power supplies, temperature -TEMP -DEV_INS sensors -VOLTAGE -P/S GEM359 -LED CTRL -CONFIG Upper and lower temperature thresholds FRU Audible alarm and door lock installed

SDR This complete solution provided by QLogic reduces -SERVER IPMB development costs and improves time to market for new -STORAGE 2 and future systems. I C ZIRCON BMC In addition, SES, SAF-TE, and IPMI firmware are SEL FRU planned for system designers needing a highly customized -SERVER -STORAGE solution.

LEGEND FRU = FIELD REPLACEABLE UNIT SDR= SENSOR DATA RECORD SEL= SYSTEM EVENT LOG

Figure 4. Hot Swap Controller

33359-580-00 C GEM359 3 QLogic Corporation

Figures 5 through 7 illustrate some of the configuration screens from the GEM utility. These figures show how the user can configure the GEM359 to meet the specific requirements of their applications by selecting the features that the device needs.

Figure 5. Edit Enclosure Configuration Screen

4 GEM359 33359-580-00 C QLogic Corporation

Figure 6. Edit Operational Parameter Data Screen (1 of 2)

Figure 7. Edit Operational Parameter Data Screen (2 of 2)

33359-580-00 C GEM359 5 QLogic Corporation

Hardware Functional Description Pulse Width Modulator (PWM) SCSI Interface The GEM359 PWM has the following features: Three PWM outputs are provided for fan speed The GEM359 SCSI interface has the following control or tone generation. features: The fan speed is set to 80 percent; if a fan fail or On-chip 48-mA and LVD SCSI transceivers temperature out-of-range condition occurs, the fan LVD and single-ended SCSI operation (multimode) speed is increased to 100 percent. with a differential sense input that automatically PWM outputs are driven by open-drain, 6 mA pads selects the operating mode that provide enough drive to control the fan speed Eight-bit, asynchronous SCSI data transfers (in logic. compliance with the SAF-TE specification) Unused PMW outputs can be assigned as GPIO Wide SCSI addressing with hardware assignable pins. SCSI IDs Multiple initiator support General Purpose Input/Output (GPIO) Two SFF-8067 ports for Fibre Channel The GEM359 has 59 individually programmable I/O implementations pins with following features: Fibre Channel loop identifiers are read from an 39 open-drain output, bidirectional pins external port or stored in the GEM359 configuration 20 dedicated output pins table. Functions assigned using the GEM utility software Ultra2 and Ultra3 compatible (check for feature availability) Tachometer Counters Pins can monitor and/or control audible and visual indicators, door locks, power supplies, intrusion The GEM359 tachometer counters have the following alert signals, port bypass control circuits, etc. features: Four tachometer counter modules are incorporated Software Functional Description to monitor the speed of up to four fans. Fan inputs can also be used as GPIO pins. SCSI Command Set The following SCSI commands are supported: Universal Asynchronous Inquiry Receiver/Transmitter (UART) Read Buffer The GEM359 UART can be used as a firmware debug Write Buffer port. Test Unit Ready Request Sense I2C Serial Bus Send Diagnostic The GEM359 I2C serial bus has the following features. Receive Diagnostics Upload Firmware System configuration can be read from an external EEPROM through the I2C bus. SAF-TE Command Set (Parallel SCSI Slot power status can be saved to an external Configurations) EEPROM through the I2C bus. 2 The following SAF-TE commands for parallel SCSI Two independent master/slave I C interfaces are are supported: provided. Read Enclosure Configuration 100K-bits and 400K-bits operations supported Read Enclosure Status Multimaster arbitration and slave generated wait Read Device Slot Status states supported Read Global Flags Clock stretching supported Write Device Slot Status I2C interfaces incorporate eight-bit FIFO for data Perform Slot Operation transfers Send Global Flags Read/write pass-thru data port allows the host to communicate with I2C devices external to the GEM359. (For example, an LCD display can be driven from the I2C.)

6 GEM359 33359-580-00 C QLogic Corporation

SES Command Set (Fibre Channel and SCSI Control Functions Configurations) The following list summarizes the GEM359 control The following SES pages are supported: functions: 00h Supported Diagnostics (parallel SCSI) LED on/off /flashing pattern 01h Configuration Speaker on/off 02h Enclosure control Enclosure temperature alert on/off Enclosure status Enclosure power on/off 04h String Out (download firmware and Slot locked or unlocked configuration) Uninterrupted power supply (UPS) enable and String In (upload configuration) disable control (SES) IPMI Command Set Global alarm on/off The following IPMI commands are supported: Global fail on/off Global commands Bypass port (Fibre Channel) enable and disable FRU commands control Sensor commands Upload configuration files and firmware Event commands Vendor-unique control Management Features Enclosure Configuration Parameters GEM Utility Software The following parameters are user programmable: The GEM utility, a Windows 98, Windows NT, and Number of device slots Windows 2000 compatible application, provides the Number of fans following features: Number of power supplies Set pin assignments and operating configurations Number of temperature sensors Download firmware to flash ROM Temperature threshold value Create, save, and download configuration files to Audible alarm installed the GEM controller Door lock installed Performs diagnostics: executes SCSI and SAF-TE UPS supported (SES) commands on selected SCSI targets Product identifier Enclosure identifier Enclosure Status Data SCSI channel identifier The following enclosure status data is provided: SCSI ID or Fibre Channel-Arbitrated Loop Device slot status: (FC-AL) ID of each device slot 2 ❒ Drive present I C pass-thru bus enable/disabled ❒ Slot address Automatic notification of global failure status can ❒ Swap be enabled/disabled. A mask encoding is provided ❒ Identify to the system designer to define a global failure ❒ Prepare for removal/insertion condition, for example, that fans or power supplies ❒ Prepare for operation have failed. ❒ Unconfigured drive I2C bus parameters Power supply status (present, failure) GEM busy indicator Fan status (present, failure) Technical Specifications Temperature status (present, value, failure) Door lock status (present, unlocked/locked state) Power requirements: Audible alarm (on/off) ❒ 3.3 volts +/- 5% UPS (present, failure) (SES) ❒ 384 mA maximum ❒ SCSI bus operating mode (single-ended, LVD, 60 mA standby HVD) Clock frequency of 25 MHz Vendor-unique status from external devices GPIO pins are 5-V tolerant. All status inputs are Schmitt trigger receivers.

33359-580-00 C GEM359 7 QLogic Corporation

All status inputs can be asynchronous to the Embedded CPU is reset at power up or optionally GEM359 clock. by a SCSI bus reset. Requires an external eight-bit, nonvolatile memory Code memory is parallel – flash or EPROM. device (E/PROM) of 64K or larger External 16-byte decodes for I/O (chip select pin: Intel or AMD/Fujitsu flash ROM algorithm CPU_STRB) supported External interrupt supported National Semiconductor LM75 (or equivalent) Breakpoint registers incorporated temperature sensor supported Timer output provided 144-pin LQFP package

The following are trademark acknowledgements: AMD is a trademark of Advanced Micro Devices, Inc. Intel is a trademark of Intel Corporation National is a trademark of National Semiconductor Corporation. All other brand and product names are trademarks or registered trademark of their respective holders.

Specifications are subject to change without notice. QLogic is a trademark of QLogic Corporation.

©October 6, 2000 QLogic Corporation, 26600 Laguna Hills Drive, Aliso Viejo, CA 92656, TEL: (800) 867-7274 or (949) 389-6000

8 GEM359 33359-580-00 C