atmel-pwm.txt 641 B

12345678910111213141516171819202122232425262728293031323334
  1. Atmel PWM controller
  2. Required properties:
  3. - compatible: should be one of:
  4. - "atmel,at91sam9rl-pwm"
  5. - "atmel,sama5d3-pwm"
  6. - reg: physical base address and length of the controller's registers
  7. - #pwm-cells: Should be 3. See pwm.txt in this directory for a
  8. description of the cells format.
  9. Example:
  10. pwm0: pwm@f8034000 {
  11. compatible = "atmel,at91sam9rl-pwm";
  12. reg = <0xf8034000 0x400>;
  13. #pwm-cells = <3>;
  14. };
  15. pwmleds {
  16. compatible = "pwm-leds";
  17. d1 {
  18. label = "d1";
  19. pwms = <&pwm0 3 5000 0>
  20. max-brightness = <255>;
  21. };
  22. d2 {
  23. label = "d2";
  24. pwms = <&pwm0 1 5000 1>
  25. max-brightness = <255>;
  26. };
  27. };