arm64: zynqmp: Update rtc calibration value
authorSrinivas Neeli <srinivas.neeli@xilinx.com>
Mon, 14 Jun 2021 15:25:31 +0000 (17:25 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 13 Sep 2021 06:55:54 +0000 (08:55 +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>
Link: https://lore.kernel.org/r/0d36d9fe999ff82f10d42ab5fc0d1e907c26ac34.1623684253.git.michal.simek@xilinx.com
arch/arm64/boot/dts/xilinx/zynqmp.dtsi

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