Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1562762

[PATCH 1/3] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f746

From Amelie Delaunay <amelie.delaunay@st.com>
Newsgroups linux.kernel
Subject [PATCH 1/3] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f746
Date 2017-01-19 15:20 +0100
Message-ID <t1lJf-2Aj-7@gated-at.bofh.it> (permalink)
References <t1lzz-2wM-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch set HSE_RTC clock frequency to 1 MHz, as the clock supplied to
the RTC must be 1 MHz.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
 arch/arm/boot/dts/stm32f746.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi
index 5bbee56..b42f23d 100644
--- a/arch/arm/boot/dts/stm32f746.dtsi
+++ b/arch/arm/boot/dts/stm32f746.dtsi
@@ -343,6 +343,8 @@
 			reg = <0x40023800 0x400>;
 			clocks = <&clk_hse>, <&clk_i2s_ckin>;
 			st,syscfg = <&pwrcfg>;
+			assigned-clocks = <&rcc 1 CLK_HSE_RTC>;
+			assigned-clock-rates = <1000000>;
 		};
 
 		dma1: dma-controller@40026000 {
-- 
1.9.1

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 1/3] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f746 Amelie Delaunay <amelie.delaunay@st.com> - 2017-01-19 15:20 +0100

csiph-web