Commit 01e435d2 authored by Gabriel Fernandez's avatar Gabriel Fernandez Committed by Alexandre TORGUE

ARM: dts: stm32: Enable clocks for STM32F746 MCU

This patch enables clocks for STM32F746 MCU.
Signed-off-by: default avatarGabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: default avatarAlexandre TORGUE <alexandre.torgue@st.com>
parent c1ae3cfa
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#include "skeleton.dtsi" #include "skeleton.dtsi"
#include "armv7-m.dtsi" #include "armv7-m.dtsi"
#include <dt-bindings/pinctrl/stm32f746-pinfunc.h> #include <dt-bindings/pinctrl/stm32f746-pinfunc.h>
#include <dt-bindings/clock/stm32fx-clock.h>
/ { / {
clocks { clocks {
...@@ -51,6 +52,24 @@ clk_hse: clk-hse { ...@@ -51,6 +52,24 @@ clk_hse: clk-hse {
compatible = "fixed-clock"; compatible = "fixed-clock";
clock-frequency = <0>; clock-frequency = <0>;
}; };
clk-lse {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <32768>;
};
clk-lsi {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <32000>;
};
clk_i2s_ckin: clk-i2s-ckin {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <48000000>;
};
}; };
soc { soc {
...@@ -178,6 +197,11 @@ exti: interrupt-controller@40013c00 { ...@@ -178,6 +197,11 @@ exti: interrupt-controller@40013c00 {
interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <42>, <62>, <76>; interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <42>, <62>, <76>;
}; };
pwrcfg: power-config@40007000 {
compatible = "syscon";
reg = <0x40007000 0x400>;
};
pin-controller { pin-controller {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -291,9 +315,10 @@ pins2 { ...@@ -291,9 +315,10 @@ pins2 {
rcc: rcc@40023800 { rcc: rcc@40023800 {
#clock-cells = <2>; #clock-cells = <2>;
compatible = "st,stm32f42xx-rcc", "st,stm32-rcc"; compatible = "st,stm32f746-rcc", "st,stm32-rcc";
reg = <0x40023800 0x400>; reg = <0x40023800 0x400>;
clocks = <&clk_hse>; clocks = <&clk_hse>, <&clk_i2s_ckin>;
st,syscfg = <&pwrcfg>;
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment