xref: /openbmc/u-boot/board/freescale/t1040qds/README (revision 85b8c5c4)
1Overview
2--------
3The T1040QDS is a Freescale reference board that hosts the T1040 SoC
4(and variants).
5
6T1040 SoC Overview
7------------------
8The QorIQ T1040/T1042 processor support four integrated 64-bit e5500 PA
9processor cores with high-performance data path acceleration architecture
10and network peripheral interfaces required for networking & telecommunications.
11
12The T1040/T1042 SoC includes the following function and features:
13
14 - Four e5500 cores, each with a private 256 KB L2 cache
15 - 256 KB shared L3 CoreNet platform cache (CPC)
16 - Interconnect CoreNet platform
17 - 32-/64-bit DDR3L/DDR4 SDRAM memory controller with ECC and interleaving
18   support
19 - Data Path Acceleration Architecture (DPAA) incorporating acceleration
20 for the following functions:
21    -  Packet parsing, classification, and distribution
22    -  Queue management for scheduling, packet sequencing, and congestion
23    	management
24    -  Cryptography Acceleration (SEC 5.0)
25    - RegEx Pattern Matching Acceleration (PME 2.2)
26    - IEEE Std 1588 support
27    - Hardware buffer management for buffer allocation and deallocation
28 - Ethernet interfaces
29    - Integrated 8-port Gigabit Ethernet switch (T1040 only)
30    - Four 1 Gbps Ethernet controllers
31 - Two RGMII interfaces or one RGMII and one MII interfaces
32 - High speed peripheral interfaces
33   - Four PCI Express 2.0 controllers running at up to 5 GHz
34   - Two SATA controllers supporting 1.5 and 3.0 Gb/s operation
35   - Upto two QSGMII interface
36   - Upto six SGMII interface supporting 1000 Mbps
37   - One SGMII interface supporting upto 2500 Mbps
38 - Additional peripheral interfaces
39   - Two USB 2.0 controllers with integrated PHY
40   - SD/eSDHC/eMMC
41   -  eSPI controller
42   - Four I2C controllers
43   - Four UARTs
44   - Four GPIO controllers
45   - Integrated flash controller (IFC)
46   - LCD and HDMI interface (DIU) with 12 bit dual data rate
47   - TDM interface
48 - Multicore programmable interrupt controller (PIC)
49 - Two 8-channel DMA engines
50 - Single source clocking implementation
51 - Deep Sleep power implementaion (wakeup from GPIO/Timer/Ethernet/USB)
52
53 T1040QDS board Overview
54 -----------------------
55 - SERDES Connections, 8 lanes supporting:
56      — PCI Express: supporting Gen 1 and Gen 2;
57      — SGMII
58      — QSGMII
59      — SATA 2.0
60      — Aurora debug with dedicated connectors (T1040 only)
61 - DDR Controller
62     - Supports rates of up to 1600 MHz data-rate
63     - Supports one DDR3LP UDIMM/RDIMMs, of single-, dual- or quad-rank types.
64 -IFC/Local Bus
65     - NAND flash: 8-bit, async, up to 2GB.
66     - NOR: 8-bit or 16-bit, non-multiplexed, up to 512MB
67     - GASIC: Simple (minimal) target within Qixis FPGA
68     - PromJET rapid memory download support
69 - Ethernet
70     - Two on-board RGMII 10/100/1G ethernet ports.
71     - PHY #0 remains powered up during deep-sleep (T1040 only)
72 - QIXIS System Logic FPGA
73 - Clocks
74     - System and DDR clock (SYSCLK, “DDRCLK”)
75     - SERDES clocks
76 - Power Supplies
77 - Video
78     - DIU supports video at up to 1280x1024x32bpp
79 - USB
80     - Supports two USB 2.0 ports with integrated PHYs
81     — Two type A ports with 5V@1.5A per port.
82     — Second port can be converted to OTG mini-AB
83 - SDHC
84     - SDHC port connects directly to an adapter card slot, featuring:
85     - Supporting SD slots for: SD, SDHC (1x, 4x, 8x) and/or MMC
86     — Supporting eMMC memory devices
87 - SPI
88    -  On-board support of 3 different devices and sizes
89 - Other IO
90    - Two Serial ports
91    - ProfiBus port
92    - Four I2C ports
93
94Memory map on T1040QDS
95----------------------
96The addresses in brackets are physical addresses.
97
98Start Address  End Address      Description                     Size
990xF_FFDF_0000  0xF_FFDF_0FFF    IFC - FPGA                      4KB
1000xF_FF80_0000  0xF_FF80_FFFF    IFC - NAND Flash                64KB
1010xF_FE00_0000  0xF_FEFF_FFFF    CCSRBAR                         16MB
1020xF_F803_0000  0xF_F803_FFFF    PCI Express 4 I/O Space         64KB
1030xF_F802_0000  0xF_F802_FFFF    PCI Express 3 I/O Space	        64KB
1040xF_F801_0000  0xF_F801_FFFF    PCI Express 2 I/O Space         64KB
1050xF_F800_0000  0xF_F800_FFFF    PCI Express 1 I/O Space	        64KB
1060xF_F600_0000  0xF_F7FF_FFFF    Queue manager software portal   32MB
1070xF_F400_0000  0xF_F5FF_FFFF    Buffer manager software portal  32MB
1080xF_E800_0000  0xF_EFFF_FFFF    IFC - NOR Flash                 128MB
1090xF_E000_0000  0xF_E7FF_FFFF    Promjet                         128MB
1100xF_0000_0000  0xF_003F_FFFF    DCSR                            4MB
1110xC_3000_0000  0xC_3FFF_FFFF    PCI Express 4 Mem Space         256MB
1120xC_2000_0000  0xC_2FFF_FFFF    PCI Express 3 Mem Space         256MB
1130xC_1000_0000  0xC_1FFF_FFFF    PCI Express 2 Mem Space         256MB
1140xC_0000_0000  0xC_0FFF_FFFF    PCI Express 1 Mem Space         256MB
1150x0_0000_0000  0x0_ffff_ffff    DDR                             2GB
116
117
118NOR Flash memory Map on T1040QDS
119--------------------------------
120 Start          End             Definition                       Size
1210xEFF80000      0xEFFFFFFF      u-boot (current bank)            512KB
1220xEFF60000      0xEFF7FFFF      u-boot env (current bank)        128KB
1230xEFF40000      0xEFF5FFFF      FMAN Ucode (current bank)        128KB
1240xED300000      0xEFF3FFFF      rootfs (alt bank)                44MB + 256KB
1250xEC800000      0xEC8FFFF       Hardware device tree (alt bank)  1MB
1260xEC020000      0xEC7FFFFF      Linux.uImage (alt bank)          7MB + 875KB
1270xEC000000      0xEC01FFFF      RCW (alt bank)                   128KB
1280xEBF80000      0xEBFFFFFF      u-boot (alt bank)                512KB
1290xEBF60000      0xEBF7FFFF      u-boot env (alt bank)            128KB
1300xEBF40000      0xEBF5FFFF      FMAN ucode (alt bank)            128KB
1310xE9300000      0xEBF3FFFF      rootfs (current bank)            44MB + 256KB
1320xE8800000      0xE88FFFFF      Hardware device tree (cur bank)  11MB + 512KB
1330xE8020000      0xE86FFFFF      Linux.uImage (current bank)      7MB + 875KB
1340xE8000000      0xE801FFFF      RCW (current bank)               128KB
135
136
137Various Software configurations/environment variables/commands
138--------------------------------------------------------------
139The below commands apply to T1040QDS
140
1411. U-boot environment variable hwconfig
142   The default hwconfig is:
143	hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=cs0_cs1;usb1:
144					dr_mode=host,phy_type=utmi
145   Note: For USB gadget set "dr_mode=peripheral"
146
1472. FMAN Ucode versions
148   fsl_fman_ucode_t1040.bin
149
1503. Switching to alternate bank
151   Commands for switching to alternate bank.
152
153	1. To change from vbank0 to vbank4
154		=> qixis_reset altbank (it will boot using vbank4)
155
156	2.To change from vbank4 to vbank0
157		=> qixis reset (it will boot using vbank0)
158
159T1040 Personality
160--------------------
161
162T1022 Personality
163--------------------
164T1022 is a reduced personality of T1040 with less core/clusters.
165
166T1042 Personality
167--------------------
168T1042 is a reduced personality of T1040 without Integrated 8-port Gigabit
169Ethernet switch. Rest of the blocks are same as T1040
170