Zynq UltraScale+ MPSoC supports the use of an AXI Performance Monitor (APM) sample clock via Common Clock Framework (CCF).
As a result the user does not need to determine the frequency themselves.
Follow the steps below to enable an APM sample clock via CCF:
1) Enable CCF in the kernel config:
2) Apply the attached patch to the kernel only if this patch does not exists. Copy the linux kernel source from the PetaLinux install path to the local project as shown.
Apply the APM patch (apm-ccf.patch) to the local kernel source as shown.
Make sure you apply the patch with the "--dry-run" option which will check for errors.
3) Now add the following to the clock node in system-top.dts, which is lsbus as it is driven by the Asynchronous Peripheral Mode (APM) for the Zynq UltraScale+ MPSoC.
|Name||File Size||File Type|
|Boards & Kits||