u-boot/arch/arm/include/asm/arch-sunxi
Ian Campbell a6e50a88d8 ahci: provide sunxi SATA driver using AHCI platform framework
This enables the necessary clocks, in AHB0 and in PLL6_CFG. This is done
for sun7i only since I don't have access to any other sunxi platforms
with sata included.

The PHY setup is derived from the Alwinner releases and Linux, but is mostly
undocumented.

The Allwinner AHCI controller also requires some magic (and, again,
undocumented) DMA initialisation when starting a port.  This is added under a
suitable ifdef.

This option is enabled for Cubieboard, Cubieboard2 and Cubietruck based on
contents of Linux DTS files, including SATA power pin config taken from the
DTS. All build tested, but runtime tested on Cubieboard2 and Cubietruck only.

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2014-07-31 15:37:22 +02:00
..
clock.h sunxi: add sun7i clocks and timer support. 2014-05-25 16:12:12 +02:00
clock_sun4i.h ahci: provide sunxi SATA driver using AHCI platform framework 2014-07-31 15:37:22 +02:00
cpu.h sunxi: add sun7i cpu, board and start of day support 2014-05-25 16:12:40 +02:00
dram.h sunxi: add sun7i dram setup support 2014-05-25 16:12:30 +02:00
gpio.h sunxi: add gpio driver 2014-07-18 19:42:25 +01:00
i2c.h sunxi: Add i2c support 2014-07-18 19:41:30 +01:00
mmc.h sunxi: mmc support 2014-05-25 16:26:43 +02:00
spl.h arm: spl: fix include guard 2014-07-05 09:28:21 +02:00
sys_proto.h sunxi: add sun7i clocks and timer support. 2014-05-25 16:12:12 +02:00
timer.h sunxi: Implement reset_cpu 2014-07-06 20:12:44 +01:00