public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: am335x-pocketbeagle: choose tick-timer
@ 2023-08-30 15:25 Trevor Woerner
  2023-09-08 16:00 ` Robert Nelson
  2023-09-08 17:36 ` Nishanth Menon
  0 siblings, 2 replies; 5+ messages in thread
From: Trevor Woerner @ 2023-08-30 15:25 UTC (permalink / raw)
  To: U-Boot Mailing List; +Cc: Pierre Lebleu, Andrew Davis

Commit 4b2be78ab66c ("time: Fix get_ticks being non-monotonic")
requires '/chosen/tick-timer' in device-tree. Otherwise we get:

	U-Boot 2023.07.02 (Jul 11 2023 - 15:20:44 +0000)

	CPU  : AM335X-GP rev 2.1
	Model: TI AM335x PocketBeagle
	DRAM:  512 MiB
	Core:  154 devices, 16 uclasses, devicetree: separate
	Could not initialize timer (err -19)

	resetting ...

Suggested-by: Pierre Lebleu <pierre.lebleu@pile-engineering.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 arch/arm/dts/am335x-pocketbeagle.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/am335x-pocketbeagle.dts b/arch/arm/dts/am335x-pocketbeagle.dts
index b379e3a5570d..02e3aac56064 100644
--- a/arch/arm/dts/am335x-pocketbeagle.dts
+++ b/arch/arm/dts/am335x-pocketbeagle.dts
@@ -15,6 +15,7 @@
 
 	chosen {
 		stdout-path = &uart0;
+		tick-timer = &timer2;
 	};
 
 	leds {
-- 
2.41.0.327.gaa9166bcc0ba


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-11 11:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-30 15:25 [PATCH] ARM: dts: am335x-pocketbeagle: choose tick-timer Trevor Woerner
2023-09-08 16:00 ` Robert Nelson
2023-09-08 17:36 ` Nishanth Menon
2023-09-09 13:27   ` Trevor Woerner
2023-09-11 11:06     ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox