NXP Semiconductors P4080 User Manual

Freescale Semiconductor
User Guide
Document Number: P4080DSUG
Rev. 0, 07/2010
P4080 Development System User’s Guide
by Networking and Multimedia Group
Freescale Semiconductor, Inc. Austin, TX

1Overview

The P4080 development system (DS) is a high-performance computing, evaluation, and development platform supporting the P4080 Power Architecture® processor. The P4080 development system’s official designation is P4080DS, and may be ordered using this part number.
The P4080DS is designed to the ATX form-factor standard, allowing it to be used in 2U rack-mount chassis, as well as in a standard ATX chassis. The system is lead-free and RoHS-compliant.
Contents
1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2. Features Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
3. Block Diagram and Placement . . . . . . . . . . . . . . . . . . 4
4. Evaluation Support . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5. Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
6. Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
7. Programming Model . . . . . . . . . . . . . . . . . . . . . . . . . 45
8. Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
A. References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
© 2011 Freescale Semiconductor, Inc. All rights reserved.
Features Summary

2 Features Summary

The features of the P4080DS development board are as follows:
Support for the P4080 processor — Core processors
– Eight e500mc cores – 45 nm SOI process technology
— High-speed serial port (SerDes)
– Eighteen lanes, dividable into many combinations – Five controllers support five add-in card slots. – Supports PCI Express, SGMII, Nexus/Aurora debug, XAUI, and Serial RapidIO®.
— Dual DDR memory controllers
– Designe d for DDR3 support – One-per-channel 240-pin sockets that support standard JEDEC DIMMs
— Triple-speed Ethernet/ USB controller
– One 10/100/1G port uses on-board VSC8244 PHY in RGMII mode. – One USB ULPI – Combo USB/RJ45 stack
— Local bus
– 128-Mbyte NOR Flash (fast boot) – PromJet debug port
— eSDHC
– Connects to SDMedia card slot for boot code or mass storage
—SPI
– 16-Mbyte EEPROM device for boot code and storage
—I2C
– Three contr ollers
2
C-based, real-time clock and battery-backed SRAM
–I – EEP ROM storage for boot-sequencer, SystemID, ngPIXIS(FPGA) processor code, and so
on
— UART
– Two serial ports at up to 115200 Kbps
— Debug features
– Both Legacy COP/JTAG and Aurora/Nexus debug support – EVT support
— Package
– 1295-pin, 1 mm pitch BGA – Socket and solder attach can be supported.
P4080 Development System User’s Guide, Rev. 0
2 Freescale Semiconductor
Features Summary
System Logic ngPIXIS(FPGA) — Manages system reset sequencing — Manages system and SerDes clock speed selections — Implements registers for system control and monitoring — Manages boot and RCW source selection — Internal 8-bit MCU allows independent VCore/temperature monitoring and reconfiguration.
•Clocks — System clock
– SYSCLK switch settable to one of eight common settings in the interval 66 MHz–133 MHz. – S oftware settable in 1-MHz increments from 1–200 MHz.
— SerDes clock
– S upports three domains – 100-MHz, 125-MHz and 156.25-MHz configurations to support PCI Express, SGMII and
XAUI
Power supplies — Three dedicated programmable regulators supplying two cores and platform power pools — PMBus control — GVDD (DDR power) and VTT/VREF adjustable for DDR3 — 2.5-V power for Ethernet PHY
P4080 Development System User’s Guide, Rev. 0
Freescale Semiconductor 3

3 Block Diagram and Placement

