]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: dts: stm32: Reduce DHCOR SPI NOR frequency to 50 MHz
authorMarek Vasut <marex@denx.de>
Mon, 9 Aug 2021 12:06:04 +0000 (14:06 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 16 Aug 2021 08:49:35 +0000 (10:49 +0200)
commita17996d001d985630100b729348d5ed0f3f8b833
treef5c8547bdbf8607349017d3be46f9b7230f83619
parent974389e86ad172a34c2f978140076b946add1116
ARM: dts: stm32: Reduce DHCOR SPI NOR frequency to 50 MHz

The SPI NOR is a bit further away from the SoC on DHCOR than on DHCOM,
which causes additional signal delay. At 108 MHz, this delay triggers
a sporadic issue where the first bit of RX data is not received by the
QSPI controller.

There are two options of addressing this problem, either by using the
DLYB block to compensate the extra delay, or by reducing the QSPI bus
clock frequency. The former requires calibration and that is overly
complex for SPL, so opt for the second option. This incurs 20ms delay
during boot, when SPL loads U-Boot to DRAM.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/dts/stm32mp15xx-dhcor-io3v3.dtsi