diff mbox

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

Message ID 1501852726-9472-12-git-send-email-patrice.chotard@st.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Patrice CHOTARD Aug. 4, 2017, 1:18 p.m. UTC
From: Patrice Chotard <patrice.chotard@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@st.com>
---
 arch/arm/dts/stm32h743.dtsi | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
diff mbox

Patch

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>;
+		};
 	};
 };