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
27 - const: rockchip,rk3288-pwm
33 - const: rockchip,rk3328-pwm
48 Must be 2 (rk2928) or 3 (rk3288 and later).
49 See pwm.yaml for a description of the cell format.
68 - description: Used to derive the functional clock for the device.
69 - description: Used as the APB bus clock.
85 Used both to derive the functional clock
86 for the device and as the bus clock.
91 additionalProperties: false
95 #include <dt-bindings/clock/rk3188-cru-common.h>
97 compatible = "rockchip,rk2928-pwm";
98 reg = <0x20030000 0x10>;
99 clocks = <&cru PCLK_PWM01>;