summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/pwm/pwm-omap-dmtimer.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/pwm/pwm-omap-dmtimer.txt')
-rw-r--r--dts/Bindings/pwm/pwm-omap-dmtimer.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/dts/Bindings/pwm/pwm-omap-dmtimer.txt b/dts/Bindings/pwm/pwm-omap-dmtimer.txt
new file mode 100644
index 0000000000..5befb538db
--- /dev/null
+++ b/dts/Bindings/pwm/pwm-omap-dmtimer.txt
@@ -0,0 +1,18 @@
+* OMAP PWM for dual-mode timers
+
+Required properties:
+- compatible: Shall contain "ti,omap-dmtimer-pwm".
+- ti,timers: phandle to PWM capable OMAP timer. See arm/omap/timer.txt for info
+ about these timers.
+- #pwm-cells: Should be 3. See pwm.txt in this directory for a description of
+ the cells format.
+
+Optional properties:
+- ti,prescaler: Should be a value between 0 and 7, see the timers datasheet
+
+Example:
+ pwm9: dmtimer-pwm@9 {
+ compatible = "ti,omap-dmtimer-pwm";
+ ti,timers = <&timer9>;
+ #pwm-cells = <3>;
+ };