blob: 9dc25f38fb9484e4a7f4c31a9eafda5efb738e4b [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pwm/pwm-bcm2835.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: BCM2835 PWM controller (Raspberry Pi controller)
8
9maintainers:
10 - Stefan Wahren <stefan.wahren@i2se.com>
11
12allOf:
13 - $ref: pwm.yaml#
14
15properties:
16 compatible:
17 const: brcm,bcm2835-pwm
18
19 reg:
20 maxItems: 1
21
22 clocks:
23 maxItems: 1
24
25 "#pwm-cells":
26 const: 3
27
28required:
29 - compatible
30 - reg
31 - clocks
Tom Rini53633a82024-02-29 12:33:36 -050032
33additionalProperties: false
34
35examples:
36 - |
37 pwm@2020c000 {
38 compatible = "brcm,bcm2835-pwm";
39 reg = <0x2020c000 0x28>;
40 clocks = <&clk_pwm>;
41 #pwm-cells = <3>;
42 };