dts: nxp: kinetis-ftm: add PWM flags cell

Add support for specifying PWM flags for the NXP Kinetis FlexTimer
(FTM) PWM driver through the device tree.

All in-tree clients of this PWM controller are active-low LEDs.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2019-11-26 10:23:03 +01:00 committed by Carles Cufí
commit 85e1117e94
10 changed files with 41 additions and 37 deletions

View file

@ -322,7 +322,7 @@
clocks = <&mcg KINETIS_MCG_FIXED_FREQ_CLK>;
label = "PWM_0";
status = "disabled";
#pwm-cells = <2>;
#pwm-cells = <3>;
};
pwm1: pwm@40039000{
@ -332,7 +332,7 @@
clocks = <&mcg KINETIS_MCG_FIXED_FREQ_CLK>;
label = "PWM_1";
status = "disabled";
#pwm-cells = <2>;
#pwm-cells = <3>;
};
pwm2: pwm@4003a000{
@ -342,7 +342,7 @@
clocks = <&mcg KINETIS_MCG_FIXED_FREQ_CLK>;
label = "PWM_2";
status = "disabled";
#pwm-cells = <2>;
#pwm-cells = <3>;
};
pwm3: pwm@400b9000{
@ -352,7 +352,7 @@
clocks = <&mcg KINETIS_MCG_FIXED_FREQ_CLK>;
label = "PWM_3";
status = "disabled";
#pwm-cells = <2>;
#pwm-cells = <3>;
};
adc0: adc@4003b000{