[U-Boot] [PATCH 11/15] ARM: DTS: stm32: add HSI and CSI fixed clock for stm32H743

patrice.chotard at st.com patrice.chotard at st.com
Fri Aug 4 13:18:42 UTC 2017


From: Patrice Chotard <patrice.chotard at 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.chotard at 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



More information about the U-Boot mailing list