[PATCH] arm64: zynqmp: Configure SoC RTC on SOM

Michal Simek michal.simek at amd.com
Wed Nov 6 09:01:52 CET 2024



On 10/23/24 08:09, Michal Simek wrote:
> Use RTC available in HW on Kria SOM without using emulation that's why
> configure it properly and disable emulated one.
> Power on reset value of RTC Calibration register without battery backup is
> not matching with crystal frequency which leads to RTC time drift. That's
> why write CALIB_WRITE register with crystal frequency (0x7FFF). There is
> also an option to write zero so that Linux will set default value (0x7FFF)
> in driver probe but calibration 0 is not permited by DT schema.
> 
> Co-developed-by: Srinivas Goud <srinivas.goud at amd.com>
> Signed-off-by: Srinivas Goud <srinivas.goud at amd.com>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   arch/arm/dts/zynqmp-sm-k26-revA.dts  | 1 +
>   configs/xilinx_zynqmp_kria_defconfig | 1 -
>   2 files changed, 1 insertion(+), 1 deletion(-)

Applied.
M


More information about the U-Boot mailing list