ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f746
authorAmelie Delaunay <amelie.delaunay@st.com>
Thu, 23 Mar 2017 13:28:40 +0000 (14:28 +0100)
committerAlexandre TORGUE <alexandre.torgue@st.com>
Thu, 23 Mar 2017 17:18:59 +0000 (18:18 +0100)
This patch set HSE_RTC clock frequency to 1 MHz, as the clock supplied to
the RTC must be 1 MHz.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32f746.dtsi

index 09d6649..af4bfd4 100644 (file)
                        reg = <0x40023800 0x400>;
                        clocks = <&clk_hse>, <&clk_i2s_ckin>;
                        st,syscfg = <&pwrcfg>;
+                       assigned-clocks = <&rcc 1 CLK_HSE_RTC>;
+                       assigned-clock-rates = <1000000>;
                };
        };
 };