From: Fabio Estevam <feste...@denx.de>

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.

Signed-off-by: Fabio Estevam <feste...@denx.de>
---
 arch/arm/dts/sama5d2.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi
index 7b62fffb4ff..62191ff5d97 100644
--- a/arch/arm/dts/sama5d2.dtsi
+++ b/arch/arm/dts/sama5d2.dtsi
@@ -778,6 +778,7 @@
                                compatible = "atmel,at91sam9260-pit";
                                reg = <0xf8048030 0x10>;
                                clocks = <&h32ck>;
+                               bootph-all;
                        };
 
                        watchdog: watchdog@f8048040 {
-- 
2.34.1

Reply via email to