Skip to contentSkip to conversation

add u-boot properties to sama5d3 pit timer

PATCH Superseded Manuel Reis 2 participants 2 messages Apr 5, 2021 – Apr 6, 2021 Arm (32-bit)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add u-boot properties to sama5d3 pit timer

pit timer node requires u-boot properties to be recognized

---
 arch/arm/dts/sama5d3.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/dts/sama5d3.dtsi +1 -0
index 6ed218eaad..3cd30d574d 100644
@@ -1316,6 +1316,7 @@
 			};
 
 			pit: timer at fffffe30 {
+				u-boot,dm-pre-reloc;
 				compatible = "atmel,at91sam9260-pit";
 				reg = <0xfffffe30 0xf>;
 				interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>;
Signature · 1 line
2.27.0
#1 lore raw

PATCH 1/1 add u-boot properties to sama5d3 pit timer

Hi Manuel,

Subject should be like this :
ARM: dts: at91: sama5d3: ...

Quoted 1 line · Manuel Reis

pit timer node requires u-boot properties to be recognized

could you be more specific, where it's required, like we discussed, in the early boot process of the SPL , it's not found if the property is not present.

Quoted 12 lines
---
  arch/arm/dts/sama5d3.dtsi | 1 +
  1 file changed, 1 insertion(+)
arch/arm/dts/sama5d3.dtsi +0 -0
index 6ed218eaad..3cd30d574d 100644

arch/arm/dts/sama5d3.dtsi line 1319

Quoted 4 lines
arch/arm/dts/sama5d3.dtsi +1 -0
@@ -1316,6 +1316,7 @@
                         };
 
                         pit: timer at fffffe30 {
+                               u-boot,dm-pre-reloc;

add this as the last property of the node please.

Quoted 6 lines
arch/arm/dts/sama5d3.dtsi +0 -1
                                 compatible = "atmel,at91sam9260-pit";
                                 reg = <0xfffffe30 0xf>;
                                 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>;
--

2.27.0

So, modify the commit, and create your patch using git format-patch -v 2 (to have it as a version 2) and resend.

Thank you for the patch !
Eugen