P4080
ULI
,
SATA
Add-in
Card
SATA
Add-in
Card
USB
1
CPU B DDR2
DUART
2
I2C
3
JTAG
Plug-INPlug-IN
CPU 0:3 CPU 4:7 Platform/Serdes
DDR3Regulator
RCW
NOR FLASH RCW
NOR FLASH
DDR3 1
DDR3 DIMM
DDR3 2
DDR3 DIMM
x2
x2
PCI Exp 2.0 Video slotPCI Exp 2.0 Video slot
PCI Exp 2.0 slot/ SRIO/ SGMII
x4
System Control /PM Logic FPGA
Local BusLocal Bus
Emulator
PromJet Emulator
PromJet
SYS/PEX
Clocks
SGMII/XAUI Riser Slot
SPI
4- bit S D/MM C4- bit S D/MM C Each riser
supports 1 XAUI OR 4 SGMII using x4 lanes
Three power pools supported by three independent programmable regulators
SGMII/XAUI Riser Slot
FlashFlash
(OCTAL CORE)
Regulators
AB CD E-H
Bank3 A-D
Bank1
FLASH/RCWFLASH/RCW
X2X2
Auror a DEBUGAuror a DEBUG
IJ
RTC/BATRTC/BAT
COP Legac y connCOP Legac y conn R un Control/Trace connRun Control/Trace conn
PCI Exp 2.0 Video slotPCI Exp 2.0 Video slot
TSE C x1
10/100/1G RGMII10/100/1G RGMII
X4X4
X4
Bank2 A-D
This figure shows the major functions of the P4080DS.

Figure 1. Block Diagram

This figure highlights more difficult-to-find connections that are commonly used.
Notes:
I2C HEADERS
AURORA and LEGACY COP CONNECTORS
ATX POWER CONNECTORS
CPU FAN HEADER
Block Diagram and Placement
Freescale Semiconductor 5

Figure 2. Expedition Top View

P4080 Development System User’s Guide, Rev. 0
Evaluation Support

4 Evaluation Support

The P4080DS is intended to evaluate as many features of the P4080 as are reasonable within a limited amount of board space and cost limitations. This table shows an evaluation of the P4080DS.

Table 1. P4080DS Evaluation Summary

P4080 Feature Evaluation Support/Methods
SerDes • Connects to PCI Express slots for use with graphics or other PEX cards
• Testable via PCI Express card (typically graphics) or Catalyst
• Traffic monitoring via Tek/Agilent passive mid-point probing
Memory Controller
DDR3
eSDHC Supports SDMedia cards and MMC cards
SPI Supports standard and x4 devices
Local Bus • 1 bank of 16-bit, 8-Mbyte–1-Gbyte Flash (64 Mbytes by default)
Serial • UART supports two 4-wire serial ports.
2
I
CI
Clocking • Digitally settable SYSCLK and DDRCLK clock generator
• Combined GVDD (VIO), VTT and MVREF supplies
• Debugging uses Tek/NextWave analyzer breakout cards.
• No special MECC/debug tap
• Option for PromJet access
• System controller (ngPIXIS) registers implementing the following: board ID, VDD control, frequency reset, self-reset reset, and so on
2
C bus #1 for the following:
• Boot initialization code
• System EEPROM (MAC address storage, serial number, and so on)
• PMBus power regulator control
2
•I
C bus #2 for the following:
• DDR bus DIMM module SPD EEPROMs
• PCI/PCI Express slots (as “SMBus”)
• ngPIXIS access
• Switch-selectable coarse settings
• Software-selectable fine settings
TM
PCI Express control/monitoring card
• SerDes reference clocks to SerDes on P4080, NVidia, and slots
• Reference clock
GPIO • All GPIO attached to test 0.1” header
• Some GPIO have predefined board functions that can be eliminated.
DMA Controlled and executable by ngPIXIS logic.
IRQs EVENT switch normally asserts IRQ* but can drive SRESET0, and/or SRESET1 via software setting.
Power • VDD (VCORE+VDD) VID switch-settable
• ngPIXIS software-monitored/controlled voltages

4.1 Development System Use

For general hardware and/or software development and evaluation purposes, the P4080DS can be used just like an ordinary desktop computer. In the absence of special hardware or software configuration, the P4080DS operates identically to a development/evaluation system such as ArgoNavis(8641DS) or other
P4080 Development System User’s Guide, Rev. 0
6 Freescale Semiconductor
Evaluation Support
P4080DS
members the HPC family. This figure shows an example of the P4080DS system in a desktop configuration.

Figure 3. P4080DS Desktop Configuration

4.2 Rackmount Server Use

