17d436078SPrabhakar KushwahaOverview 27d436078SPrabhakar Kushwaha-------- 37d436078SPrabhakar KushwahaThe T1040QDS is a Freescale reference board that hosts the T1040 SoC 47d436078SPrabhakar Kushwaha(and variants). 57d436078SPrabhakar Kushwaha 67d436078SPrabhakar KushwahaT1040 SoC Overview 77d436078SPrabhakar Kushwaha------------------ 87d436078SPrabhakar KushwahaThe QorIQ T1040/T1042 processor support four integrated 64-bit e5500 PA 97d436078SPrabhakar Kushwahaprocessor cores with high-performance data path acceleration architecture 107d436078SPrabhakar Kushwahaand network peripheral interfaces required for networking & telecommunications. 117d436078SPrabhakar Kushwaha 127d436078SPrabhakar KushwahaThe T1040/T1042 SoC includes the following function and features: 137d436078SPrabhakar Kushwaha 147d436078SPrabhakar Kushwaha - Four e5500 cores, each with a private 256 KB L2 cache 157d436078SPrabhakar Kushwaha - 256 KB shared L3 CoreNet platform cache (CPC) 167d436078SPrabhakar Kushwaha - Interconnect CoreNet platform 177d436078SPrabhakar Kushwaha - 32-/64-bit DDR3L/DDR4 SDRAM memory controller with ECC and interleaving 187d436078SPrabhakar Kushwaha support 197d436078SPrabhakar Kushwaha - Data Path Acceleration Architecture (DPAA) incorporating acceleration 207d436078SPrabhakar Kushwaha for the following functions: 217d436078SPrabhakar Kushwaha - Packet parsing, classification, and distribution 227d436078SPrabhakar Kushwaha - Queue management for scheduling, packet sequencing, and congestion 237d436078SPrabhakar Kushwaha management 247d436078SPrabhakar Kushwaha - Cryptography Acceleration (SEC 5.0) 257d436078SPrabhakar Kushwaha - RegEx Pattern Matching Acceleration (PME 2.2) 267d436078SPrabhakar Kushwaha - IEEE Std 1588 support 277d436078SPrabhakar Kushwaha - Hardware buffer management for buffer allocation and deallocation 287d436078SPrabhakar Kushwaha - Ethernet interfaces 297d436078SPrabhakar Kushwaha - Integrated 8-port Gigabit Ethernet switch (T1040 only) 307d436078SPrabhakar Kushwaha - Four 1 Gbps Ethernet controllers 317d436078SPrabhakar Kushwaha - Two RGMII interfaces or one RGMII and one MII interfaces 327d436078SPrabhakar Kushwaha - High speed peripheral interfaces 337d436078SPrabhakar Kushwaha - Four PCI Express 2.0 controllers running at up to 5 GHz 347d436078SPrabhakar Kushwaha - Two SATA controllers supporting 1.5 and 3.0 Gb/s operation 357d436078SPrabhakar Kushwaha - Upto two QSGMII interface 367d436078SPrabhakar Kushwaha - Upto six SGMII interface supporting 1000 Mbps 377d436078SPrabhakar Kushwaha - One SGMII interface supporting upto 2500 Mbps 387d436078SPrabhakar Kushwaha - Additional peripheral interfaces 397d436078SPrabhakar Kushwaha - Two USB 2.0 controllers with integrated PHY 407d436078SPrabhakar Kushwaha - SD/eSDHC/eMMC 417d436078SPrabhakar Kushwaha - eSPI controller 427d436078SPrabhakar Kushwaha - Four I2C controllers 437d436078SPrabhakar Kushwaha - Four UARTs 447d436078SPrabhakar Kushwaha - Four GPIO controllers 457d436078SPrabhakar Kushwaha - Integrated flash controller (IFC) 467d436078SPrabhakar Kushwaha - LCD and HDMI interface (DIU) with 12 bit dual data rate 477d436078SPrabhakar Kushwaha - TDM interface 487d436078SPrabhakar Kushwaha - Multicore programmable interrupt controller (PIC) 497d436078SPrabhakar Kushwaha - Two 8-channel DMA engines 507d436078SPrabhakar Kushwaha - Single source clocking implementation 517d436078SPrabhakar Kushwaha - Deep Sleep power implementaion (wakeup from GPIO/Timer/Ethernet/USB) 527d436078SPrabhakar Kushwaha 537d436078SPrabhakar Kushwaha T1040QDS board Overview 547d436078SPrabhakar Kushwaha ----------------------- 557d436078SPrabhakar Kushwaha - SERDES Connections, 8 lanes supporting: 567d436078SPrabhakar Kushwaha — PCI Express: supporting Gen 1 and Gen 2; 577d436078SPrabhakar Kushwaha — SGMII 587d436078SPrabhakar Kushwaha — QSGMII 597d436078SPrabhakar Kushwaha — SATA 2.0 607d436078SPrabhakar Kushwaha — Aurora debug with dedicated connectors (T1040 only) 617d436078SPrabhakar Kushwaha - DDR Controller 627d436078SPrabhakar Kushwaha - Supports rates of up to 1600 MHz data-rate 637d436078SPrabhakar Kushwaha - Supports one DDR3LP UDIMM/RDIMMs, of single-, dual- or quad-rank types. 647d436078SPrabhakar Kushwaha -IFC/Local Bus 657d436078SPrabhakar Kushwaha - NAND flash: 8-bit, async, up to 2GB. 667d436078SPrabhakar Kushwaha - NOR: 8-bit or 16-bit, non-multiplexed, up to 512MB 677d436078SPrabhakar Kushwaha - GASIC: Simple (minimal) target within Qixis FPGA 687d436078SPrabhakar Kushwaha - PromJET rapid memory download support 697d436078SPrabhakar Kushwaha - Ethernet 707d436078SPrabhakar Kushwaha - Two on-board RGMII 10/100/1G ethernet ports. 717d436078SPrabhakar Kushwaha - PHY #0 remains powered up during deep-sleep (T1040 only) 727d436078SPrabhakar Kushwaha - QIXIS System Logic FPGA 737d436078SPrabhakar Kushwaha - Clocks 747d436078SPrabhakar Kushwaha - System and DDR clock (SYSCLK, “DDRCLK”) 757d436078SPrabhakar Kushwaha - SERDES clocks 767d436078SPrabhakar Kushwaha - Power Supplies 777d436078SPrabhakar Kushwaha - Video 787d436078SPrabhakar Kushwaha - DIU supports video at up to 1280x1024x32bpp 797d436078SPrabhakar Kushwaha - USB 807d436078SPrabhakar Kushwaha - Supports two USB 2.0 ports with integrated PHYs 817d436078SPrabhakar Kushwaha — Two type A ports with 5V@1.5A per port. 827d436078SPrabhakar Kushwaha — Second port can be converted to OTG mini-AB 837d436078SPrabhakar Kushwaha - SDHC 847d436078SPrabhakar Kushwaha - SDHC port connects directly to an adapter card slot, featuring: 857d436078SPrabhakar Kushwaha - Supporting SD slots for: SD, SDHC (1x, 4x, 8x) and/or MMC 867d436078SPrabhakar Kushwaha — Supporting eMMC memory devices 877d436078SPrabhakar Kushwaha - SPI 887d436078SPrabhakar Kushwaha - On-board support of 3 different devices and sizes 897d436078SPrabhakar Kushwaha - Other IO 907d436078SPrabhakar Kushwaha - Two Serial ports 917d436078SPrabhakar Kushwaha - ProfiBus port 927d436078SPrabhakar Kushwaha - Four I2C ports 937d436078SPrabhakar Kushwaha 947d436078SPrabhakar KushwahaMemory map on T1040QDS 957d436078SPrabhakar Kushwaha---------------------- 967d436078SPrabhakar KushwahaThe addresses in brackets are physical addresses. 977d436078SPrabhakar Kushwaha 987d436078SPrabhakar KushwahaStart Address End Address Description Size 997d436078SPrabhakar Kushwaha0xF_FFDF_0000 0xF_FFDF_0FFF IFC - FPGA 4KB 1007d436078SPrabhakar Kushwaha0xF_FF80_0000 0xF_FF80_FFFF IFC - NAND Flash 64KB 1017d436078SPrabhakar Kushwaha0xF_FE00_0000 0xF_FEFF_FFFF CCSRBAR 16MB 1027d436078SPrabhakar Kushwaha0xF_F803_0000 0xF_F803_FFFF PCI Express 4 I/O Space 64KB 1037d436078SPrabhakar Kushwaha0xF_F802_0000 0xF_F802_FFFF PCI Express 3 I/O Space 64KB 1047d436078SPrabhakar Kushwaha0xF_F801_0000 0xF_F801_FFFF PCI Express 2 I/O Space 64KB 1057d436078SPrabhakar Kushwaha0xF_F800_0000 0xF_F800_FFFF PCI Express 1 I/O Space 64KB 1067d436078SPrabhakar Kushwaha0xF_F600_0000 0xF_F7FF_FFFF Queue manager software portal 32MB 1077d436078SPrabhakar Kushwaha0xF_F400_0000 0xF_F5FF_FFFF Buffer manager software portal 32MB 1087d436078SPrabhakar Kushwaha0xF_E800_0000 0xF_EFFF_FFFF IFC - NOR Flash 128MB 1097d436078SPrabhakar Kushwaha0xF_E000_0000 0xF_E7FF_FFFF Promjet 128MB 1107d436078SPrabhakar Kushwaha0xF_0000_0000 0xF_003F_FFFF DCSR 4MB 1117d436078SPrabhakar Kushwaha0xC_3000_0000 0xC_3FFF_FFFF PCI Express 4 Mem Space 256MB 1127d436078SPrabhakar Kushwaha0xC_2000_0000 0xC_2FFF_FFFF PCI Express 3 Mem Space 256MB 1137d436078SPrabhakar Kushwaha0xC_1000_0000 0xC_1FFF_FFFF PCI Express 2 Mem Space 256MB 1147d436078SPrabhakar Kushwaha0xC_0000_0000 0xC_0FFF_FFFF PCI Express 1 Mem Space 256MB 1157d436078SPrabhakar Kushwaha0x0_0000_0000 0x0_ffff_ffff DDR 2GB 1167d436078SPrabhakar Kushwaha 1177d436078SPrabhakar Kushwaha 1187d436078SPrabhakar KushwahaNOR Flash memory Map on T1040QDS 1197d436078SPrabhakar Kushwaha-------------------------------- 1207d436078SPrabhakar Kushwaha Start End Definition Size 121*a187559eSBin Meng0xEFF40000 0xEFFFFFFF U-Boot (current bank) 768KB 122*a187559eSBin Meng0xEFF20000 0xEFF3FFFF U-Boot env (current bank) 128KB 123e222b1f3SPrabhakar Kushwaha0xEFF00000 0xEFF1FFFF FMAN Ucode (current bank) 128KB 124e7222b5fSPrabhakar Kushwaha0xED300000 0xEFEFFFFF rootfs (alt bank) 44MB 125e7222b5fSPrabhakar Kushwaha0xEC800000 0xEC8FFFFF Hardware device tree (alt bank) 1MB 1267d436078SPrabhakar Kushwaha0xEC020000 0xEC7FFFFF Linux.uImage (alt bank) 7MB + 875KB 1277d436078SPrabhakar Kushwaha0xEC000000 0xEC01FFFF RCW (alt bank) 128KB 128*a187559eSBin Meng0xEBF40000 0xEBFFFFFF U-Boot (alt bank) 768KB 129*a187559eSBin Meng0xEBF20000 0xEBF3FFFF U-Boot env (alt bank) 128KB 130e222b1f3SPrabhakar Kushwaha0xEBF00000 0xEBF1FFFF FMAN ucode (alt bank) 128KB 131e7222b5fSPrabhakar Kushwaha0xE9300000 0xEBEFFFFF rootfs (current bank) 44MB 1327d436078SPrabhakar Kushwaha0xE8800000 0xE88FFFFF Hardware device tree (cur bank) 11MB + 512KB 1337d436078SPrabhakar Kushwaha0xE8020000 0xE86FFFFF Linux.uImage (current bank) 7MB + 875KB 1347d436078SPrabhakar Kushwaha0xE8000000 0xE801FFFF RCW (current bank) 128KB 1357d436078SPrabhakar Kushwaha 1367d436078SPrabhakar Kushwaha 1377d436078SPrabhakar KushwahaVarious Software configurations/environment variables/commands 1387d436078SPrabhakar Kushwaha-------------------------------------------------------------- 1397d436078SPrabhakar KushwahaThe below commands apply to T1040QDS 1407d436078SPrabhakar Kushwaha 141*a187559eSBin Meng1. U-Boot environment variable hwconfig 1427d436078SPrabhakar Kushwaha The default hwconfig is: 1437d436078SPrabhakar Kushwaha hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=cs0_cs1;usb1: 1447d436078SPrabhakar Kushwaha dr_mode=host,phy_type=utmi 1457d436078SPrabhakar Kushwaha Note: For USB gadget set "dr_mode=peripheral" 1467d436078SPrabhakar Kushwaha 1477d436078SPrabhakar Kushwaha2. FMAN Ucode versions 1487d436078SPrabhakar Kushwaha fsl_fman_ucode_t1040.bin 1497d436078SPrabhakar Kushwaha 1507d436078SPrabhakar Kushwaha3. Switching to alternate bank 1517d436078SPrabhakar Kushwaha Commands for switching to alternate bank. 1527d436078SPrabhakar Kushwaha 1537d436078SPrabhakar Kushwaha 1. To change from vbank0 to vbank4 1547d436078SPrabhakar Kushwaha => qixis_reset altbank (it will boot using vbank4) 1557d436078SPrabhakar Kushwaha 1567d436078SPrabhakar Kushwaha 2.To change from vbank4 to vbank0 1577d436078SPrabhakar Kushwaha => qixis reset (it will boot using vbank0) 1587d436078SPrabhakar Kushwaha 1597d436078SPrabhakar KushwahaT1040 Personality 1607d436078SPrabhakar Kushwaha-------------------- 1617d436078SPrabhakar Kushwaha 1627d436078SPrabhakar KushwahaT1022 Personality 1637d436078SPrabhakar Kushwaha-------------------- 1647d436078SPrabhakar KushwahaT1022 is a reduced personality of T1040 with less core/clusters. 1657d436078SPrabhakar Kushwaha 1667d436078SPrabhakar KushwahaT1042 Personality 1677d436078SPrabhakar Kushwaha-------------------- 1687d436078SPrabhakar KushwahaT1042 is a reduced personality of T1040 without Integrated 8-port Gigabit 1697d436078SPrabhakar KushwahaEthernet switch. Rest of the blocks are same as T1040 170