From: Patrick Delaunay <[email protected]>

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 <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
---

 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

Reply via email to