libbsd zynqmp cpu freq for slcr calc

Joel Sherrill joel at rtems.org
Thu Oct 14 15:18:25 UTC 2021


On Thu, Oct 14, 2021 at 9:56 AM Kinsey Moore <kinsey.moore at oarcorp.com> wrote:
>
> On 10/14/2021 01:40, Chris Johns wrote:
> > Hi,
> >
> > I have come across this define in zynqmp_slcr.h:
> >
> > #define ZYNQMP_DEFAULT_PS_CLK_FREQUENCY 33333333
> >
> > What if the cpu freq is changed by a user? If this value still valid?
> If CPU frequency scaling is used, I believe this value remains
> unchanged. This is the base clock of the processing subsystem as a whole
> which includes all hard peripherals.
> > The CPU frequency is under the control system designer in these parts.
>
> That's correct, this frequency could theoretically be changed by using
> different parts on the board, different dividers somewhere, or probably
> even forcing the PL to somehow generate the clock. This clock value has
> been the same for all 3 ZynqMP boards I have on hand.

If it can be changed by a user, should it be something that can be overridden
by configuration?

--joel
>
>
> Kinsey
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list