]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/pwm/atmel-pwm.txt
PCI: layerscape: Add support for LS1043a and LS2080a
[karo-tx-linux.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   - reg: physical base address and length of the controller's registers
8   - #pwm-cells: Should be 3. See pwm.txt in this directory for a
9     description of the cells format.
10
11 Example:
12
13         pwm0: pwm@f8034000 {
14                 compatible = "atmel,at91sam9rl-pwm";
15                 reg = <0xf8034000 0x400>;
16                 #pwm-cells = <3>;
17         };
18
19         pwmleds {
20                 compatible = "pwm-leds";
21
22                 d1 {
23                         label = "d1";
24                         pwms = <&pwm0 3 5000 0>
25                         max-brightness = <255>;
26                 };
27
28                 d2 {
29                         label = "d2";
30                         pwms = <&pwm0 1 5000 1>
31                         max-brightness = <255>;
32                 };
33         };