From b0080ae1bbfe78caf9cc43cef2b8fdcc75cc4320 Mon Sep 17 00:00:00 2001
From: Manuel Reis <mluis.reis@gmail.com>
Date: Tue, 6 Apr 2021 10:39:53 +0100
Subject: [PATCH] ARM: dts: at91: sama5d3: add u-boot properties to sama5d3 pit
 timer

in the early SPL boot stage whenever there is a call to udelay,
dm_timer_init fails to find the pit timer whenever it traverses
the device tree, if this property is not present

Signed-off-by: Manuel Reis <mluis.reis@gmail.com>
CC: Eugen Hristev <eugen.hristev@microchip.com>
Tested-by: Derald D. Woods <woods.technical@gmail.com>
Reviewed-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 arch/arm/dts/sama5d3.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/sama5d3.dtsi b/arch/arm/dts/sama5d3.dtsi
index 6ed218eaad..42c30e9f30 100644
--- a/arch/arm/dts/sama5d3.dtsi
+++ b/arch/arm/dts/sama5d3.dtsi
@@ -1320,6 +1320,7 @@
 				reg = <0xfffffe30 0xf>;
 				interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>;
 				clocks = <&mck>;
+				u-boot,dm-pre-reloc;
 			};
 
 			watchdog@fffffe40 {
-- 
2.39.5