summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/pwm/spear-pwm.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/pwm/spear-pwm.txt')
-rw-r--r--dts/Bindings/pwm/spear-pwm.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/dts/Bindings/pwm/spear-pwm.txt b/dts/Bindings/pwm/spear-pwm.txt
new file mode 100644
index 0000000000..b486de2c3f
--- /dev/null
+++ b/dts/Bindings/pwm/spear-pwm.txt
@@ -0,0 +1,17 @@
+== ST SPEAr SoC PWM controller ==
+
+Required properties:
+- compatible: should be one of:
+ - "st,spear320-pwm"
+ - "st,spear1340-pwm"
+- reg: physical base address and length of the controller's registers
+- #pwm-cells: should be 2. See pwm.txt in this directory for a description of
+ the cells format.
+
+Example:
+
+ pwm: pwm@a8000000 {
+ compatible ="st,spear320-pwm";
+ reg = <0xa8000000 0x1000>;
+ #pwm-cells = <2>;
+ };