Philipp Zabel | 479e2e3 | 2012-06-25 16:16:25 +0200 | [diff] [blame] | 1 | Freescale i.MX PWM controller |
| 2 | |
| 3 | Required 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 Reding | 85f8879 | 2012-10-01 08:41:23 +0200 | [diff] [blame] | 7 | of the PWM to use and the second cell is the period in nanoseconds. |
Philipp Zabel | 479e2e3 | 2012-06-25 16:16:25 +0200 | [diff] [blame] | 8 | - interrupts: The interrupt for the pwm controller |
| 9 | |
| 10 | Example: |
| 11 | |
| 12 | pwm1: pwm@53fb4000 { |
| 13 | #pwm-cells = <2>; |
| 14 | compatible = "fsl,imx53-pwm", "fsl,imx27-pwm"; |
| 15 | reg = <0x53fb4000 0x4000>; |
| 16 | interrupts = <61>; |
| 17 | }; |