]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: rtc: Update rtc calibration value
authorSrinivas Neeli <srinivas.neeli@xilinx.com>
Mon, 8 Mar 2021 08:35:19 +0000 (14:05 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Jun 2021 07:48:35 +0000 (09:48 +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.768 KHz, this value will be 0x7FFF."

Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp.dtsi

index 47ffdf1b1650d257b94ddbf5a48a6589826ef931..d7e551630d6f4cdb60fa642743d6b2ba04f191bd 100644 (file)
                        interrupt-parent = <&gic>;
                        interrupts = <0 26 4>, <0 27 4>;
                        interrupt-names = "alarm", "sec";
-                       calibration = <0x8000>;
+                       calibration = <0x7FFF>;
                };
 
                sata: ahci@fd0c0000 {