[U-Boot] [PATCH 13/40] arm64: zynqmp: rtc: Add calibration

Michal Simek michal.simek at xilinx.com
Mon Nov 6 12:12:45 UTC 2017


From: Nava kishore Manne <nava.manne at xilinx.com>

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 at xilinx.com>
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 arch/arm/dts/zynqmp.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
index f2c0b5ebf9ab..951e069ecd28 100644
--- a/arch/arm/dts/zynqmp.dtsi
+++ b/arch/arm/dts/zynqmp.dtsi
@@ -764,6 +764,7 @@
 			interrupt-parent = <&gic>;
 			interrupts = <0 26 4>, <0 27 4>;
 			interrupt-names = "alarm", "sec";
+			calibration = <0x8000>;
 		};
 
 		serdes: zynqmp_phy at fd400000 {
-- 
1.9.1



More information about the U-Boot mailing list