[PATCH] ARM: dts: am335x-pocketbeagle: choose tick-timer
Nishanth Menon
nm at ti.com
Fri Sep 8 19:36:17 CEST 2023
On 11:25-20230830, Trevor Woerner wrote:
> 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 at pile-engineering.com>
> Signed-off-by: Trevor Woerner <twoerner at 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
>
Does enabling CONFIG_SYS_ARCH_TIMER solve this?
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
More information about the U-Boot
mailing list