]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32: Add timer support for STM32F7
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 7 Feb 2018 09:44:49 +0000 (10:44 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 14 Mar 2018 01:45:37 +0000 (21:45 -0400)
Add missing timer node to enable timer5 for STM32F7 SoCs family

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/dts/stm32f7-u-boot.dtsi
arch/arm/dts/stm32f746.dtsi

index 9a9e4e5f3718b8fe5534c7a3314d682ebac1ff86..4a677192a2dd925b99c5ec36afeae3f46e51c708 100644 (file)
@@ -1,3 +1,11 @@
+/{
+       soc {
+               timer5: timer@40000c00 {
+                       u-boot,dm-pre-reloc;
+               };
+       };
+};
+
 &pinctrl {
        usart1_pins_a: usart1@0 {
                u-boot,dm-pre-reloc;
index 46d148eab2c83b0916b453039ab62264b56a0cb5..8c6fa133e0ab5807153951873391e350a33ec3cb 100644 (file)
                        pinctrl-names = "default", "opendrain";
                        max-frequency = <48000000>;
                };
+
+               timer5: timer@40000c00 {
+                       compatible = "st,stm32-timer";
+                       reg = <0x40000c00 0x400>;
+                       interrupts = <50>;
+                       clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM5)>;
+               };
        };
 };