Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1559740
| From | Amelie Delaunay <amelie.delaunay@st.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCHv3 RESEND 5/8] ARM: dts: stm32: enable RTC on stm32f429-disco |
| Date | 2017-01-16 14:40 +0100 |
| Message-ID | <t0fFU-10y-23@gated-at.bofh.it> (permalink) |
| References | <t0fFU-10y-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This patch enables RTC on stm32f429-disco with LSI as clock source because
X2 crystal for LSE is not fitted by default.
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
arch/arm/boot/dts/stm32f429-disco.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts
index 7d0415e..9222b9f 100644
--- a/arch/arm/boot/dts/stm32f429-disco.dts
+++ b/arch/arm/boot/dts/stm32f429-disco.dts
@@ -94,6 +94,12 @@
clock-frequency = <8000000>;
};
+&rtc {
+ assigned-clocks = <&rcc 1 CLK_RTC>;
+ assigned-clock-parents = <&rcc 1 CLK_LSI>;
+ status = "okay";
+};
+
&usart1 {
pinctrl-0 = <&usart1_pins_a>;
pinctrl-names = "default";
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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