]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: k2l: Fix device speeds
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 17 Aug 2015 14:28:34 +0000 (19:58 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:50 +0000 (11:29 +0200)
ARM supported speeds and init value of core_pll for SDP1200
are programmed wrong as part for the device speed cleanups.
Fixing it here.
Thanks to "Vitaly Andrianov <vitalya@ti.com>" for bisecting this issue

Fixes: c37ed9f11b61 ("ARM: keystone2: Fix dev and arm speed detection")
Tested-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-keystone/include/mach/clock-k2l.h
board/ti/ks2_evm/board_k2l.c

index 8772a7dcb15a6b2eb51937e090ee3fb45e87a7cf..dec19396d612b76c56a08de32a43880bd01b3ef3 100644 (file)
@@ -40,7 +40,7 @@
 
 /* k2l DEV supports 800, 1000, 1200 MHz */
 #define DEV_SUPPORTED_SPEEDS   0x383
-/* k2l ARM supportd 800, 1000, 1200, MHz */
-#define ARM_SUPPORTED_SPEEDS   0x383
+/* k2l ARM supportd 800, 1000, 1200, 1350, 1400 MHz */
+#define ARM_SUPPORTED_SPEEDS   0x3ef
 
 #endif
index 70e25f10c423dcac1da15b21c67bc60fded54633..f35a64f2b61e07d91d231942c134b981eb06656b 100644 (file)
@@ -25,7 +25,7 @@ unsigned int external_clk[ext_clk_count] = {
 static struct pll_init_data core_pll_config[NUM_SPDS] = {
        [SPD800]        = CORE_PLL_799,
        [SPD1000]       = CORE_PLL_1000,
-       [SPD800]        = CORE_PLL_1198,
+       [SPD1200]       = CORE_PLL_1198,
 };
 
 s16 divn_val[16] = {