xref: /openbmc/u-boot/board/freescale/t1040qds/README (revision 7d436078)
1*7d436078SPrabhakar KushwahaOverview
2*7d436078SPrabhakar Kushwaha--------
3*7d436078SPrabhakar KushwahaThe T1040QDS is a Freescale reference board that hosts the T1040 SoC
4*7d436078SPrabhakar Kushwaha(and variants).
5*7d436078SPrabhakar Kushwaha
6*7d436078SPrabhakar KushwahaT1040 SoC Overview
7*7d436078SPrabhakar Kushwaha------------------
8*7d436078SPrabhakar KushwahaThe QorIQ T1040/T1042 processor support four integrated 64-bit e5500 PA
9*7d436078SPrabhakar Kushwahaprocessor cores with high-performance data path acceleration architecture
10*7d436078SPrabhakar Kushwahaand network peripheral interfaces required for networking & telecommunications.
11*7d436078SPrabhakar Kushwaha
12*7d436078SPrabhakar KushwahaThe T1040/T1042 SoC includes the following function and features:
13*7d436078SPrabhakar Kushwaha
14*7d436078SPrabhakar Kushwaha - Four e5500 cores, each with a private 256 KB L2 cache
15*7d436078SPrabhakar Kushwaha - 256 KB shared L3 CoreNet platform cache (CPC)
16*7d436078SPrabhakar Kushwaha - Interconnect CoreNet platform
17*7d436078SPrabhakar Kushwaha - 32-/64-bit DDR3L/DDR4 SDRAM memory controller with ECC and interleaving
18*7d436078SPrabhakar Kushwaha   support
19*7d436078SPrabhakar Kushwaha - Data Path Acceleration Architecture (DPAA) incorporating acceleration
20*7d436078SPrabhakar Kushwaha for the following functions:
21*7d436078SPrabhakar Kushwaha    -  Packet parsing, classification, and distribution
22*7d436078SPrabhakar Kushwaha    -  Queue management for scheduling, packet sequencing, and congestion
23*7d436078SPrabhakar Kushwaha    	management
24*7d436078SPrabhakar Kushwaha    -  Cryptography Acceleration (SEC 5.0)
25*7d436078SPrabhakar Kushwaha    - RegEx Pattern Matching Acceleration (PME 2.2)
26*7d436078SPrabhakar Kushwaha    - IEEE Std 1588 support
27*7d436078SPrabhakar Kushwaha    - Hardware buffer management for buffer allocation and deallocation
28*7d436078SPrabhakar Kushwaha - Ethernet interfaces
29*7d436078SPrabhakar Kushwaha    - Integrated 8-port Gigabit Ethernet switch (T1040 only)
30*7d436078SPrabhakar Kushwaha    - Four 1 Gbps Ethernet controllers
31*7d436078SPrabhakar Kushwaha - Two RGMII interfaces or one RGMII and one MII interfaces
32*7d436078SPrabhakar Kushwaha - High speed peripheral interfaces
33*7d436078SPrabhakar Kushwaha   - Four PCI Express 2.0 controllers running at up to 5 GHz
34*7d436078SPrabhakar Kushwaha   - Two SATA controllers supporting 1.5 and 3.0 Gb/s operation
35*7d436078SPrabhakar Kushwaha   - Upto two QSGMII interface
36*7d436078SPrabhakar Kushwaha   - Upto six SGMII interface supporting 1000 Mbps
37*7d436078SPrabhakar Kushwaha   - One SGMII interface supporting upto 2500 Mbps
38*7d436078SPrabhakar Kushwaha - Additional peripheral interfaces
39*7d436078SPrabhakar Kushwaha   - Two USB 2.0 controllers with integrated PHY
40*7d436078SPrabhakar Kushwaha   - SD/eSDHC/eMMC
41*7d436078SPrabhakar Kushwaha   -  eSPI controller
42*7d436078SPrabhakar Kushwaha   - Four I2C controllers
43*7d436078SPrabhakar Kushwaha   - Four UARTs
44*7d436078SPrabhakar Kushwaha   - Four GPIO controllers
45*7d436078SPrabhakar Kushwaha   - Integrated flash controller (IFC)
46*7d436078SPrabhakar Kushwaha   - LCD and HDMI interface (DIU) with 12 bit dual data rate
47*7d436078SPrabhakar Kushwaha   - TDM interface
48*7d436078SPrabhakar Kushwaha - Multicore programmable interrupt controller (PIC)
49*7d436078SPrabhakar Kushwaha - Two 8-channel DMA engines
50*7d436078SPrabhakar Kushwaha - Single source clocking implementation
51*7d436078SPrabhakar Kushwaha - Deep Sleep power implementaion (wakeup from GPIO/Timer/Ethernet/USB)
52*7d436078SPrabhakar Kushwaha
53*7d436078SPrabhakar Kushwaha T1040QDS board Overview
54*7d436078SPrabhakar Kushwaha -----------------------
55*7d436078SPrabhakar Kushwaha - SERDES Connections, 8 lanes supporting:
56*7d436078SPrabhakar Kushwaha      — PCI Express: supporting Gen 1 and Gen 2;
57*7d436078SPrabhakar Kushwaha      — SGMII
58*7d436078SPrabhakar Kushwaha      — QSGMII
59*7d436078SPrabhakar Kushwaha      — SATA 2.0
60*7d436078SPrabhakar Kushwaha      — Aurora debug with dedicated connectors (T1040 only)
61*7d436078SPrabhakar Kushwaha - DDR Controller
62*7d436078SPrabhakar Kushwaha     - Supports rates of up to 1600 MHz data-rate
63*7d436078SPrabhakar Kushwaha     - Supports one DDR3LP UDIMM/RDIMMs, of single-, dual- or quad-rank types.
64*7d436078SPrabhakar Kushwaha -IFC/Local Bus
65*7d436078SPrabhakar Kushwaha     - NAND flash: 8-bit, async, up to 2GB.
66*7d436078SPrabhakar Kushwaha     - NOR: 8-bit or 16-bit, non-multiplexed, up to 512MB
67*7d436078SPrabhakar Kushwaha     - GASIC: Simple (minimal) target within Qixis FPGA
68*7d436078SPrabhakar Kushwaha     - PromJET rapid memory download support
69*7d436078SPrabhakar Kushwaha - Ethernet
70*7d436078SPrabhakar Kushwaha     - Two on-board RGMII 10/100/1G ethernet ports.
71*7d436078SPrabhakar Kushwaha     - PHY #0 remains powered up during deep-sleep (T1040 only)
72*7d436078SPrabhakar Kushwaha - QIXIS System Logic FPGA
73*7d436078SPrabhakar Kushwaha - Clocks
74*7d436078SPrabhakar Kushwaha     - System and DDR clock (SYSCLK, “DDRCLK”)
75*7d436078SPrabhakar Kushwaha     - SERDES clocks
76*7d436078SPrabhakar Kushwaha - Power Supplies
77*7d436078SPrabhakar Kushwaha - Video
78*7d436078SPrabhakar Kushwaha     - DIU supports video at up to 1280x1024x32bpp
79*7d436078SPrabhakar Kushwaha - USB
80*7d436078SPrabhakar Kushwaha     - Supports two USB 2.0 ports with integrated PHYs
81*7d436078SPrabhakar Kushwaha     — Two type A ports with 5V@1.5A per port.
82*7d436078SPrabhakar Kushwaha     — Second port can be converted to OTG mini-AB
83*7d436078SPrabhakar Kushwaha - SDHC
84*7d436078SPrabhakar Kushwaha     - SDHC port connects directly to an adapter card slot, featuring:
85*7d436078SPrabhakar Kushwaha     - Supporting SD slots for: SD, SDHC (1x, 4x, 8x) and/or MMC
86*7d436078SPrabhakar Kushwaha     — Supporting eMMC memory devices
87*7d436078SPrabhakar Kushwaha - SPI
88*7d436078SPrabhakar Kushwaha    -  On-board support of 3 different devices and sizes
89*7d436078SPrabhakar Kushwaha - Other IO
90*7d436078SPrabhakar Kushwaha    - Two Serial ports
91*7d436078SPrabhakar Kushwaha    - ProfiBus port
92*7d436078SPrabhakar Kushwaha    - Four I2C ports
93*7d436078SPrabhakar Kushwaha
94*7d436078SPrabhakar KushwahaMemory map on T1040QDS
95*7d436078SPrabhakar Kushwaha----------------------
96*7d436078SPrabhakar KushwahaThe addresses in brackets are physical addresses.
97*7d436078SPrabhakar Kushwaha
98*7d436078SPrabhakar KushwahaStart Address  End Address      Description                     Size
99*7d436078SPrabhakar Kushwaha0xF_FFDF_0000  0xF_FFDF_0FFF    IFC - FPGA                      4KB
100*7d436078SPrabhakar Kushwaha0xF_FF80_0000  0xF_FF80_FFFF    IFC - NAND Flash                64KB
101*7d436078SPrabhakar Kushwaha0xF_FE00_0000  0xF_FEFF_FFFF    CCSRBAR                         16MB
102*7d436078SPrabhakar Kushwaha0xF_F803_0000  0xF_F803_FFFF    PCI Express 4 I/O Space         64KB
103*7d436078SPrabhakar Kushwaha0xF_F802_0000  0xF_F802_FFFF    PCI Express 3 I/O Space	        64KB
104*7d436078SPrabhakar Kushwaha0xF_F801_0000  0xF_F801_FFFF    PCI Express 2 I/O Space         64KB
105*7d436078SPrabhakar Kushwaha0xF_F800_0000  0xF_F800_FFFF    PCI Express 1 I/O Space	        64KB
106*7d436078SPrabhakar Kushwaha0xF_F600_0000  0xF_F7FF_FFFF    Queue manager software portal   32MB
107*7d436078SPrabhakar Kushwaha0xF_F400_0000  0xF_F5FF_FFFF    Buffer manager software portal  32MB
108*7d436078SPrabhakar Kushwaha0xF_E800_0000  0xF_EFFF_FFFF    IFC - NOR Flash                 128MB
109*7d436078SPrabhakar Kushwaha0xF_E000_0000  0xF_E7FF_FFFF    Promjet                         128MB
110*7d436078SPrabhakar Kushwaha0xF_0000_0000  0xF_003F_FFFF    DCSR                            4MB
111*7d436078SPrabhakar Kushwaha0xC_3000_0000  0xC_3FFF_FFFF    PCI Express 4 Mem Space         256MB
112*7d436078SPrabhakar Kushwaha0xC_2000_0000  0xC_2FFF_FFFF    PCI Express 3 Mem Space         256MB
113*7d436078SPrabhakar Kushwaha0xC_1000_0000  0xC_1FFF_FFFF    PCI Express 2 Mem Space         256MB
114*7d436078SPrabhakar Kushwaha0xC_0000_0000  0xC_0FFF_FFFF    PCI Express 1 Mem Space         256MB
115*7d436078SPrabhakar Kushwaha0x0_0000_0000  0x0_ffff_ffff    DDR                             2GB
116*7d436078SPrabhakar Kushwaha
117*7d436078SPrabhakar Kushwaha
118*7d436078SPrabhakar KushwahaNOR Flash memory Map on T1040QDS
119*7d436078SPrabhakar Kushwaha--------------------------------
120*7d436078SPrabhakar Kushwaha Start          End             Definition                       Size
121*7d436078SPrabhakar Kushwaha0xEFF80000      0xEFFFFFFF      u-boot (current bank)            512KB
122*7d436078SPrabhakar Kushwaha0xEFF60000      0xEFF7FFFF      u-boot env (current bank)        128KB
123*7d436078SPrabhakar Kushwaha0xEFF40000      0xEFF5FFFF      FMAN Ucode (current bank)        128KB
124*7d436078SPrabhakar Kushwaha0xED300000      0xEFF3FFFF      rootfs (alt bank)                44MB + 256KB
125*7d436078SPrabhakar Kushwaha0xEC800000      0xEC8FFFF       Hardware device tree (alt bank)  1MB
126*7d436078SPrabhakar Kushwaha0xEC020000      0xEC7FFFFF      Linux.uImage (alt bank)          7MB + 875KB
127*7d436078SPrabhakar Kushwaha0xEC000000      0xEC01FFFF      RCW (alt bank)                   128KB
128*7d436078SPrabhakar Kushwaha0xEBF80000      0xEBFFFFFF      u-boot (alt bank)                512KB
129*7d436078SPrabhakar Kushwaha0xEBF60000      0xEBF7FFFF      u-boot env (alt bank)            128KB
130*7d436078SPrabhakar Kushwaha0xEBF40000      0xEBF5FFFF      FMAN ucode (alt bank)            128KB
131*7d436078SPrabhakar Kushwaha0xE9300000      0xEBF3FFFF      rootfs (current bank)            44MB + 256KB
132*7d436078SPrabhakar Kushwaha0xE8800000      0xE88FFFFF      Hardware device tree (cur bank)  11MB + 512KB
133*7d436078SPrabhakar Kushwaha0xE8020000      0xE86FFFFF      Linux.uImage (current bank)      7MB + 875KB
134*7d436078SPrabhakar Kushwaha0xE8000000      0xE801FFFF      RCW (current bank)               128KB
135*7d436078SPrabhakar Kushwaha
136*7d436078SPrabhakar Kushwaha
137*7d436078SPrabhakar KushwahaVarious Software configurations/environment variables/commands
138*7d436078SPrabhakar Kushwaha--------------------------------------------------------------
139*7d436078SPrabhakar KushwahaThe below commands apply to T1040QDS
140*7d436078SPrabhakar Kushwaha
141*7d436078SPrabhakar Kushwaha1. U-boot environment variable hwconfig
142*7d436078SPrabhakar Kushwaha   The default hwconfig is:
143*7d436078SPrabhakar Kushwaha	hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=cs0_cs1;usb1:
144*7d436078SPrabhakar Kushwaha					dr_mode=host,phy_type=utmi
145*7d436078SPrabhakar Kushwaha   Note: For USB gadget set "dr_mode=peripheral"
146*7d436078SPrabhakar Kushwaha
147*7d436078SPrabhakar Kushwaha2. FMAN Ucode versions
148*7d436078SPrabhakar Kushwaha   fsl_fman_ucode_t1040.bin
149*7d436078SPrabhakar Kushwaha
150*7d436078SPrabhakar Kushwaha3. Switching to alternate bank
151*7d436078SPrabhakar Kushwaha   Commands for switching to alternate bank.
152*7d436078SPrabhakar Kushwaha
153*7d436078SPrabhakar Kushwaha	1. To change from vbank0 to vbank4
154*7d436078SPrabhakar Kushwaha		=> qixis_reset altbank (it will boot using vbank4)
155*7d436078SPrabhakar Kushwaha
156*7d436078SPrabhakar Kushwaha	2.To change from vbank4 to vbank0
157*7d436078SPrabhakar Kushwaha		=> qixis reset (it will boot using vbank0)
158*7d436078SPrabhakar Kushwaha
159*7d436078SPrabhakar KushwahaT1040 Personality
160*7d436078SPrabhakar Kushwaha--------------------
161*7d436078SPrabhakar Kushwaha
162*7d436078SPrabhakar KushwahaT1022 Personality
163*7d436078SPrabhakar Kushwaha--------------------
164*7d436078SPrabhakar KushwahaT1022 is a reduced personality of T1040 with less core/clusters.
165*7d436078SPrabhakar Kushwaha
166*7d436078SPrabhakar KushwahaT1042 Personality
167*7d436078SPrabhakar Kushwaha--------------------
168*7d436078SPrabhakar KushwahaT1042 is a reduced personality of T1040 without Integrated 8-port Gigabit
169*7d436078SPrabhakar KushwahaEthernet switch. Rest of the blocks are same as T1040
170