Commit | Line | Data |
---|---|---|
eae266a2 BG |
1 | Rockchip PWM controller |
2 | ||
3 | Required properties: | |
695d49d9 CW |
4 | - 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 | |
eae266a2 BG |
8 | - 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 | ||
13 | Example: | |
14 | ||
15 | pwm0: pwm@20030000 { | |
16 | compatible = "rockchip,rk2928-pwm"; | |
17 | reg = <0x20030000 0x10>; | |
18 | clocks = <&cru PCLK_PWM01>; | |
19 | #pwm-cells = <2>; | |
20 | }; |