On 4/25/25 3:52 PM, Fabio Estevam wrote:
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
};
No SPL-specific ifdefs in DT please , sorry but NAK , I already did this
last year and it was rejected, and that totally makes sense. Just
include the 32kHz clock source in SPL DT and that's the right fix.