]> git.sur5r.net Git - u-boot/commitdiff
arm64: zynqmp: rtc: Add calibration
authorNava kishore Manne <nava.manne@xilinx.com>
Fri, 27 Jan 2017 12:50:14 +0000 (18:20 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Nov 2017 15:09:08 +0000 (16:09 +0100)
This patch adds the calibration property with required value,
calculated based on rtc input crystal oscillator frequency (32.768Khz).

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp.dtsi

index f2c0b5ebf9ab2104a68312a4ac52bd24a32a39c9..951e069ecd288e7d92aee116945a1a3f26efa575 100644 (file)
                        interrupt-parent = <&gic>;
                        interrupts = <0 26 4>, <0 27 4>;
                        interrupt-names = "alarm", "sec";
+                       calibration = <0x8000>;
                };
 
                serdes: zynqmp_phy@fd400000 {