diff mbox series

ARM: dts: am335x-chiliboard: add /chosen/tick-timer

Message ID 20211102134106.1632165-1-m.niestroj@grinn-global.com
State Accepted
Commit 33fa496aeaeb3ebd8241e8b529d1915a91234d8a
Delegated to: Tom Rini
Headers show
Series ARM: dts: am335x-chiliboard: add /chosen/tick-timer | expand

Commit Message

Marcin Niestroj Nov. 2, 2021, 1:41 p.m. UTC
Commit 4b2be78ab66c ("time: Fix get_ticks being non-monotonic") has
broken boot on chiliboard platform, as it requires '/chosen/tick-timer'
in device-tree. This resulted in following panic message:

  Could not initialize timer (err -19)

Provide missing chosen property in device-tree to fix chiliboard
support.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
---
 arch/arm/dts/am335x-chiliboard-u-boot.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tom Rini Nov. 12, 2021, 3:40 p.m. UTC | #1
On Tue, Nov 02, 2021 at 02:41:06PM +0100, Marcin Niestroj wrote:

> Commit 4b2be78ab66c ("time: Fix get_ticks being non-monotonic") has
> broken boot on chiliboard platform, as it requires '/chosen/tick-timer'
> in device-tree. This resulted in following panic message:
> 
>   Could not initialize timer (err -19)
> 
> Provide missing chosen property in device-tree to fix chiliboard
> support.
> 
> Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/dts/am335x-chiliboard-u-boot.dtsi b/arch/arm/dts/am335x-chiliboard-u-boot.dtsi
index 06a13872ee..17333d69bf 100644
--- a/arch/arm/dts/am335x-chiliboard-u-boot.dtsi
+++ b/arch/arm/dts/am335x-chiliboard-u-boot.dtsi
@@ -1,6 +1,6 @@ 
 // SPDX-License-Identifier: GPL-2.0+ or X11
 /*
- * Copyright (C) 2018 Grinn Sp. z o.o. -- http://www.grinn-global.com/
+ * Copyright (C) 2018-2021 Grinn Sp. z o.o. -- http://www.grinn-global.com/
  * Author: Marcin Niestroj <m.niestroj@grinn-global.com>
  */
 
@@ -9,5 +9,6 @@ 
 / {
 	chosen {
 		stdout-path = &uart0;
+		tick-timer = &timer2;
 	};
 };