Skip to contentSkip to conversation

ARM: dts: sam9x60ek: select PIT as tick-timer

PATCH In review Dharma Balasubiramani 2 participants 2 messages Oct 13, 2025 – Oct 21, 2025 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: sam9x60ek: select PIT as tick-timer

U-Boot currently enables the UPLL during boot, which triggers a udelay() call that depends on the system tick timer. Since no explicit tick source is defined in the device tree, boot stalls on this board.

Define the "tick-timer" property under /chosen and point it to the PIT node, ensuring U-Boot uses the PIT as the tick source.

Fixes ac30d90f3367 ("clk: Ensure the parent clocks are enabled while reparenting")

---

Changes in v2:
- Moved the 'tick-timer' property to sam9x60ek-u-boot.dtsi.

 arch/arm/dts/sam9x60ek-u-boot.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/dts/sam9x60ek-u-boot.dtsi +1 -0
index fd2afa8a2fa..ef329b33b7e 100644
@@ -8,6 +8,7 @@
 / {
 	chosen {
 		bootph-all;
+		tick-timer = &pit;
 	};
 
 	ahb {
Signature · 4 lines
2.43.0

base-commit: eea470fd7f6a0db9fbdf8ab187a8b522dbb49c10
branch: master
#1 lore raw
Quoted 7 lines · Dharma Balasubiramani

U-Boot currently enables the UPLL during boot, which triggers a udelay() call that depends on the system tick timer. Since no explicit tick source is defined in the device tree, boot stalls on this board.

Define the "tick-timer" property under /chosen and point it to the PIT node, ensuring U-Boot uses the PIT as the tick source.

Quoted 8 lines
Fixes ac30d90f3367 ("clk: Ensure the parent clocks are enabled while reparenting")

---

Changes in v2:
- Moved the 'tick-timer' property to sam9x60ek-u-boot.dtsi.

Applied to u-boot-at91/master , thanks !