summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorVitaly Andrianov <vitalya@ti.com>2015-09-19 16:26:41 +0530
committerTom Rini <trini@konsulko.com>2015-10-22 14:22:16 -0400
commite6d71e1ca5dc40e871e53ad0d14d68676cf92601 (patch)
treea5d81df8816038e0f479b644926255c6b9af38bc /board
parentbda920c65e7cc299e6ef0dc6e676fe672609ce12 (diff)
downloadu-boot-imx-e6d71e1ca5dc40e871e53ad0d14d68676cf92601.zip
u-boot-imx-e6d71e1ca5dc40e871e53ad0d14d68676cf92601.tar.gz
u-boot-imx-e6d71e1ca5dc40e871e53ad0d14d68676cf92601.tar.bz2
ARM: k2g: Add clock information
Add clock information for Galileo Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Diffstat (limited to 'board')
-rw-r--r--board/ti/ks2_evm/board_k2g.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/ti/ks2_evm/board_k2g.c b/board/ti/ks2_evm/board_k2g.c
index 6234baa..2d4602f 100644
--- a/board/ti/ks2_evm/board_k2g.c
+++ b/board/ti/ks2_evm/board_k2g.c
@@ -9,6 +9,16 @@
#include <common.h>
#include <asm/arch/clock.h>
+#define SYS_CLK 24000000
+
+unsigned int external_clk[ext_clk_count] = {
+ [sys_clk] = SYS_CLK,
+ [pa_clk] = SYS_CLK,
+ [tetris_clk] = SYS_CLK,
+ [ddr3a_clk] = SYS_CLK,
+ [uart_clk] = SYS_CLK,
+};
+
static struct pll_init_data main_pll_config = {MAIN_PLL, 100, 1, 4};
static struct pll_init_data tetris_pll_config = {TETRIS_PLL, 100, 1, 4};
static struct pll_init_data uart_pll_config = {UART_PLL, 64, 1, 4};