summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt
blob: 3182126189bfb48b93dd7e004c2c11b64cc00ba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Rockchip PWM controller

Required properties:
 - compatible: should be "rockchip,rk2928-pwm"
 - reg: physical base address and length of the controller's registers
 - clocks: phandle and clock specifier of the PWM reference clock
 - #pwm-cells: should be 2. See pwm.txt in this directory for a
   description of the cell format.

Example:

	pwm0: pwm@20030000 {
		compatible = "rockchip,rk2928-pwm";
		reg = <0x20030000 0x10>;
		clocks = <&cru PCLK_PWM01>;
		#pwm-cells = <2>;
	};