For use in a rackmount chassis, the P4080DS requires the following modifications:
Low-profile heatsink
Non-socketed board
Otherwise, it is similar to the desktop case.

4.3 Embedded Use

For general embedded hardware and/or software development and evaluation purposes, the P4080DS can be used just like an ordinary desktop computer. Perpiherals and embedded storage can be connected to the PromJet superset connector .
The ngPIXIS FPGA is used to provide startup configuration information for DINK, UBOOT or Linux and other advanced features are used or ignored.

4.4 AVP-Controlled Evaluation

For many test situations, it is desirable to download a test vector program and run the results. The P4080DS can do this by using a PCI-based control card, such as the DataBlizzard, or a PCI Expres s-based control
P4080 Development System User’s Guide, Rev. 0
Freescale Semiconductor 7
Architecture
card, such as Freescale’s Komodo card, either stand-alone or in coordination with the ngPIXIS. This table lists an overview example of the steps required to accomplish this.

Table 2. AVP Execution Steps

Step Details
Assert Target Reset Set target reset Control card asserts “flying lead” reset line; alternately, the
ngPIXIS register bit PX_RST[RSTL] is set to ‘0’.
Target processor (not the system) is reset.
Setup New Target Environment Set target core VDD VCTL[VCORE]=1
VCORE=xxxxxxxx
Set requested SYSCLK VCTL[SYSCLK]=1
VSPEED[SYS]=xxx
Restart Target Set target reconfiguration VCTL[GO]=1
System is reconfigured, target processor remains in reset. This may take several milliseconds.
Download Target Download to target execution space. Presumably the DDR and PCIExpress resources were
configured by the I test code to system memory via PCI->DDR path.
Release Target Reset Release target reset Control card deasserted “flying lead” reset line; alternately
Target processor executes code.
Collect Results Results can be extracted from system DDR, PCI Express graphics memory (used as a buffer),
or other memory (SDMedia, Flash, PromJet).
2
C sequencer. If so, a PCIMaster such as the DataBlizzard can simply write
the ngPIXIS register bit PX_RST[RSTL] is set to ‘1’.

5 Architecture

The P4080DS architecture is primarily determined by the P4080 processor, and by the need to provide “typical,” OS-dependent resources (disk, Ethernet, and so on).

5.1 Processor

This table lists the major pin groupings of the P4080.
Table 3. P4080 Pin Groupings Summary
Signal Group Details
Memory Controllers Section 5.1.1, “DDR
SerDes x18 Section 5.1.2, “SerDes x18
Ethernet Section 5.1.3, “Ethernet (EC)
IEEE 1588 Section 5.1.4, “Support for IEEE Std 1588
Local Bus Section 5.1.5, “Local Bus
eSDHC Section 5.1.6, “eSDHC
SPI Section 5.1.7, “SPI Interface
USB Section 5.1.8, “USB Interface
DMA Section 5.1.9, “DMA Controller
P4080 Development System User’s Guide, Rev. 0
8 Freescale Semiconductor
Protocol
Architecture
Table 3. P4080 Pin Groupings Summary (continued)
Signal Group Details
eOpenPIC Section 5.1.10, “eOpenPIC Interrupt Controller
GPIO Section 5.1.11, “GPIO Controller Port
System Control Section 5.1.12, “Control Group
UART Section 5.1.13, “UART Serial Ports
I2C Section 5.1.14, “I
EM1 and EM2 Management Section 5.1.15, “EM1 and EM2 Management Busses
Debug/Power Management Section 5.1.16, “Debug and Power Management
Clock Section 5.1.17, “Clock
Thermal Section 5.1.18, “Temperature
Power Section 5.1.19, “Power
2
C

5.1.1 DDR

