arm64: versal: Add frequency scaling support
Add CPU Operating Performance Points (OPP) table and ACPU clock for
cpu0. This is needed by cpufreq driver to manage CPU frequency scaling.
e.g.
In the design if we have 72 as the multiplier and 33.333 MHz as the ref
frequency:
pllfreq = 33.33*72 = 2399.76 MHz
It is the pll output.
Now, with the integral divisors we can achieve:
2399.76 / 2 = 1199.88 MHz
2399.76 / 3 = 799.92 MHz
2399.76 / 4 = 599.94 MHz
2399.76 / 5 = 479.95 MHz
2399.76 / 6 = 399.96 MHz
2399.76 / 7 = 342.82 MHz
etc.
Therefore, some of them are chosen to be in the device tree.
For more reference: https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/
18841831/CPU+frequency+scaling
Signed-off-by: Izhar Ameer Shaikh <izhar.ameer.shaikh@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>