]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/pwm/sunplus,sp7021-pwm.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / pwm / sunplus,sp7021-pwm.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) Sunplus Co., Ltd. 2021
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/pwm/sunplus,sp7021-pwm.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
7
8 title: Sunplus SoC SP7021 PWM Controller
9
10 maintainers:
11 - Hammer Hsieh <hammerh0314@gmail.com>
12
13 allOf:
14 - $ref: pwm.yaml#
15
16 properties:
17 compatible:
18 const: sunplus,sp7021-pwm
19
20 reg:
21 maxItems: 1
22
23 clocks:
24 maxItems: 1
25
26 '#pwm-cells':
27 const: 2
28
29 unevaluatedProperties: false
30
31 required:
32 - reg
33 - clocks
34
35 examples:
36 - |
37 pwm: pwm@9c007a00 {
38 compatible = "sunplus,sp7021-pwm";
39 reg = <0x9c007a00 0x80>;
40 clocks = <&clkc 0xa2>;
41 #pwm-cells = <2>;
42 };