The P4080 supports DDR2 and DDR3 devices; however, the P4080DS supports only DDR3 , using industry-standard JEDEC DDR3 2-rank and 4-rank DIMM modules. However, the system is shipped and supported by software to support UDIMM 2-rank modules for targeted vendors. The type and vendor may change as memory availability varies. The memory interface includes all the necessary termination and I/O power, and is routed so as to achieve maximum performance on the memory bus.
P4080 Development System User’s Guide, Rev. 0
Freescale Semiconductor 9
Architecture
P4080
DDR3 DIMM
MRAS
RAS CAS WE
CKE[1:0]
A[15:0]
DQ[63:0]
DQS/DQS DM[8:0]
CB[7:0]
MCAS
MWE
MCKE[1:0]
MCS[3:0]
MA[15:0]
MBA[2:0]
MDQS[8:0]/MDQS[8:0]
MDM[8:0]
MDQ[63:0]
MCK[0:2] MCK[0:2]
MVREF
I2C_SDA I2C_SCK
S[3:0]
BA[2:0]
MECC[7:0]
CK[0:1] CK[0:1]#
RESET#
SDA SCL
VREF
DDR3 Power
VTT
MEM_RST
GVDD
VDD
This figure shows the general DDR memory architecture per controller.
Note that the P4080DS does not directly support the use of the MECC pins to access internal debug information, because the P4080DS does not provide the special multiplexer , and thus has a simpler routing and signal integrity status. On the other hand, the P4080DS does not interfere with this path, so access to debug information on the MECC pins is possible with the use of a NextWave (or equivalent) DDR logic analyzer connector and the use of non-ECC DDR modules.
32-bit DDR3 interface mode is supported; from the viewpoint of the P4080DS board, the unused lower MDQ/MDS/MDM signals are simply inactive.
The DDR3 power supplies the following interface voltages:
Figure 4. P4080DS Memory Architecture per controller
VDD_IO up to 20 W (10 A at 1.5 V nominal)
VDDQ+VTT up to 2 A
MVREF up to 10 mA
P4080 Development System User’s Guide, Rev. 0
10 Freescale Semiconductor
Architecture
5.1.1.1 Compatible DDR-3 Modules
The DDR interface of the P4080DS and the P4080 works with any JEDEC-compliant, 240-pin, DDR3 DIMM module. This table shows several DIMM modules that are believed to be compatible.
Table 4. DDR-3 Modules
Mfg. Part Number Size Ranks ECC Data Rate Verified? Notes
Elpida EBJ21EE8BAFA-DJ-E 2 Gbytes 2 Y 1333 TBD Or later revisions

5.1.2 SerDes x18

