
On 07/01/21 12:50 am, Nishanth Menon wrote:
Hi,
ARMv8's generic timer[1] picks up it's graycode from GTC. However, the frequency of the GTC is supposed to be programmed in CNTFID0[2] register prior to enabling the GTC in CNTCR[3] register. U-boot for K3 is currently missing that programming sequence. This series introduces the clock nodes necessary for the lookup and writes the frequency to the corresponding register for TF-A to pick up [4].
Based on: 62b07b5173e3 (tag: v2021.01-rc5, upstream/master) Prepare v2021.01-rc5
J721e: https://pastebin.ubuntu.com/p/Wcxfd3BNSv/ J7200: https://pastebin.ubuntu.com/p/VsVqn7y8pv/ I dont have an AM654-evm handy at the moment, but the programming sequences are similar in nature.
Applied to u-boot-ti/for-next branch.
Thanks and regards, Lokesh