ARM: dts: stm32: enable RTC on stm32f429-disco
authorAmelie Delaunay <amelie.delaunay@st.com>
Mon, 16 Jan 2017 13:29:00 +0000 (14:29 +0100)
committerAlexandre TORGUE <alexandre.torgue@st.com>
Fri, 20 Jan 2017 13:59:52 +0000 (14:59 +0100)
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>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32f429-disco.dts

index 7d0415e..9222b9f 100644 (file)
        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";