summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stm32f429.dtsi
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2017-01-16 14:29:00 +0100
committerAlexandre TORGUE <alexandre.torgue@st.com>2017-01-20 14:59:50 +0100
commit5e6ec1b58c7b15fa0496938edc3d3a10d22cdef7 (patch)
tree255c3ef19a35f26ecb3f770f90f10790dbdc8de1 /arch/arm/boot/dts/stm32f429.dtsi
parentARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f429 (diff)
downloadlinux-5e6ec1b58c7b15fa0496938edc3d3a10d22cdef7.tar.xz
linux-5e6ec1b58c7b15fa0496938edc3d3a10d22cdef7.zip
ARM: dts: stm32: Add RTC support for STM32F429 MCU
This patch adds STM32 RTC bindings for STM32F429. Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32f429.dtsi')
-rw-r--r--arch/arm/boot/dts/stm32f429.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index 557c1f482937..f05a9d95ef23 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>;