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

Align the osc_24m node with the imx8mn, so that it can be available in SPL.

This fixes a long pause in SPL when loading U-Boot proper.

Signed-off-by: Fabio Estevam <feste...@denx.de>
---
 arch/arm/dts/imx8mm-u-boot.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/imx8mm-u-boot.dtsi b/arch/arm/dts/imx8mm-u-boot.dtsi
index abb3aa5b635..a1ae2371773 100644
--- a/arch/arm/dts/imx8mm-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-u-boot.dtsi
@@ -229,6 +229,10 @@
        /delete-property/ assigned-clocks;
        /delete-property/ assigned-clock-parents;
        /delete-property/ assigned-clock-rates;
+#ifdef CONFIG_SPL_BUILD
+       clocks = <&osc_24m>;
+       clock-names = "osc_24m";
+#endif
 };
 
 &iomuxc {
-- 
2.34.1

Reply via email to