WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / pwm / atmel-pwm.txt
blobfbb5325be1f06c510a22a60e1065a8c8fbd75cb5
1 Atmel PWM controller
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.yaml in this directory for a
11     description of the cells format.
13 Example:
15         pwm0: pwm@f8034000 {
16                 compatible = "atmel,at91sam9rl-pwm";
17                 reg = <0xf8034000 0x400>;
18                 #pwm-cells = <3>;
19         };
21         pwmleds {
22                 compatible = "pwm-leds";
24                 d1 {
25                         label = "d1";
26                         pwms = <&pwm0 3 5000 0>
27                         max-brightness = <255>;
28                 };
30                 d2 {
31                         label = "d2";
32                         pwms = <&pwm0 1 5000 1>
33                         max-brightness = <255>;
34                 };
35         };