atmel-pwm.txt 667 B

12345678910111213141516171819202122232425262728293031323334
  1. Atmel PWM controller
  2. Required properties:
  3. - compatible: should be one of:
  4. - "atmel,at91sam9rl-pwm"
  5. - "atmel,sama5d3-pwm"
  6. - "atmel,sama5d2-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. Example:
  11. pwm0: pwm@f8034000 {
  12. compatible = "atmel,at91sam9rl-pwm";
  13. reg = <0xf8034000 0x400>;
  14. #pwm-cells = <3>;
  15. };
  16. pwmleds {
  17. compatible = "pwm-leds";
  18. d1 {
  19. label = "d1";
  20. pwms = <&pwm0 3 5000 0>
  21. max-brightness = <255>;
  22. };
  23. d2 {
  24. label = "d2";
  25. pwms = <&pwm0 1 5000 1>
  26. max-brightness = <255>;
  27. };
  28. };