R40

Allwinner R40 (sun8i) SoC features a Quad-Core Cortex-A7 ARM CPU, and a Mali400 MP2 GPU from ARM. It is a not-pin-compatible quad core sucessor of the A20. It's also known as the Allwinner T3 for In-Car Entertainment usage. A40i and A40pro are variants that differ in applicable temperatures range (industrial and military). V40 is a remarked R40.

=Overview=

The chip is decently supported in mainline U-Boot and the mainline kernel, with features like HDMI video, Ethernet, USB, SATA and Mali 3D working.

There is no support for the R40 in the (obsolete) linux-sunxi 3.4 kernel and in u-boot-sunxi.

=R40 SoC Features=
 * CPU
 * ARM Cortex-A7 Quad-Core
 * 512 KB L2-Cache (shared between four cores)
 * 32 KB (Instruction) / 32 KiB (Data) L1-Cache per core
 * SIMD NEON, VFP4
 * Large Physical Address Extensions (LPAE) 1 TB
 * GPU
 * ARM Mali400 MP2
 * Featuring 1 vertex shader (GP) and 2 fragment shaders (PP).
 * Complies with OpenGL ES 2.0
 * Memory
 * DDR2/DDR3/DDR3L/LPDDR2/LPDDR3 controller up to 2GB address space
 * NAND Flash controller and 64-bit ECC
 * Storage
 * SATA 1,5Gb/s + 3,0Gb/s, SATA spec 2.6, AHCI Revision 1.3
 * Video
 * Full HD 1080p video decoding of MPEG-2, MPEG-4 SP/ASP GMC, H.263, H.264, WMV9/VC-1, and VP8
 * BD Directory, BD ISO and BD m2ts video decoding
 * H.264 High Profile 1080p @ 45 fps encoding
 * Complies with RTSP, HTTP,HLS,RTMP,MMS streaming media protocol
 * Display
 * Supports output size up to 2048x2048
 * CPU/RGB/LVDS LCD interface 1920x1080@60fps
 * MIPI 4 lane DSI interface up to 1920x1080@60fps resolution
 * TV out: 4-ch CVBS, 1-ch YPbPr and 1-ch VGA
 * HDMI v1.4 with HDCP 1.2, up to 1920x1080@60fps
 * Camera
 * 4-channel TVIN
 * Dual-sensor support
 * Audio
 * Integrated HI-FI 100 dB Audio Codec
 * Dual MIC noise cancellation
 * PMIC
 * AXP221s

= Documentation =


 * R40 User Manual v1.0 (PDF, 784 pages, 2016-07-12)
 * R40 Datasheet v1.0 (PDF, 82 pages, 2016-07-12)
 * [[File:Allwinner T3 User Manual V1.0 cleaned.pdf]]
 * [[File:Allwinner T3 Datasheet V1.6 cleaned.pdf]]
 * [[File:Allwinner_A40i_Datasheet_V1.1_cleaned.pdf]]
 * [[File:Allwinner_A40i_User_Manual_V1.1_cleaned.pdf]]

= Software = Source code and instructions are here
 * Linux 3.10 of TinaLinux
 * T3 Linux SDK

= Devices = = See also =
 * A20
 * T3

=References=

= External links =
 * Allwinner Product Page R40
 * Allwinner Product Page T3
 * Allwinner Product Page A40i