ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer
PATCH 1/1 ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer
From: Fabio Estevam <[email protected]>
The PIT timer needs to be available early in the SPL phase, otherwise SPL fails to boot and only prints:
Could not initialize timer (err -96)
Fix this problem by passing 'bootph-all' to the sama5d2 PIT node.
--- arch/arm/dts/sama5d2.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/dts/sama5d2.dtsi +1 -0
@@ -778,6 +778,7 @@ compatible = "atmel,at91sam9260-pit"; reg = <0xf8048030 0x10>; clocks = <&h32ck>; + bootph-all; }; watchdog: watchdog@f8048040 {
Signature · 1 line
2.34.1
Hi Eugen,
Quoted 9 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
The PIT timer needs to be available early in the SPL phase, otherwise SPL fails to boot and only prints:
Could not initialize timer (err -96)
Fix this problem by passing 'bootph-all' to the sama5d2 PIT node.
Do you have any comments, please?
This allows SPL to work on sama5d27.
Thanks
Quoted 11 lines · Fabio Estevam
Hi Eugen,
Quoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
The PIT timer needs to be available early in the SPL phase, otherwise SPL fails to boot and only prints:
Could not initialize timer (err -96)
Quoted 7 lines
Quoted 1 line
Fix this problem by passing 'bootph-all' to the sama5d2 PIT node.
Do you have any comments, please?
This allows SPL to work on sama5d27.
Thanks
No, this looks good. I will apply it for 2025.07 or next, let's see what other patches I have and when the PR will be ready.
Quoted 16 lines · Eugen Hristev
Quoted 13 lines · Fabio Estevam
Hi Eugen,
Quoted 9 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
The PIT timer needs to be available early in the SPL phase, otherwise SPL fails to boot and only prints:
Could not initialize timer (err -96)
Fix this problem by passing 'bootph-all' to the sama5d2 PIT node.
Quoted 8 lines
Quoted 5 lines
Do you have any comments, please?
This allows SPL to work on sama5d27.
Thanks
No, this looks good. I will apply it for 2025.07 or next, let's see what other patches I have and when the PR will be ready.
Applied to u-boot-at91/master, thanks !