ARM: dts: sam9x60ek: select PIT as tick-timer
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.
---
arch/arm/dts/sam9x60ek.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm/dts/sam9x60ek.dts +1 -0
@@ -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
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")Signed-off-by Dharma Balasubiramani <[email protected]>---
arch/arm/dts/sam9x60ek.dts | 1 + 1 file changed, 1 insertion(+)arch/arm/dts/sam9x60ek.dts +0
-0
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
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")Signed-off-by Dharma Balasubiramani <[email protected]>---
arch/arm/dts/sam9x60ek.dts | 1 + 1 file changed, 1 insertion(+)arch/arm/dts/sam9x60ek.dts +1
-0@@ -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
-0clocks {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