xref: /openbmc/u-boot/board/freescale/t104xrdb/README (revision 9c653aad)
1Overview
2--------
3The T1040RDB is a Freescale reference board that hosts the T1040 SoC
4(and variants). Variants inclued T1042 presonality of T1040, in which
5case T1040RDB can also be called T1042RDB.
6
7The T1042RDB_PI is a Freescale reference board that hosts the T1042 SoC.
8(a personality of T1040 SoC). The board is similar to T1040RDB but is
9designed specially with low power features targeted for Printing Image Market.
10
11T1040 SoC Overview
12------------------
13The QorIQ T1040/T1042 processor support four integrated 64-bit e5500 PA
14processor cores with high-performance data path acceleration architecture
15and network peripheral interfaces required for networking & telecommunications.
16
17The T1040/T1042 SoC includes the following function and features:
18
19 - Four e5500 cores, each with a private 256 KB L2 cache
20 - 256 KB shared L3 CoreNet platform cache (CPC)
21 - Interconnect CoreNet platform
22 - 32-/64-bit DDR3L/DDR4 SDRAM memory controller with ECC and interleaving
23   support
24 - Data Path Acceleration Architecture (DPAA) incorporating acceleration
25 for the following functions:
26    -  Packet parsing, classification, and distribution
27    -  Queue management for scheduling, packet sequencing, and congestion
28       management
29    -  Cryptography Acceleration (SEC 5.0)
30    - RegEx Pattern Matching Acceleration (PME 2.2)
31    - IEEE Std 1588 support
32    - Hardware buffer management for buffer allocation and deallocation
33 - Ethernet interfaces
34    - Integrated 8-port Gigabit Ethernet switch (T1040 only)
35    - Four 1 Gbps Ethernet controllers
36 - Two RGMII interfaces or one RGMII and one MII interfaces
37 - High speed peripheral interfaces
38   - Four PCI Express 2.0 controllers running at up to 5 GHz
39   - Two SATA controllers supporting 1.5 and 3.0 Gb/s operation
40   - Upto two QSGMII interface
41   - Upto six SGMII interface supporting 1000 Mbps
42   - One SGMII interface supporting upto 2500 Mbps
43 - Additional peripheral interfaces
44   - Two USB 2.0 controllers with integrated PHY
45   - SD/eSDHC/eMMC
46   - eSPI controller
47   - Four I2C controllers
48   - Four UARTs
49   - Four GPIO controllers
50   - Integrated flash controller (IFC)
51   - LCD and HDMI interface (DIU) with 12 bit dual data rate
52   - TDM interface
53 - Multicore programmable interrupt controller (PIC)
54 - Two 8-channel DMA engines
55 - Single source clocking implementation
56 - Deep Sleep power implementaion (wakeup from GPIO/Timer/Ethernet/USB)
57
58T1040 SoC Personalities
59-------------------------
60
61T1022 Personality:
62T1022 is a reduced personality of T1040 with less core/clusters.
63
64T1042 Personality:
65T1042 is a reduced personality of T1040 without Integrated 8-port Gigabit
66Ethernet switch. Rest of the blocks are same as T1040
67
68
69T1040RDB board Overview
70-------------------------
71 - SERDES Connections, 8 lanes information:
72	1: None
73	2: SGMII
74	3: QSGMII
75	4: QSGMII
76	5: PCIe1 x1 slot
77	6: mini PCIe connector
78	7: mini PCIe connector
79	8: SATA connector
80 - DDR Controller
81     - Supports rates of up to 1600 MHz data-rate
82     - Supports one DDR3LP UDIMM/RDIMMs, of single-, dual- or quad-rank types.
83 - IFC/Local Bus
84     - NAND flash: 1GB 8-bit NAND flash
85     - NOR: 128MB 16-bit NOR Flash
86 - Ethernet
87     - Two on-board RGMII 10/100/1G ethernet ports.
88 - CPLD
89 - Clocks
90     - System and DDR clock (SYSCLK, “DDRCLK”)
91     - SERDES clocks
92 - Power Supplies
93 - USB
94     - Supports two USB 2.0 ports with integrated PHYs
95     - Two type A ports with 5V@1.5A per port.
96 - SDHC
97     - SDHC/SDXC connector
98 - SPI
99    -  On-board 64MB SPI flash
100 - Other IO
101    - Two Serial ports
102    - Four I2C ports
103
104T1042RDB_PI board Overview
105-------------------------
106 - SERDES Connections, 8 lanes information:
107	1, 2, 3, 4 : PCIe x4 slot
108	5: mini PCIe connector
109	6: mini PCIe connector
110	7: NA
111	8: SATA connector
112 - DDR Controller
113     - Supports rates of up to 1600 MHz data-rate
114     - Supports one DDR3LP UDIMM/RDIMMs, of single-, dual- or quad-rank types.
115 - IFC/Local Bus
116     - NAND flash: 1GB 8-bit NAND flash
117     - NOR: 128MB 16-bit NOR Flash
118 - Ethernet
119     - Two on-board RGMII 10/100/1G ethernet ports.
120 - CPLD
121 - Clocks
122     - System and DDR clock (SYSCLK, “DDRCLK”)
123     - SERDES clocks
124 - Video
125     - DIU supports video at up to 1280x1024x32bpp
126 - Power Supplies
127 - USB
128     - Supports two USB 2.0 ports with integrated PHYs
129     - Two type A ports with 5V@1.5A per port.
130 - SDHC
131     - SDHC/SDXC connector
132 - SPI
133    -  On-board 64MB SPI flash
134 - Other IO
135    - Two Serial ports
136    - Four I2C ports
137
138Memory map
139-----------
140The addresses in brackets are physical addresses.
141
142Start Address  End Address      Description                     Size
1430xF_FFDF_0000  0xF_FFDF_0FFF    IFC - CPLD                      4KB
1440xF_FF80_0000  0xF_FF80_FFFF    IFC - NAND Flash                64KB
1450xF_FE00_0000  0xF_FEFF_FFFF    CCSRBAR                         16MB
1460xF_F803_0000  0xF_F803_FFFF    PCI Express 4 I/O Space         64KB
1470xF_F802_0000  0xF_F802_FFFF    PCI Express 3 I/O Space	        64KB
1480xF_F801_0000  0xF_F801_FFFF    PCI Express 2 I/O Space         64KB
1490xF_F800_0000  0xF_F800_FFFF    PCI Express 1 I/O Space	        64KB
1500xF_F600_0000  0xF_F7FF_FFFF    Queue manager software portal   32MB
1510xF_F400_0000  0xF_F5FF_FFFF    Buffer manager software portal  32MB
1520xF_E800_0000  0xF_EFFF_FFFF    IFC - NOR Flash                 128MB
1530xF_0000_0000  0xF_003F_FFFF    DCSR                            4MB
1540xC_3000_0000  0xC_3FFF_FFFF    PCI Express 4 Mem Space         256MB
1550xC_2000_0000  0xC_2FFF_FFFF    PCI Express 3 Mem Space         256MB
1560xC_1000_0000  0xC_1FFF_FFFF    PCI Express 2 Mem Space         256MB
1570xC_0000_0000  0xC_0FFF_FFFF    PCI Express 1 Mem Space         256MB
1580x0_0000_0000  0x0_ffff_ffff    DDR                             2GB
159
160
161NOR Flash memory Map
162---------------------
163 Start          End             Definition                       Size
1640xEFF40000      0xEFFFFFFF      u-boot (current bank)            768KB
1650xEFF20000      0xEFF3FFFF      u-boot env (current bank)        128KB
1660xEFF00000      0xEFF1FFFF      FMAN Ucode (current bank)        128KB
1670xED300000      0xEFEFFFFF      rootfs (alt bank)                44MB
1680xEC800000      0xEC8FFFFF      Hardware device tree (alt bank)  1MB
1690xEC020000      0xEC7FFFFF      Linux.uImage (alt bank)          7MB + 875KB
1700xEC000000      0xEC01FFFF      RCW (alt bank)                   128KB
1710xEBF40000      0xEBFFFFFF      u-boot (alt bank)                768KB
1720xEBF20000      0xEBF3FFFF      u-boot env (alt bank)            128KB
1730xEBF00000      0xEBF1FFFF      FMAN ucode (alt bank)            128KB
1740xE9300000      0xEBEFFFFF      rootfs (current bank)            44MB
1750xE8800000      0xE88FFFFF      Hardware device tree (cur bank)  11MB + 512KB
1760xE8020000      0xE86FFFFF      Linux.uImage (current bank)      7MB + 875KB
1770xE8000000      0xE801FFFF      RCW (current bank)               128KB
178
179
180Various Software configurations/environment variables/commands
181--------------------------------------------------------------
182The below commands apply to the board
183
1841. U-boot environment variable hwconfig
185   The default hwconfig is:
186	hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=cs0_cs1;usb1:
187					dr_mode=host,phy_type=utmi
188   Note: For USB gadget set "dr_mode=peripheral"
189
1902. FMAN Ucode versions
191   fsl_fman_ucode_t1040.bin
192
1933. Switching to alternate bank
194   Commands for switching to alternate bank.
195
196	1. To change from vbank0 to vbank4
197		=> qixis_reset altbank (it will boot using vbank4)
198
199	2.To change from vbank4 to vbank0
200		=> qixis reset (it will boot using vbank0)
201