summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2025-04-25 14:39:01 -0300
committerFabio Estevam <[email protected]>2025-04-28 10:41:45 -0300
commita08c252c80538292f2b67760044e3cd1792be43e (patch)
tree97ff490ea51d6fb6202fe10604212caa4fd16bfd
parenta785ef24487b51f911fe11bc91f30877eb1ced83 (diff)
arm64: dts: imx8mm: Make osc_32k available in SPL
Since commit b4734c9c333b ("clk: imx: Convert clock-osc-* back to osc_*") SPL takes a long time to load U-Boot proper on an imx8mm-evk board. The reason for the long delay is because the osc_32k clock is not available in the SPL phase. Fix this problem by passing the 'bootph-all' and 'bootph-pre-ram' properties to make the osc_32k clock available in SPL. This also aligns with imx8mn and imx8mp-u-boot.dtsi files. Fixes: b4734c9c333b ("clk: imx: Convert clock-osc-* back to osc_*") Suggested-by: Marek Vasut <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Adam Ford <[email protected]>
-rw-r--r--arch/arm/dts/imx8mm-u-boot.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mm-u-boot.dtsi b/arch/arm/dts/imx8mm-u-boot.dtsi
index abb3aa5b635..59453dc36d3 100644
--- a/arch/arm/dts/imx8mm-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-u-boot.dtsi
@@ -240,6 +240,11 @@
bootph-pre-ram;
};
+&osc_32k {
+ bootph-all;
+ bootph-pre-ram;
+};
+
#ifdef CONFIG_FSL_CAAM
&sec_jr0 {
bootph-pre-ram;