board: topic-miami: Set FCLK1 to 150MHz
authorMike Looijmans <mike.looijmans@topic.nl>
Wed, 22 Apr 2020 14:27:19 +0000 (16:27 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 24 Jun 2020 11:11:08 +0000 (13:11 +0200)
In all reference designs the FCLK1 runs at 150MHz, but the bootloader
doesn't set it up like that. Set the divider to 8 to generate the
correct clock. Fixes (a.o.) the DMA speed being too slow.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/topic/zynq/zynq-topic-miami/ps7_init_gpl.c
board/topic/zynq/zynq-topic-miamilite/ps7_init_gpl.c

index 360beaef8ecf9889229264c8f6e7492923f988c9..e7cc2c2dec660f5a4d5f9d1445b9206897364a87 100644 (file)
@@ -49,7 +49,7 @@ static unsigned long ps7_clock_init_data_3_0[] = {
        EMIT_MASKWRITE(0XF8000158, 0x00003F33U, 0x00000601U),
        EMIT_MASKWRITE(0XF8000168, 0x00003F31U, 0x00000601U),
        EMIT_MASKWRITE(0XF8000170, 0x03F03F30U, 0x00100C00U),
-       EMIT_MASKWRITE(0XF8000180, 0x03F03F30U, 0x00100C00U),
+       EMIT_MASKWRITE(0XF8000180, 0x03F03F30U, 0x00100800U),
        EMIT_MASKWRITE(0XF8000190, 0x03F03F30U, 0x00100600U),
        EMIT_MASKWRITE(0XF80001A0, 0x03F03F30U, 0x00101800U),
        EMIT_MASKWRITE(0XF80001C4, 0x00000001U, 0x00000001U),
index ae4666f7d5906f3b75f4f2ba6cbb09ee0805b378..0f141260ff61cd691b83b1b76c0d8d63e1be05bd 100644 (file)
@@ -49,7 +49,7 @@ static unsigned long ps7_clock_init_data_3_0[] = {
        EMIT_MASKWRITE(0xF8000158, 0x00003F33U, 0x00000601U),
        EMIT_MASKWRITE(0xF8000168, 0x00003F31U, 0x00000601U),
        EMIT_MASKWRITE(0xF8000170, 0x03F03F30U, 0x00100C00U),
-       EMIT_MASKWRITE(0xF8000180, 0x03F03F30U, 0x00100C00U),
+       EMIT_MASKWRITE(0xF8000180, 0x03F03F30U, 0x00100800U),
        EMIT_MASKWRITE(0xF8000190, 0x03F03F30U, 0x00100600U),
        EMIT_MASKWRITE(0xF80001A0, 0x03F03F30U, 0x00101800U),
        EMIT_MASKWRITE(0xF80001C4, 0x00000001U, 0x00000001U),