From: Clément Léger <clement.leger@bootlin.com>
Date: Thu, 31 Mar 2022 08:55:09 +0000 (+0200)
Subject: ARM: dts: at91: sama5d2: add u-boot, dm-pre-reloc property for TCB
X-Git-Tag: v2025.01-rc5-pxa1908~1478^2^2~1
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=3d3fdaf0758f1fe240774a7394d6cf04573ffd5c;p=u-boot.git

ARM: dts: at91: sama5d2: add u-boot, dm-pre-reloc property for TCB

In order to use the TCB early in boot and in the SPL, add
u-boot,dm-pre-reloc property for the TCB and the clock that is used by
the driver (tcb0_clk).

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
---

diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi
index 058009adca..d92bdd5588 100644
--- a/arch/arm/dts/sama5d2.dtsi
+++ b/arch/arm/dts/sama5d2.dtsi
@@ -363,6 +363,7 @@
 						#clock-cells = <0>;
 						reg = <35>;
 						atmel,clk-output-range = <0 83000000>;
+						u-boot,dm-pre-reloc;
 					};
 
 					tcb1_clk: tcb1_clk@36 {
@@ -648,10 +649,12 @@
 				clock-names = "t0_clk", "gclk", "slow_clk";
 				#address-cells = <1>;
 				#size-cells = <0>;
+				u-boot,dm-pre-reloc;
 
 				timer0: timer@0 {
 					compatible = "atmel,tcb-timer";
 					reg = <0>, <1>;
+					u-boot,dm-pre-reloc;
 				};
 			};