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