summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-sunxi/clock.h
diff options
context:
space:
mode:
authorvishnupatekar <vishnupatekar0510@gmail.com>2015-11-29 01:07:24 +0800
committerHans de Goede <hdegoede@redhat.com>2015-12-10 15:45:47 +0100
commitf542948b1e8cd53d6e48e38bae6e305233b9d7a3 (patch)
tree0b16908f2d880ec1bc591f9a5d4e5884daaa01e4 /arch/arm/include/asm/arch-sunxi/clock.h
parent95ab8fee8a5b1782d554be9565584eb29e7da0ce (diff)
downloadtalos-obmc-uboot-f542948b1e8cd53d6e48e38bae6e305233b9d7a3.tar.gz
talos-obmc-uboot-f542948b1e8cd53d6e48e38bae6e305233b9d7a3.zip
sunxi: clk: add basic clocks for A83T
Add basic clocks pll1, pll5, and some default values from allwinner u-boot. Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com> [hdegoede@redhat.com] Fix PLL6 init to run at 600 MHz instead of 288 MHz, fixing the mmc support not working [hdegoede@redhat.com] Fix PLL init code to properly wait for the PLL-s to stabilize, fixing cold-booting directly from sdcard not working Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/clock.h')
-rw-r--r--arch/arm/include/asm/arch-sunxi/clock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/clock.h b/arch/arm/include/asm/arch-sunxi/clock.h
index 3e5d999081..8ca58ae521 100644
--- a/arch/arm/include/asm/arch-sunxi/clock.h
+++ b/arch/arm/include/asm/arch-sunxi/clock.h
@@ -15,7 +15,9 @@
#define CLK_GATE_CLOSE 0x0
/* clock control module regs definition */
-#if defined(CONFIG_MACH_SUN6I) || defined(CONFIG_MACH_SUN8I)
+#if defined(CONFIG_MACH_SUN8I_A83T)
+#include <asm/arch/clock_sun8i_a83t.h>
+#elif defined(CONFIG_MACH_SUN6I) || defined(CONFIG_MACH_SUN8I)
#include <asm/arch/clock_sun6i.h>
#elif defined(CONFIG_MACH_SUN9I)
#include <asm/arch/clock_sun9i.h>
OpenPOWER on IntegriCloud