mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 07:35:14 +00:00
ARM: dts: twl6030: Add PWM support
Enable support for the PWMs and LED as PWM drivers. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
This commit is contained in:
parent
ac31a88195
commit
50ff6b1d8c
1 changed files with 12 additions and 0 deletions
|
@ -91,4 +91,16 @@ twl_usb_comparator: usb-comparator {
|
||||||
compatible = "ti,twl6030-usb";
|
compatible = "ti,twl6030-usb";
|
||||||
interrupts = <4>, <10>;
|
interrupts = <4>, <10>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
twl_pwm: pwm {
|
||||||
|
/* provides two PWMs (id 0, 1 for PWM1 and PWM2) */
|
||||||
|
compatible = "ti,twl6030-pwm";
|
||||||
|
#pwm-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
twl_pwmled: pwmled {
|
||||||
|
/* provides one PWM (id 0 for Charging indicator LED) */
|
||||||
|
compatible = "ti,twl6030-pwmled";
|
||||||
|
#pwm-cells = <2>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue