From: Patrice Chotard <patrice.chot...@st.com>

Add missing HSI (High Speed Internal) and CSI (Low Power Internal)
oscillators nodes needed by STM32H7 RCC clock driver.

These clocks can be used as clocksource in some configuration.

Signed-off-by: Patrice Chotard <patrice.chot...@st.com>
---
 arch/arm/dts/stm32h743.dtsi | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/stm32h743.dtsi b/arch/arm/dts/stm32h743.dtsi
index ca3faad..16e9308 100644
--- a/arch/arm/dts/stm32h743.dtsi
+++ b/arch/arm/dts/stm32h743.dtsi
@@ -71,7 +71,7 @@
                        #reset-cells = <1>;
                        compatible = "st,stm32h743-rcc", "st,stm32-rcc";
                        reg = <0x58024400 0x400>;
-                       clocks = <&clk_hse>, <&clk_lse>, <&clk_i2s>;
+                       clocks = <&clk_hse>, <&clk_lse>, <&clk_i2s>, 
<&clk_hsi>, <&clk_csi>;
                        st,syscfg = <&pwrcfg>;
                };
 
@@ -108,6 +108,18 @@
                        reg = <0x52004000 0x1000>;
                        clocks = <&rcc FMC_CK>;
                };
+
+               clk_hsi: clk-hsi {
+                       #clock-cells = <0>;
+                       compatible = "fixed-clock";
+                       clock-frequency = <64000000>;
+               };
+
+               clk_csi: clk-csi {
+                       #clock-cells = <0>;
+                       compatible = "fixed-clock";
+                       clock-frequency = <4000000>;
+               };
        };
 };
 
-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to