blob: 8522bfbccfd79f3bdd40306d2cf9650ce08edc6b [file] [log] [blame]
Philipp Zabel479e2e32012-06-25 16:16:25 +02001Freescale i.MX PWM controller
2
3Required properties:
4- compatible: should be "fsl,<soc>-pwm"
5- reg: physical base address and length of the controller's registers
6- #pwm-cells: should be 2. The first cell specifies the per-chip index
Thierry Reding85f88792012-10-01 08:41:23 +02007 of the PWM to use and the second cell is the period in nanoseconds.
Philipp Zabel479e2e32012-06-25 16:16:25 +02008- interrupts: The interrupt for the pwm controller
9
10Example:
11
12pwm1: pwm@53fb4000 {
13 #pwm-cells = <2>;
14 compatible = "fsl,imx53-pwm", "fsl,imx27-pwm";
15 reg = <0x53fb4000 0x4000>;
16 interrupts = <61>;
17};