Hi,
we are using the latest Linux SDK with the AM6442 and have a customer HW which is using a QSPI flash. Looking at the device trees the max clock is configured for 40MHz in the customer code. The driver somehow makes an assumption that the OSPI HW module receives an internal clock of 200MHz, and the driver configures a /6 divider for the OSPI_CLK, which should now be 33.3MHz
However when looking at the scope the OSPI_CLK is actually 27.6MHz.
We determine that the internal clock to the OSPI HW module is actually 166.66MHz and not 200MHz, and validate that with the k3_conf utility.
Two questions:
[] Where is the input clock to the OSPI module defined? Is that a u-boot device tree entry or somewhere else?
[] Why is the u-boot and kernel driver assuming that the OSPI module receives a 200MHz clock?
Thanks!
--Gunter