blob: d47d15a6a2985e7f3eae08db0d9ad3986e80c227 [file] [log] [blame]
Beniamino Galvanieae266a2014-06-21 16:22:07 +02001Rockchip PWM controller
2
3Required properties:
Caesar Wang695d49d2014-08-08 15:28:48 +08004 - compatible: should be "rockchip,<name>-pwm"
5 "rockchip,rk2928-pwm": found on RK29XX,RK3066 and RK3188 SoCs
6 "rockchip,rk3288-pwm": found on RK3288 SoC
7 "rockchip,vop-pwm": found integrated in VOP on RK3288 SoC
Beniamino Galvanieae266a2014-06-21 16:22:07 +02008 - reg: physical base address and length of the controller's registers
9 - clocks: phandle and clock specifier of the PWM reference clock
10 - #pwm-cells: should be 2. See pwm.txt in this directory for a
11 description of the cell format.
12
13Example:
14
15 pwm0: pwm@20030000 {
16 compatible = "rockchip,rk2928-pwm";
17 reg = <0x20030000 0x10>;
18 clocks = <&cru PCLK_PWM01>;
19 #pwm-cells = <2>;
20 };