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:
parent
da0caab3fd
commit
bfa1941e1d
4 changed files with 289 additions and 0 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue