Skip to contentSkip to conversation

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

PATCH Superseded Dharma Balasubiramani 3 participants 3 messages Oct 8, 2025 Arm (32-bit)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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")

---

 arch/arm/dts/sam9x60ek.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/dts/sam9x60ek.dts +1 -0
index 6521585ee9c..1c09c92ae18 100644
@@ -17,6 +17,7 @@
 	chosen {
 		stdout-path = &dbgu;
 		i2c0 = &flx0;
+		tick-timer = &pit;
 	};
 
 	clocks {
Signature · 4 lines
2.43.0

base-commit: 92dcb3ad5d98f494b2448a7345e1cb7eefa50278
branch: master
#1 lore raw
Quoted 19 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.

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

---

 arch/arm/dts/sam9x60ek.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/dts/sam9x60ek.dts +0 -0
index 6521585ee9c..1c09c92ae18 100644

arch/arm/dts/sam9x60ek.dts line 23

Quoted 7 lines
arch/arm/dts/sam9x60ek.dts +1 -0
@@ -17,6 +17,7 @@
 	chosen {
 		stdout-path = &dbgu;
 		i2c0 = &flx0;
+		tick-timer = &pit;
 	};
 
 	clocks {

This property is not in Linux DT and not documented in Linux. Please move it to sam9x60ek-u-boot.dtsi

Eugen

#2 lore raw
Quoted 28 lines · Eugen Hristev
Quoted 25 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.

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

---

 arch/arm/dts/sam9x60ek.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/dts/sam9x60ek.dts +1 -0
index 6521585ee9c..1c09c92ae18 100644
@@ -17,6 +17,7 @@
 	chosen {
 		stdout-path = &dbgu;
 		i2c0 = &flx0;
+		tick-timer = &pit;
 	};
 
Quoted 4 lines

arch/arm/dts/sam9x60ek.dts line 23

Quoted 1 line
arch/arm/dts/sam9x60ek.dts +0 -0
 	clocks {

This property is not in Linux DT and not documented in Linux. Please move it to sam9x60ek-u-boot.dtsi

Oof, yeah, that belongs in the -u-boot.dtsi and long term we need to rename it to u-boot,tick-timer and upstream it.

Signature · 1 line
Tom