Simon Glass | beca1fd | 2012-10-17 13:24:47 +0000 | [diff] [blame] | 1 | Tegra SoC PWFM controller |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: should be one of: |
| 5 | - "nvidia,tegra20-pwm" |
| 6 | - "nvidia,tegra30-pwm" |
| 7 | - reg: physical base address and length of the controller's registers |
| 8 | - #pwm-cells: On Tegra the number of cells used to specify a PWM is 2. The |
| 9 | first cell specifies the per-chip index of the PWM to use and the second |
| 10 | cell is the period in nanoseconds. |
| 11 | |
| 12 | Example: |
| 13 | |
| 14 | pwm: pwm@7000a000 { |
| 15 | compatible = "nvidia,tegra20-pwm"; |
| 16 | reg = <0x7000a000 0x100>; |
| 17 | #pwm-cells = <2>; |
| 18 | }; |