xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/intel,lgm-pwm.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pwm/intel,lgm-pwm.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: LGM SoC PWM fan controller
8
9maintainers:
10  - Rahul Tanwar <rtanwar@maxlinear.com>
11
12properties:
13  compatible:
14    const: intel,lgm-pwm
15
16  reg:
17    maxItems: 1
18
19  "#pwm-cells":
20    const: 2
21
22  clocks:
23    maxItems: 1
24
25  resets:
26    maxItems: 1
27
28required:
29  - compatible
30  - reg
31  - clocks
32  - resets
33
34additionalProperties: false
35
36examples:
37  - |
38    pwm: pwm@e0d00000 {
39        compatible = "intel,lgm-pwm";
40        reg = <0xe0d00000 0x30>;
41        #pwm-cells = <2>;
42        clocks = <&cgu0 126>;
43        resets = <&rcu0 0x30 21>;
44    };
45