Commit 28945973 authored by Fabrice Gasnier's avatar Fabrice Gasnier Committed by Alexandre Torgue

ARM: dts: stm32: add pwm cells to stm32f429

STM32 Timers support generic 3 cells PWM to encode PWM number, period and
polarity.

Fixes: c0e14fc7 ("ARM: dts: stm32: add Timers driver for stm32f429
MCU")
Signed-off-by: default avatarFabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent eb5f46e5
...@@ -112,6 +112,7 @@ timers2: timers@40000000 { ...@@ -112,6 +112,7 @@ timers2: timers@40000000 {
pwm { pwm {
compatible = "st,stm32-pwm"; compatible = "st,stm32-pwm";
#pwm-cells = <3>;
status = "disabled"; status = "disabled";
}; };
...@@ -141,6 +142,7 @@ timers3: timers@40000400 { ...@@ -141,6 +142,7 @@ timers3: timers@40000400 {
pwm { pwm {
compatible = "st,stm32-pwm"; compatible = "st,stm32-pwm";
#pwm-cells = <3>;
status = "disabled"; status = "disabled";
}; };
...@@ -170,6 +172,7 @@ timers4: timers@40000800 { ...@@ -170,6 +172,7 @@ timers4: timers@40000800 {
pwm { pwm {
compatible = "st,stm32-pwm"; compatible = "st,stm32-pwm";
#pwm-cells = <3>;
status = "disabled"; status = "disabled";
}; };
...@@ -198,6 +201,7 @@ timers5: timers@40000c00 { ...@@ -198,6 +201,7 @@ timers5: timers@40000c00 {
pwm { pwm {
compatible = "st,stm32-pwm"; compatible = "st,stm32-pwm";
#pwm-cells = <3>;
status = "disabled"; status = "disabled";
}; };
...@@ -267,6 +271,7 @@ timers12: timers@40001800 { ...@@ -267,6 +271,7 @@ timers12: timers@40001800 {
pwm { pwm {
compatible = "st,stm32-pwm"; compatible = "st,stm32-pwm";
#pwm-cells = <3>;
status = "disabled"; status = "disabled";
}; };
...@@ -288,6 +293,7 @@ timers13: timers@40001c00 { ...@@ -288,6 +293,7 @@ timers13: timers@40001c00 {
pwm { pwm {
compatible = "st,stm32-pwm"; compatible = "st,stm32-pwm";
#pwm-cells = <3>;
status = "disabled"; status = "disabled";
}; };
}; };
...@@ -303,6 +309,7 @@ timers14: timers@40002000 { ...@@ -303,6 +309,7 @@ timers14: timers@40002000 {
pwm { pwm {
compatible = "st,stm32-pwm"; compatible = "st,stm32-pwm";
#pwm-cells = <3>;
status = "disabled"; status = "disabled";
}; };
}; };
...@@ -448,6 +455,7 @@ timers1: timers@40010000 { ...@@ -448,6 +455,7 @@ timers1: timers@40010000 {
pwm { pwm {
compatible = "st,stm32-pwm"; compatible = "st,stm32-pwm";
#pwm-cells = <3>;
status = "disabled"; status = "disabled";
}; };
...@@ -469,6 +477,7 @@ timers8: timers@40010400 { ...@@ -469,6 +477,7 @@ timers8: timers@40010400 {
pwm { pwm {
compatible = "st,stm32-pwm"; compatible = "st,stm32-pwm";
#pwm-cells = <3>;
status = "disabled"; status = "disabled";
}; };
...@@ -602,6 +611,7 @@ timers9: timers@40014000 { ...@@ -602,6 +611,7 @@ timers9: timers@40014000 {
pwm { pwm {
compatible = "st,stm32-pwm"; compatible = "st,stm32-pwm";
#pwm-cells = <3>;
status = "disabled"; status = "disabled";
}; };
...@@ -623,6 +633,7 @@ timers10: timers@40014400 { ...@@ -623,6 +633,7 @@ timers10: timers@40014400 {
pwm { pwm {
compatible = "st,stm32-pwm"; compatible = "st,stm32-pwm";
#pwm-cells = <3>;
status = "disabled"; status = "disabled";
}; };
}; };
...@@ -638,6 +649,7 @@ timers11: timers@40014800 { ...@@ -638,6 +649,7 @@ timers11: timers@40014800 {
pwm { pwm {
compatible = "st,stm32-pwm"; compatible = "st,stm32-pwm";
#pwm-cells = <3>;
status = "disabled"; status = "disabled";
}; };
}; };
......
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