From: Amelie Delaunay Date: Mon, 16 Jan 2017 13:29:00 +0000 (+0100) Subject: ARM: dts: stm32: enable RTC on stm32f429-disco X-Git-Tag: v4.11-rc1~87^2~34^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e1d27cca79016aaa0ebfe6b6c3a1e73251a21038;p=karo-tx-linux.git ARM: dts: stm32: enable RTC on stm32f429-disco 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 Signed-off-by: Alexandre TORGUE --- diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts index 7d0415e80668..9222b9f37bc0 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";