dts: stm32f3: Add PWM nodes

Add available PWM nodes to the existing STM32F3 device trees.

Signed-off-by: Florian Vaussard <florian.vaussard@gmail.com>
This commit is contained in:
Florian Vaussard 2018-02-28 22:17:00 +01:00 committed by Kumar Gala
commit bfa1941e1d
4 changed files with 289 additions and 0 deletions

View file

@ -5,3 +5,22 @@
*/
#include <st/stm32f3.dtsi>
/ {
soc {
timers1: timers@40012c00 {
compatible = "st,stm32-timers";
reg = <0x40012c00 0x400>;
clocks = <&rcc STM32_CLOCK_BUS_APB2 0x00000800>;
status = "disabled";
label = "TIMERS_1";
pwm {
compatible = "st,stm32-pwm";
status = "disabled";
st,prescaler = <10000>;
label = "PWM_1";
};
};
};
};