pwm-zx.txt 739 B

12345678910111213141516171819202122
  1. ZTE ZX PWM controller
  2. Required properties:
  3. - compatible: Should be "zte,zx296718-pwm".
  4. - reg: Physical base address and length of the controller's registers.
  5. - clocks : The phandle and specifier referencing the controller's clocks.
  6. - clock-names: "pclk" for PCLK, "wclk" for WCLK to the PWM controller. The
  7. PCLK is for register access, while WCLK is the reference clock for
  8. calculating period and duty cycles.
  9. - #pwm-cells: Should be 3. See pwm.txt in this directory for a description of
  10. the cells format.
  11. Example:
  12. pwm: pwm@1439000 {
  13. compatible = "zte,zx296718-pwm";
  14. reg = <0x1439000 0x1000>;
  15. clocks = <&lsp1crm LSP1_PWM_PCLK>,
  16. <&lsp1crm LSP1_PWM_WCLK>;
  17. clock-names = "pclk", "wclk";
  18. #pwm-cells = <3>;
  19. };