Message ID | 5b34a52a1563b75ff2a2e0bf6a9fd42ccc83af0a.1591344504.git.michal.simek@xilinx.com |
---|---|
State | Accepted |
Commit | fe1eb9945b9d28a91f5a0e20710e3ed5e54d877e |
Headers | show |
Series | board: topic-miami: Set FCLK1 to 150MHz | expand |
p? 5. 6. 2020 v 10:08 odes?latel Michal Simek <michal.simek at xilinx.com> napsal: > > From: Mike Looijmans <mike.looijmans at topic.nl> > > 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 at topic.nl> > Signed-off-by: Michal Simek <michal.simek at xilinx.com> > --- > > board/topic/zynq/zynq-topic-miami/ps7_init_gpl.c | 2 +- > board/topic/zynq/zynq-topic-miamilite/ps7_init_gpl.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/board/topic/zynq/zynq-topic-miami/ps7_init_gpl.c b/board/topic/zynq/zynq-topic-miami/ps7_init_gpl.c > index 360beaef8ecf..e7cc2c2dec66 100644 > --- a/board/topic/zynq/zynq-topic-miami/ps7_init_gpl.c > +++ b/board/topic/zynq/zynq-topic-miami/ps7_init_gpl.c > @@ -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), > diff --git a/board/topic/zynq/zynq-topic-miamilite/ps7_init_gpl.c b/board/topic/zynq/zynq-topic-miamilite/ps7_init_gpl.c > index ae4666f7d590..0f141260ff61 100644 > --- a/board/topic/zynq/zynq-topic-miamilite/ps7_init_gpl.c > +++ b/board/topic/zynq/zynq-topic-miamilite/ps7_init_gpl.c > @@ -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), > -- > 2.27.0 > Applied. M
diff --git a/board/topic/zynq/zynq-topic-miami/ps7_init_gpl.c b/board/topic/zynq/zynq-topic-miami/ps7_init_gpl.c index 360beaef8ecf..e7cc2c2dec66 100644 --- a/board/topic/zynq/zynq-topic-miami/ps7_init_gpl.c +++ b/board/topic/zynq/zynq-topic-miami/ps7_init_gpl.c @@ -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), diff --git a/board/topic/zynq/zynq-topic-miamilite/ps7_init_gpl.c b/board/topic/zynq/zynq-topic-miamilite/ps7_init_gpl.c index ae4666f7d590..0f141260ff61 100644 --- a/board/topic/zynq/zynq-topic-miamilite/ps7_init_gpl.c +++ b/board/topic/zynq/zynq-topic-miamilite/ps7_init_gpl.c @@ -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),