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


Groups > linux.kernel > #1559736

[PATCHv3 RESEND 1/8] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f429

From Amelie Delaunay <amelie.delaunay@st.com>
Newsgroups linux.kernel
Subject [PATCHv3 RESEND 1/8] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f429
Date 2017-01-16 14:40 +0100
Message-ID <t0fFU-10y-13@gated-at.bofh.it> (permalink)
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/stm32f429.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index e9324a3..557c1f4 100644
--- a/arch/arm/boot/dts/stm32f429.dtsi
+++ b/arch/arm/boot/dts/stm32f429.dtsi
@@ -433,6 +433,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 | NextNext in thread | Find similar | Unroll thread


Thread

[PATCHv3 RESEND 1/8] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f429 Amelie Delaunay <amelie.delaunay@st.com> - 2017-01-16 14:40 +0100
  [PATCHv3 RESEND 4/8] ARM: dts: stm32: Add RTC support for STM32F429 MCU Amelie Delaunay <amelie.delaunay@st.com> - 2017-01-16 14:40 +0100
    Re: [PATCHv3 RESEND 4/8] ARM: dts: stm32: Add RTC support for  STM32F429 MCU Alexandre Torgue <alexandre.torgue@st.com> - 2017-01-16 15:50 +0100
  [PATCHv3 RESEND 5/8] ARM: dts: stm32: enable RTC on stm32f429-disco Amelie Delaunay <amelie.delaunay@st.com> - 2017-01-16 14:40 +0100
    Re: [PATCHv3 RESEND 5/8] ARM: dts: stm32: enable RTC on  stm32f429-disco Alexandre Torgue <alexandre.torgue@st.com> - 2017-01-16 15:50 +0100
  [PATCHv3 RESEND 7/8] ARM: dts: stm32: enable RTC on stm32429i-eval Amelie Delaunay <amelie.delaunay@st.com> - 2017-01-16 14:40 +0100
    Re: [PATCHv3 RESEND 7/8] ARM: dts: stm32: enable RTC on  stm32429i-eval Alexandre Torgue <alexandre.torgue@st.com> - 2017-01-16 15:50 +0100
  Re: [PATCHv3 RESEND 1/8] ARM: dts: stm32: set HSE_RTC clock frequency  to 1 MHz on stm32f429 Alexandre Torgue <alexandre.torgue@st.com> - 2017-01-16 15:50 +0100

csiph-web