[PATCH] ARM: dts: stm32mp13: Add support of ck_usbo_48m in pre-reloc stage

Patrice Chotard patrice.chotard at foss.st.com
Fri Nov 29 13:33:25 CET 2024


From: Patrick Delaunay <patrick.delaunay at foss.st.com>

The clock ck_usbo_48m is a clock source for RCC, so the ck_usbo_48m
clock provided by usbphyc need to be probed when RCC clock driver is
required, in pre-reloc stage.

This patch allow to remove the following warning:

clk_register: failed to get ck_usbo_48m device (parent of usbo_k)

Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
---

 arch/arm/dts/stm32mp13-u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/stm32mp13-u-boot.dtsi b/arch/arm/dts/stm32mp13-u-boot.dtsi
index aa5cfc6e41d..af7edc7e2b2 100644
--- a/arch/arm/dts/stm32mp13-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp13-u-boot.dtsi
@@ -111,3 +111,8 @@
 &syscfg {
 	bootph-all;
 };
+
+&usbphyc {
+	/* stm32-usbphyc-clk = ck_usbo_48m is a source clock of RCC CCF */
+	bootph-all;
+};
-- 
2.25.1



More information about the U-Boot mailing list