1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/pwm/pwm-rockchip.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip PWM controller
10 - Heiko Stuebner <heiko@sntech.de>
15 - const: rockchip,rk2928-pwm
16 - const: rockchip,rk3288-pwm
17 - const: rockchip,rk3328-pwm
18 - const: rockchip,vop-pwm
20 - const: rockchip,rk3036-pwm
21 - const: rockchip,rk2928-pwm
28 - const: rockchip,rk3288-pwm
36 - const: rockchip,rk3328-pwm
51 Must be 2 (rk2928) or 3 (rk3288 and later).
52 See pwm.yaml for a description of the cell format.
73 - description: Used to derive the functional clock for the device.
74 - description: Used as the APB bus clock.
90 Used both to derive the functional clock
91 for the device and as the bus clock.
96 additionalProperties: false
100 #include <dt-bindings/clock/rk3188-cru-common.h>
102 compatible = "rockchip,rk2928-pwm";
103 reg = <0x20030000 0x10>;
104 clocks = <&cru PCLK_PWM01>;