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

@ -282,7 +282,7 @@
interrupts = <42 0>;
label = "PWM_0";
status = "disabled";
#pwm-cells = <2>;
#pwm-cells = <3>;
};
pwm1: pwm@40039000{
@ -291,7 +291,7 @@
interrupts = <43 0>;
label = "PWM_1";
status = "disabled";
#pwm-cells = <2>;
#pwm-cells = <3>;
};
pwm2: pwm@4003a000{
@ -300,7 +300,7 @@
interrupts = <44 0>;
label = "PWM_2";
status = "disabled";
#pwm-cells = <2>;
#pwm-cells = <3>;
};
pwm3: pwm@400b9000{
@ -309,7 +309,7 @@
interrupts = <71 0>;
label = "PWM_3";
status = "disabled";
#pwm-cells = <2>;
#pwm-cells = <3>;
};
adc0: adc@4003b000{