[PATCH v8 4/5] ARM: dts: at91: sama5d2: add u-boot, dm-pre-reloc property for TCB

Clément Léger clement.leger at bootlin.com
Thu Mar 31 10:55:09 CEST 2022


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 at bootlin.com>
---
 arch/arm/dts/sama5d2.dtsi | 3 +++
 1 file changed, 3 insertions(+)

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 at 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 at 0 {
 					compatible = "atmel,tcb-timer";
 					reg = <0>, <1>;
+					u-boot,dm-pre-reloc;
 				};
 			};
 
-- 
2.34.1



More information about the U-Boot mailing list