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


Groups > linux.kernel > #1562754 > unrolled thread

[PATCH 2/3] ARM: dts: stm32: Add RTC support for STM32F746 MCU

Started byAmelie Delaunay <amelie.delaunay@st.com>
First post2017-01-19 15:10 +0100
Last post2017-01-19 15:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/3] ARM: dts: stm32: Add RTC support for STM32F746 MCU Amelie Delaunay <amelie.delaunay@st.com> - 2017-01-19 15:10 +0100

#1562754 — [PATCH 2/3] ARM: dts: stm32: Add RTC support for STM32F746 MCU

FromAmelie Delaunay <amelie.delaunay@st.com>
Date2017-01-19 15:10 +0100
Subject[PATCH 2/3] ARM: dts: stm32: Add RTC support for STM32F746 MCU
Message-ID<t1lzz-2wM-13@gated-at.bofh.it>
This patch adds STM32 RTC bindings for STM32F746.

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

diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi
index b42f23d..c57d265 100644
--- a/arch/arm/boot/dts/stm32f746.dtsi
+++ b/arch/arm/boot/dts/stm32f746.dtsi
@@ -121,6 +121,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,stm32f7-usart", "st,stm32f7-uart";
 			reg = <0x40004400 0x400>;
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web