1c8a7d9daSWang HuanOverview
2c8a7d9daSWang Huan--------
3c8a7d9daSWang HuanThe LS1021ATWR is a Freescale reference board that hosts the LS1021A SoC.
4c8a7d9daSWang Huan
5c8a7d9daSWang HuanLS1021A SoC Overview
6c8a7d9daSWang Huan------------------
7c8a7d9daSWang HuanThe QorIQ LS1 family, which includes the LS1021A communications processor,
8c8a7d9daSWang Huanis built on Layerscape architecture, the industry's first software-aware,
9c8a7d9daSWang Huancore-agnostic networking architecture to offer unprecedented efficiency
10c8a7d9daSWang Huanand scale.
11c8a7d9daSWang Huan
12c8a7d9daSWang HuanA member of the value-performance tier, the QorIQ LS1021A processor provides
13c8a7d9daSWang Huanextensive integration and power efficiency for fanless, small form factor
14c8a7d9daSWang Huanenterprise networking applications. Incorporating dual ARM Cortex-A7 cores
15c8a7d9daSWang Huanrunning up to 1.0 GHz, the LS1021A processor delivers pre-silicon CoreMark
16c8a7d9daSWang Huanperformance of over 6,000, as well as virtualization support, advanced
17c8a7d9daSWang Huansecurity features and the broadest array of high-speed interconnects and
18c8a7d9daSWang Huanoptimized peripheral features ever offered in a sub-3 W processor.
19c8a7d9daSWang Huan
20c8a7d9daSWang HuanThe QorIQ LS1021A processor features an integrated LCD controller,
21c8a7d9daSWang HuanCAN controller for implementing industrial protocols, DDR3L/4 running
22c8a7d9daSWang Huanup to 1600 MHz, integrated security engine and QUICC Engine, and ECC
23c8a7d9daSWang Huanprotection on both L1 and L2 caches. The LS1021A processor is pin- and
24c8a7d9daSWang Huansoftware-compatible with the QorIQ LS1020A and LS1022A processors.
25c8a7d9daSWang Huan
26c8a7d9daSWang HuanThe LS1021A SoC includes the following function and features:
27c8a7d9daSWang Huan
28c8a7d9daSWang Huan - ARM Cortex-A7 MPCore compliant with ARMv7-A architecture
29c8a7d9daSWang Huan - Dual high-preformance ARM Cortex-A7 cores, each core includes:
30c8a7d9daSWang Huan   - 32 Kbyte L1 Instruction Cache and Data Cache for each core (ECC protection)
31c8a7d9daSWang Huan   - 512 Kbyte shared coherent L2 Cache (with ECC protection)
32c8a7d9daSWang Huan   - NEON Co-processor (per core)
33c8a7d9daSWang Huan   - 40-bit physical addressing
34c8a7d9daSWang Huan   - Vector floating-point support
35c8a7d9daSWang Huan - ARM Core-Link CCI-400 Cache Coherent Interconnect
36c8a7d9daSWang Huan - One DDR3L/DDR4 SDRAM memory controller with x8/x16/x32-bit configuration
37c8a7d9daSWang Huan   supporting speeds up to 1600Mtps
38c8a7d9daSWang Huan   - ECC and interleaving support
39c8a7d9daSWang Huan - VeTSEC Ethernet complex
40c8a7d9daSWang Huan   - Up to 3x virtualized 10/100/1000 Ethernet controllers
41c8a7d9daSWang Huan   - MII, RMII, RGMII, and SGMII support
42c8a7d9daSWang Huan   - QoS, lossless flow control, and IEEE 1588 support
43c8a7d9daSWang Huan - 4-lane 6GHz SerDes
44c8a7d9daSWang Huan - High speed interconnect (4 SerDes lanes with are muxed for these protocol)
45c8a7d9daSWang Huan   - Two PCI Express Gen2 controllers running at up to 5 GHz
46c8a7d9daSWang Huan   - One Serial ATA 3.0 supporting 6 GT/s operation
47c8a7d9daSWang Huan   - Two SGMII interfaces supporting 1000 Mbps
48c8a7d9daSWang Huan - Additional peripheral interfaces
49c8a7d9daSWang Huan   - One high-speed USB 3.0 controller with integrated PHY and one high-speed
50c8a7d9daSWang Huan     USB 2.00 controller with ULPI
51c8a7d9daSWang Huan   - Integrated flash controller (IFC) with 16-bit interface
52c8a7d9daSWang Huan   - Quad SPI NOR Flash
53c8a7d9daSWang Huan   - One enhanced Secure digital host controller
54c8a7d9daSWang Huan   - Display controller unit (DCU) 24-bit RGB (12-bit DDR pin interface)
55c8a7d9daSWang Huan   - Ten UARTs comprised of two 16550 compliant DUARTs, and six low power
56c8a7d9daSWang Huan     UARTs
57c8a7d9daSWang Huan   - Three I2C controllers
58c8a7d9daSWang Huan   - Eight FlexTimers four supporting PWM and four FlexCAN ports
59c8a7d9daSWang Huan   - Four GPIO controllers supporting up to 109 general purpose I/O signals
60c8a7d9daSWang Huan - Integrated advanced audio block:
61c8a7d9daSWang Huan   - Four synchronous audio interfaces (SAI)
62c8a7d9daSWang Huan   - Sony/Philips Digital Interconnect Format (SPDIF)
63c8a7d9daSWang Huan   - Asynchronous Sample Rate Converter (ASRC)
64c8a7d9daSWang Huan - Hardware based crypto offload engine
65c8a7d9daSWang Huan   - IPSec forwarding at up to 1Gbps
66c8a7d9daSWang Huan   - QorIQ Trust Architecture, Secure Boot, and ARM TrustZone supported
67c8a7d9daSWang Huan   - Public key hardware accelerator
68c8a7d9daSWang Huan   - True Random Number Generator (NIST Certified)
69c8a7d9daSWang Huan   - Advanced Encryption Standard Accelerators (AESA)
70c8a7d9daSWang Huan   - Data Encryption Standard Accelerators
71c8a7d9daSWang Huan - QUICC Engine ULite block
72c8a7d9daSWang Huan   - Two universal communication controllers (TDM and HDLC) supporting 64
73c8a7d9daSWang Huan   multichannels, each running at 64 Kbps
74c8a7d9daSWang Huan   - Support for 256 channels of HDLC
75c8a7d9daSWang Huan - QorIQ TrustArchitecture with Secure Boot, as well as ARM TrustZone supported
76c8a7d9daSWang Huan
77c8a7d9daSWang HuanLS1021ATWR board Overview
78c8a7d9daSWang Huan-------------------------
79c8a7d9daSWang Huan - DDR Controller
80c8a7d9daSWang Huan     - Supports rates of up to 1600 MHz data-rate
81c8a7d9daSWang Huan     - Supports one DDR3LP SDRAM.
82c8a7d9daSWang Huan - IFC/Local Bus
83c8a7d9daSWang Huan     - NOR: 128MB 16-bit NOR Flash
84c8a7d9daSWang Huan - Ethernet
85c8a7d9daSWang Huan     - Three on-board RGMII 10/100/1G ethernet ports.
86c8a7d9daSWang Huan - CPLD
87c8a7d9daSWang Huan - Clocks
88c8a7d9daSWang Huan     - System and DDR clock (SYSCLK, DDRCLK)
89c8a7d9daSWang Huan     - SERDES clocks
90c8a7d9daSWang Huan - Power Supplies
91c8a7d9daSWang Huan - SDHC
92c8a7d9daSWang Huan     - SDHC/SDXC connector
93c8a7d9daSWang Huan - Other IO
94c8a7d9daSWang Huan    - One Serial port
95c8a7d9daSWang Huan    - Three I2C ports
96c8a7d9daSWang Huan
97c8a7d9daSWang HuanMemory map
98c8a7d9daSWang Huan-----------
99c8a7d9daSWang HuanThe addresses in brackets are physical addresses.
100c8a7d9daSWang Huan
101c8a7d9daSWang HuanStart Address	End Address	Description			Size
102c8a7d9daSWang Huan0x00_0000_0000	0x00_000F_FFFF	Secure Boot ROM			1MB
103c8a7d9daSWang Huan0x00_0100_0000	0x00_0FFF_FFFF	CCSRBAR				240MB
104c8a7d9daSWang Huan0x00_1000_0000	0x00_1000_FFFF	OCRAM0				64KB
105c8a7d9daSWang Huan0x00_1001_0000	0x00_1001_FFFF	OCRAM1				64KB
106c8a7d9daSWang Huan0x00_2000_0000	0x00_20FF_FFFF	DCSR				16MB
107c8a7d9daSWang Huan0x00_4000_0000	0x00_5FFF_FFFF	QSPI				512MB
108c8a7d9daSWang Huan0x00_6000_0000	0x00_67FF_FFFF	IFC - NOR Flash			128MB
109c8a7d9daSWang Huan0x00_8000_0000	0x00_FFFF_FFFF	DRAM1				2GB
110*f85a8e8dSXiaoliang Yang
111*f85a8e8dSXiaoliang YangLS1021a rev1.0 Soc specific Options/Settings
112*f85a8e8dSXiaoliang Yang--------------------------------------------
113*f85a8e8dSXiaoliang YangIf the LS1021a Soc is rev1.0, you need modify the configure file.
114*f85a8e8dSXiaoliang YangAdd the following define in include/configs/ls1021atwr.h:
115*f85a8e8dSXiaoliang Yang#define CONFIG_SKIP_LOWLEVEL_INIT
116