MLK-22179-2 imx8mn_evk: Enable FSPI DQS loopback for high freq
authorYe Li <ye.li@nxp.com>
Wed, 3 Jul 2019 08:01:44 +0000 (01:01 -0700)
committerYe Li <ye.li@nxp.com>
Tue, 30 Jul 2019 09:08:32 +0000 (02:08 -0700)
commit4a4ef819c20d93699378930592a62a098a42ad82
treecb5e884294aee01a52dae48c2ccccce26b457bb0
parentfd90ac4654cf63d7518fc549f7a2b39d6a2e0230
MLK-22179-2 imx8mn_evk: Enable FSPI DQS loopback for high freq

There is an divider on imx8mn will always divide 2 to flexspi root clock.
So actual SCLK output to device is 50Mhz on imx8mn not 100Mhz.

After changing the root clock setting to configure SCLK to 100Mhz, found
the read data is not correct. Must enable the internal DQS pad loopback
to fix the problem.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 9ff3ae4f9ebbb81bd42d81729cec4525c6e9b33e)
arch/arm/dts/fsl-imx8mn-ddr4-evk.dts
arch/arm/mach-imx/imx8m/clock_imx8mm.c
include/configs/imx8mn_evk.h