img-pwm.txt 858 B

123456789101112131415161718192021222324
  1. *Imagination Technologies PWM DAC driver
  2. Required properties:
  3. - compatible: Should be "img,pistachio-pwm"
  4. - reg: Should contain physical base address and length of pwm registers.
  5. - clocks: Must contain an entry for each entry in clock-names.
  6. See ../clock/clock-bindings.txt for details.
  7. - clock-names: Must include the following entries.
  8. - pwm: PWM operating clock.
  9. - sys: PWM system interface clock.
  10. - #pwm-cells: Should be 2. See pwm.txt in this directory for the
  11. description of the cells format.
  12. - img,cr-periph: Must contain a phandle to the peripheral control
  13. syscon node which contains PWM control registers.
  14. Example:
  15. pwm: pwm@18101300 {
  16. compatible = "img,pistachio-pwm";
  17. reg = <0x18101300 0x100>;
  18. clocks = <&pwm_clk>, <&system_clk>;
  19. clock-names = "pwm", "sys";
  20. #pwm-cells = <2>;
  21. img,cr-periph = <&cr_periph>;
  22. };