arm: socfpga: Fix QSPI doesn't work on socdk board
authorshengjiangwu <shengjiangwu@icloud.com>
Tue, 22 Dec 2015 09:18:09 +0000 (17:18 +0800)
committerMarek Vasut <marex@denx.de>
Tue, 22 Dec 2015 20:30:02 +0000 (21:30 +0100)
Updated pinmux group MIXED1IO[15-20] for QSPI.
Updated QSPI clock.

Signed-off-by: shengjiangwu <shengjiangwu@icloud.com>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
board/altera/cyclone5-socdk/qts/pinmux_config.h
board/altera/cyclone5-socdk/qts/pll_config.h

index 442b1e08627b3568d97bf0b40afdb97f6003e477..06783dcd807f045413429a823ac7b591fdb6288c 100644 (file)
@@ -87,12 +87,12 @@ const u8 sys_mgr_init_table[] = {
        2, /* MIXED1IO12 */
        2, /* MIXED1IO13 */
        0, /* MIXED1IO14 */
-       1, /* MIXED1IO15 */
-       1, /* MIXED1IO16 */
-       1, /* MIXED1IO17 */
-       1, /* MIXED1IO18 */
-       0, /* MIXED1IO19 */
-       0, /* MIXED1IO20 */
+       3, /* MIXED1IO15 */
+       3, /* MIXED1IO16 */
+       3, /* MIXED1IO17 */
+       3, /* MIXED1IO18 */
+       3, /* MIXED1IO19 */
+       3, /* MIXED1IO20 */
        0, /* MIXED1IO21 */
        0, /* MIXED2IO0 */
        0, /* MIXED2IO1 */
index 9e336e3e81c73dcfa963cf0e107f419bb65cc8f0..4abd2e0aacd4e9c2a46bb533fbbbaae7115565ea 100644 (file)
@@ -14,7 +14,7 @@
 #define CONFIG_HPS_MAINPLLGRP_MPUCLK_CNT 0
 #define CONFIG_HPS_MAINPLLGRP_MAINCLK_CNT 0
 #define CONFIG_HPS_MAINPLLGRP_DBGATCLK_CNT 0
-#define CONFIG_HPS_MAINPLLGRP_MAINQSPICLK_CNT 511
+#define CONFIG_HPS_MAINPLLGRP_MAINQSPICLK_CNT 3
 #define CONFIG_HPS_MAINPLLGRP_MAINNANDSDMMCCLK_CNT 511
 #define CONFIG_HPS_MAINPLLGRP_CFGS2FUSER0CLK_CNT 15
 #define CONFIG_HPS_MAINPLLGRP_MAINDIV_L3MPCLK 1