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