The SerDes block provides high-speed serial communications inter fac es f or several internal devic es. The SerDes block provides 18 serial lanes that may be partitioned as shown in this table.
Table 5. SerDes Lane Multiplexing/Configuration
Bank 1 Bank 2 Bank 3
ABCD E F G H I J ABCDABCD
0123 4567891011121314141617
SLOT 1 SLOT 2 SLOT 3
PCIe1
(5/2.5G)
PCIe1
(5/2.5G)
PCIe1
(5/2.5G)
PCIe1 (2.5G)
PCIe1
(5/2.5G)
PCIe1
(5/2.5G)
PCIe1
(5/2.5G)
PCIe3
(5/2.5G)
PCIe3
(5/2.5G)
PCIe3
(5/2.5G)
PCIe3 (2.5G)
PCIe3
(5/2.5G)
PCIe3
(5/2.5G)
PCIe3
(5/2.5G)
PCIe2
(5/2.5G)
PCIe2
(5/2.5G)
PCIe2
(5/2.5G)
4× SGMII FM2 Debug
—sRIO2
(2.5G)
—sRIO2
(2.5G)
—sRIO2
(2.5G)
—sRIO1
(2.5G)
—sRIO1
(2.5G)
—sRIO1
(2.5G)
Aurora
Conn.
Debug
(5/2.5G)
Debug
(5/2.5G)
Debug
(5/2.5G)
(2.5G)
Debug
(5/2.5G)
Debug
(5/2.5G)
Debug
(5/2.5G)
SLOT 4 SLOT 5
4× SGMII FM2 4× SGMII FM1
XAUI FM2 4× SGMII FM1
XAUI FM2 XAUI FM1
XAUI FM2 4× SGMII FM1
4× SGMII FM2 4× SGMII FM1
XAUI FM2 4× SGMII FM1
XAUI FM2 XAUI FM1
Note that the term ‘lane’ is used to describe the minimum number of signals needed to create a bidirectional communications channel; in the case of PCI Expr ess or Serial RapidIO, a lane consists of two differential pairs, one for receive and one for transmit, or four in all.
Table 5, top down, shows three clocking banks: 1, 2, and 3. For Bank1, lanes A–B go to slot 1, C–D to slot
2, E–H go to slot 3, and I–J to the Aurora debug connector. For Bank 2, lanes A–D go to slot 4. For Bank 3, lanes A–D got to slot 5.
This figure shows an overview of Bank1.
P4080 Development System User’s Guide, Rev. 0
Freescale Semiconductor 11
Architecture
P4080
SD_TX/RX[0:1](p,n)
Mid-bus probe
PEX Slot 1
TX/RX[0:1](p,n)
REFCLK_SD1(p,n)
100 MHz
Mid-bus probe
PEX Slot 2
TX/RX[0:1](p,n)
Mid-bus probe
PEX Slot 3
TX/RX[0:3](p,n)
Mid-bus probe
Aurora Conn
TX/RX[1:0](p,n)
SD_TX/RX[2:3](p,n)
SD_TX/RX[4:7](p,n)
SD_TX/RX[8;9](p,n)
PCI Express Cards Only
PCI Express Cards Only
PCI Express and SGMII Cards Only
Figure 5. SerDes Bank1 Configuration
Note that a Mid-bus probe can be used with a logic analyzer to analyze bus activity.
12 Freescale Semiconductor
P4080 Development System User’s Guide, Rev. 0
This figure shows an overview of SerDes bank 2 and 3.
P4080
REFCLK_SD2/3(p,n)
125 MHz
PEX Slot 4
TX/RX[0:3](p,n)
PEX Slot 5
TX/RX[0:3](p,n)
SD_TX/RX[10:13](p,n)
SD_TX/RX[14:17](p,n)
SGMII and XAUI Cards Only
SGMII and XAUI Cards Only
Architecture
Figure 6. SerDes Bank 2 and 3 Configuration.
Note that the Mid-bus probes are not on the development system, but are available on the SGMII and XAUI riser cards. The SD2 and SD3 clocking domains are separate clock generators.
Freescale Semiconductor 13
P4080 Development System User’s Guide, Rev. 0
Architecture
P4080
MI
CLKBUF
EC #2
EC #1
VSC8244
0
1
2
3
GTXCLK
Por t #1
USB Ports
125 MHz
To U S B

5.1.3 Ethernet (EC)

The P4080 supports up to two 10/100/1000baseT triple-speed Ethernet controllers (EC). The P4080DS uses one of these, which is channel EC2, and is connected to the on-board Vitesse VSC8244 PHY (the remaining ports are unused) using the RGMII protocol. Alternately, both ECs may be independently connected to a ULPI USB interface; for the P4080DS, EC1 routes via ULPI to a USB PHY. See
Section 5.1.8, “USB Interface,” for more information.
This table summarizes connections and routing.
Table 6. Ethernet Port Locations
P4080 EC # Connection Port PHY Address Location Notes
2 EC 0 Top port of stack
1 USB na Bottom port of stack
This figure shows the general organization of the Ethernet system.
Figure 7. Ethernet Architecture
The P4080DS uses the ICS8304AMLF to drive the Ethernet GTX clocks with the correct edge rate at
2.5 V. See the Vitesse website for programming information for the VSC8244 PHY.
14 Freescale Semiconductor
P4080 Development System User’s Guide, Rev. 0
Architecture
TX >
P4080
STMP_TX/RX[1:2]
CLKIN
XTALOSC
125.000 MHz ±25 ppm
1588
CLKOUT
TRIGIN[1:2]
ALARMOUT[1:2]
P6880
Debug Header
PULSEOUT[1:2]

5.1.4 Support for IEEE Std 1588™Protocol

