commit | 1560b761349c293cc24b42466db61f0e51f6b720 | [log] [tgz] |
---|---|---|
author | Stefan Mätje <stefan.maetje@esd.eu> | Tue Nov 30 01:06:56 2021 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sun Jan 16 08:31:03 2022 -0500 |
tree | ec452c000cdc36d7e3fcf0acc3b0e998e9e5b2d2 | |
parent | f673987280558c2291a98482562a2ba5be1209cf [diff] |
Fix wrong QSPI clock calculation for AM4372 On AM4372 the SPI_GCLK input gets its clock from the PRCM module which divides the PER_CLKOUTM2 frequency (192MHz) by a fixed factor of 4. See AM437x Reference Manual in section 27 QSPI >> 27.2 Integration. The QSPI_FCLK therefore needs to take this factor into account and becomes (192000000 / 4). Signed-off-by: Stefan Mätje <stefan.maetje@esd.eu>