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


Groups > linux.kernel > #1559737

[PATCHv3 RESEND 4/8] ARM: dts: stm32: Add RTC support for STM32F429 MCU

From Amelie Delaunay <amelie.delaunay@st.com>
Newsgroups linux.kernel
Subject [PATCHv3 RESEND 4/8] ARM: dts: stm32: Add RTC support for STM32F429 MCU
Date 2017-01-16 14:40 +0100
Message-ID <t0fFU-10y-11@gated-at.bofh.it> (permalink)
References <t0fFU-10y-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch adds STM32 RTC bindings for STM32F429.

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

diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index 557c1f4..f05a9d9 100644
--- a/arch/arm/boot/dts/stm32f429.dtsi
+++ b/arch/arm/boot/dts/stm32f429.dtsi
@@ -125,6 +125,20 @@
 			status = "disabled";
 		};
 
+		rtc: rtc@40002800 {
+			compatible = "st,stm32-rtc";
+			reg = <0x40002800 0x400>;
+			clocks = <&rcc 1 CLK_RTC>;
+			clock-names = "ck_rtc";
+			assigned-clocks = <&rcc 1 CLK_RTC>;
+			assigned-clock-parents = <&rcc 1 CLK_LSE>;
+			interrupt-parent = <&exti>;
+			interrupts = <17 1>;
+			interrupt-names = "alarm";
+			st,syscfg = <&pwrcfg>;
+			status = "disabled";
+		};
+
 		usart2: serial@40004400 {
 			compatible = "st,stm32-usart", "st,stm32-uart";
 			reg = <0x40004400 0x400>;
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next 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