summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/pwm/ingenic,jz47xx-pwm.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/pwm/ingenic,jz47xx-pwm.txt')
-rw-r--r--dts/Bindings/pwm/ingenic,jz47xx-pwm.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/dts/Bindings/pwm/ingenic,jz47xx-pwm.txt b/dts/Bindings/pwm/ingenic,jz47xx-pwm.txt
new file mode 100644
index 0000000000..7d9d3f9064
--- /dev/null
+++ b/dts/Bindings/pwm/ingenic,jz47xx-pwm.txt
@@ -0,0 +1,25 @@
+Ingenic JZ47xx PWM Controller
+=============================
+
+Required properties:
+- compatible: One of:
+ * "ingenic,jz4740-pwm"
+ * "ingenic,jz4770-pwm"
+ * "ingenic,jz4780-pwm"
+- #pwm-cells: Should be 3. See pwm.txt in this directory for a description
+ of the cells format.
+- clocks : phandle to the external clock.
+- clock-names : Should be "ext".
+
+
+Example:
+
+ pwm: pwm@10002000 {
+ compatible = "ingenic,jz4740-pwm";
+ reg = <0x10002000 0x1000>;
+
+ #pwm-cells = <3>;
+
+ clocks = <&ext>;
+ clock-names = "ext";
+ };