The P4080 includes support for the IEEE 1588 precision time protocol (PTP). This facility works in tandem with the Ethernet controller to time-stamp incoming packets.
This figure shows an overview of the IEEE 1588 block.
Figure 8. IEEE-1588 Interface Overview
Freescale Semiconductor 15
P4080 Development System User’s Guide, Rev. 0
Architecture
ngPIXIS FPGA
LALE
LBCTL
LBCS[0:2]_B
LBWE0_B
LBCLK
LBGPL
LA[16:31]
PJOE_B
cfg_lbmap(0:3)
P4080
LAD[0:15]
latch16buffer16
NORXOR
NORCS_B
PJCS_B
PJWE_B
NORWE_B
NOROE_B
LocalBus Debug Header
NorFlash
256MB
PromJET
256MB
PIXIS- FPGA
64B
74ALVCH32973
VBANK pins

5.1.5 Local Bus

For the P4080DS, the enhanced local bus controller (eLBC) connects to various Flash devices and the ngPIXIS FPGA internal register space. The P4080 only supports 16-bit devices, so the eLBC interface is comparatively simpler than past development sys tems. In particular , a single 16-bit latch/buf fer is used to both latch the portion of the address that is not already provided by the latched address pins and to buffer the data. This figure shows an overview of the eLBC.
Figure 9. Local Bus Overview
The P4080 can redirect boot fetches to the eLBC, where it is routed to the device attached to LCS0. To support greater flexibility , the ngPIXIS can re-route the LCS0 pin to other devices, allowing the P4 080DS to boot from the following devices:
NORFlash
NORFlash with MSB[0:1] address lines XOR’d (virtual bank swapping)
P4080 Development System User’s Guide, Rev. 0
16 Freescale Semiconductor
Architecture
•PromJet
Local bus chip select routing is summarized in this table. The “cfg_lbmap” column is used to rearrange the internal addresses of NOR Flash devices, based on user configuration options. Simplistically , no matter what state the switches are in, the end-user toggling the switch results in toggling the halves or quarters of the NOR Flash and toggling the CS lines of the NAND Flash. If different program images are stored therein, upon reset, different startup code is executed. NAND Flash is not currently supported on the system board. The current hardware implementation is not correct, but the future system board re-spin may incorporate a correct and supported implementation.
Table 7. Local Bus Chip Select Mapping
Flash
Selection
cfg_lbmap
(0:3)
0000 LCS0 LCS1 LCS[2,4:6] Boot from NOR Flash region #0
0001 LCS0 LCS1 LCS[2,4:6] Boot from NOR Flash region #1
0010 LCS0 LCS1 LCS[2,4:6] Boot from NOR Flash region #2
0011 LCS0 LCS1 LCS[2,4:6] LCS3 Boot from NOR Flash region #3
NOR
Flash
PromJet NAND Flash ngPIXIS Description
0100 LCS0 LCS1 LCS[2,4:6] Boot from NOR Flash region #4
0101 LCS0 LCS1 LCS[2,4:6] Boot from NOR Flash region #5
0110 LCS0 LCS1 LCS[2,4:6] Boot from NOR Flash region #6
0111 LCS0 LCS1 LCS[2,4:6] Boot from NOR Flash region #7
1000 LCS1 LCS0 LCS[2,4:6] Boot from PromJet, NOR Flash unbanked.
1001 LCS2 LCS1 LCS[0,4:6] Boot from NAND Flash NOR Flash unbanked.
1010–1111 Not valid
P4080 Development System User’s Guide, Rev. 0
Freescale Semiconductor 17
Architecture
NORFlash
P4080
A-Latched
A[23:25]
A[0:22]
A[7:5]
ngPIXIS
LBMAP(0:3)
A[30:8]
via vbank pins
The “address toggle” feature mentioned in Table 7 is implemented as multistaged XOR gate in-line with the most significant addresses of the Flash, as shown in this figure.
Figure 10. Flash Address Toggle
When LBMAP encoded bits A23–A25 of the Flash address are altered (toggled), as shown in Table 7, the Flash behaves normally or is s wapped around as virtual banks. Thus, the boot bank can be swapped around to support up to eight boot images with or without RCW.
18 Freescale Semiconductor
P4080 Development System User’s Guide, Rev. 0
Loading...
+ 42 hidden pages