]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: versal-net: Update rtc calibration value
authorHarini T <harini.t@amd.com>
Thu, 10 Jul 2025 06:13:09 +0000 (11:43 +0530)
committerMichal Simek <michal.simek@amd.com>
Fri, 29 Aug 2025 05:41:00 +0000 (07:41 +0200)
As per the design specification
"The 16-bit Seconds Calibration Value represents the number of
Oscillator Ticks that are required to measure the largest time period
that is less than or equal to 1 second.
For an oscillator that is 32.768kHz, this value will be 0x7FFF."

Signed-off-by: Harini T <harini.t@amd.com>
Link: https://lore.kernel.org/r/20250710061309.25601-1-harini.t@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm64/boot/dts/xilinx/versal-net.dtsi

index fc9f49e57385ae103ab04b8d0aedd242c2bf41fe..c037a7819967022ee7352192c763a64e03854795 100644 (file)
                        reg = <0 0xf12a0000 0 0x100>;
                        interrupts = <0 200 4>, <0 201 4>;
                        interrupt-names = "alarm", "sec";
-                       calibration = <0x8000>;
+                       calibration = <0x7FFF>;
                };
 
                sdhci0: mmc@f1040000 {