diff options
author | Amelie Delaunay <amelie.delaunay@st.com> | 2017-01-16 14:29:00 +0100 |
---|---|---|
committer | Alexandre TORGUE <alexandre.torgue@st.com> | 2017-01-16 14:37:46 +0100 |
commit | e1d27cca79016aaa0ebfe6b6c3a1e73251a21038 (patch) | |
tree | e85c96203b5a307a63c1e2520ad485a9bd557099 /arch/arm/boot/dts/stm32f429-disco.dts | |
parent | ARM: dts: stm32: Add RTC support for STM32F429 MCU (diff) | |
download | linux-e1d27cca79016aaa0ebfe6b6c3a1e73251a21038.tar.xz linux-e1d27cca79016aaa0ebfe6b6c3a1e73251a21038.zip |
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 <amelie.delaunay@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32f429-disco.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32f429-disco.dts | 6 |
1 files changed, 6 insertions, 0 deletions
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"; |