]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm: mach-k3: am625: Fixup a53 cpu frequency by speed grade
authorJoao Paulo Goncalves <joao.goncalves@toradex.com>
Wed, 20 Mar 2024 12:16:32 +0000 (09:16 -0300)
committerTom Rini <trini@konsulko.com>
Thu, 11 Apr 2024 21:50:56 +0000 (15:50 -0600)
commit5ed961094d456d03c481d2bf751f6eeb06c1bada
treeecfb6adecf938d3aa6e7ca138d21cd831b2b8783
parentba26524cad98aa70913afb7a2436949ac14c3b41
arm: mach-k3: am625: Fixup a53 cpu frequency by speed grade

The maximum frequency of the A53 CPU on the AM62 depends on the speed
grade of the SoC. However, this value is hardcoded in the DT for all
AM62 variants, potentially causing specifications to be exceeded. Moreover,
setting a common lower frequency for all variants increases boot time.
To prevent these issues, modify the DT at runtime from the R5 core to
adjust the A53 CPU frequency based on its speed grade.

Suggested-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
arch/arm/mach-k3/am625_init.c