pwm-tipwmss.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. TI SOC based PWM Subsystem
  2. Required properties:
  3. - compatible: Must be "ti,am33xx-pwmss";
  4. - reg: physical base address and size of the registers map.
  5. - address-cells: Specify the number of u32 entries needed in child nodes.
  6. Should set to 1.
  7. - size-cells: specify number of u32 entries needed to specify child nodes size
  8. in reg property. Should set to 1.
  9. - ranges: describes the address mapping of a memory-mapped bus. Should set to
  10. physical address map of child's base address, physical address within
  11. parent's address space and length of the address map. For am33xx,
  12. 3 set of child register maps present, ECAP register space, EQEP
  13. register space, EHRPWM register space.
  14. Also child nodes should also populated under PWMSS DT node.
  15. Example:
  16. pwmss0: pwmss@48300000 {
  17. compatible = "ti,am33xx-pwmss";
  18. reg = <0x48300000 0x10>;
  19. ti,hwmods = "epwmss0";
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. status = "disabled";
  23. ranges = <0x48300100 0x48300100 0x80 /* ECAP */
  24. 0x48300180 0x48300180 0x80 /* EQEP */
  25. 0x48300200 0x48300200 0x80>; /* EHRPWM */
  26. /* child nodes go here */
  27. };