pwm-rockchip.txt 1.1 KB

123456789101112131415161718192021222324252627
  1. Rockchip PWM controller
  2. Required properties:
  3. - compatible: should be "rockchip,<name>-pwm"
  4. "rockchip,rk2928-pwm": found on RK29XX,RK3066 and RK3188 SoCs
  5. "rockchip,rk3288-pwm": found on RK3288 SOC
  6. "rockchip,rv1108-pwm", "rockchip,rk3288-pwm": found on RV1108 SoC
  7. "rockchip,vop-pwm": found integrated in VOP on RK3288 SoC
  8. - reg: physical base address and length of the controller's registers
  9. - clocks: See ../clock/clock-bindings.txt
  10. - For older hardware (rk2928, rk3066, rk3188, rk3228, rk3288, rk3399):
  11. - There is one clock that's used both to derive the functional clock
  12. for the device and as the bus clock.
  13. - For newer hardware (rk3328 and future socs): specified by name
  14. - "pwm": This is used to derive the functional clock.
  15. - "pclk": This is the APB bus clock.
  16. - #pwm-cells: must be 2 (rk2928) or 3 (rk3288). See pwm.txt in this directory
  17. for a description of the cell format.
  18. Example:
  19. pwm0: pwm@20030000 {
  20. compatible = "rockchip,rk2928-pwm";
  21. reg = <0x20030000 0x10>;
  22. clocks = <&cru PCLK_PWM01>;
  23. #pwm-cells = <2>;
  24. };