Skip to contentSkip to conversation

arm64: versal-net: Update rtc calibration value

PATCH Applied Harini T 2 participants 2 messages Jul 10, 2025 – Jul 18, 2025

Subsystems (2)
lore
Share & tools
lore

Harini T

author
#0 lore raw

PATCH 1/1 arm64: versal-net: Update rtc calibration value

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."

---
 arch/arm64/boot/dts/xilinx/versal-net.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/xilinx/versal-net.dtsi +1 -1
index fc9f49e57385..c037a7819967 100644
@@ -556,7 +556,7 @@
 			reg = <0 0xf12a0000 0 0x100>;
 			interrupts = <0 200 4>, <0 201 4>;
 			interrupt-names = "alarm", "sec";
-			calibration = <0x8000>;
+			calibration = <0x7FFF>;
 		};
 
 		sdhci0: mmc@f1040000 {
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 16 lines · Harini T

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."

---
  arch/arm64/boot/dts/xilinx/versal-net.dtsi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/xilinx/versal-net.dtsi +0 -0
index fc9f49e57385..c037a7819967 100644

arch/arm64/boot/dts/xilinx/versal-net.dtsi line 562

Quoted 8 lines
arch/arm64/boot/dts/xilinx/versal-net.dtsi +1 -1
@@ -556,7 +556,7 @@
  			reg = <0 0xf12a0000 0 0x100>;
  			interrupts = <0 200 4>, <0 201 4>;
  			interrupt-names = "alarm", "sec";
-			calibration = <0x8000>;
+			calibration = <0x7FFF>;
  		};
 
  		sdhci0: mmc@f1040000 {

Applied.
M