Merge branch 'turbostat' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / pwm / atmel-pwm.txt
1 Atmel PWM controller
2
3 Required properties:
4   - compatible: should be one of:
5     - "atmel,at91sam9rl-pwm"
6     - "atmel,sama5d3-pwm"
7     - "atmel,sama5d2-pwm"
8     - "microchip,sam9x60-pwm"
9   - reg: physical base address and length of the controller's registers
10   - #pwm-cells: Should be 3. See pwm.txt in this directory for a
11     description of the cells format.
12
13 Example:
14
15         pwm0: pwm@f8034000 {
16                 compatible = "atmel,at91sam9rl-pwm";
17                 reg = <0xf8034000 0x400>;
18                 #pwm-cells = <3>;
19         };
20
21         pwmleds {
22                 compatible = "pwm-leds";
23
24                 d1 {
25                         label = "d1";
26                         pwms = <&pwm0 3 5000 0>
27                         max-brightness = <255>;
28                 };
29
30                 d2 {
31                         label = "d2";
32                         pwms = <&pwm0 1 5000 1>
33                         max-brightness = <255>;
34                 };
35         };