sunxi: add clock configuration of R40 sata
authorIcenowy Zheng <icenowy@aosc.io>
Mon, 1 May 2017 06:31:56 +0000 (14:31 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 2 May 2017 07:21:09 +0000 (09:21 +0200)
commit9946631a0f2d8e8493ea17e9fe1f0e190aa3372d
tree886fbc45128cae2a2ea7d6bfd1e4c63524d6a5d9
parentaf83a604b33dde3bbc75fe7b467e649970d674e8
sunxi: add clock configuration of R40 sata

R40 has a similar SATA controller with the ones on A10/A20, but with a
reset line added (like other peripherals on sun6i+), and two extra VDD
pins added (1.2v and 2.5v).

Add clock configuration of R40 SATA.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/include/asm/arch-sunxi/clock_sun6i.h
arch/arm/mach-sunxi/clock_sun6i.c