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
12allOf:
13  - $ref: pwm.yaml#
14
15properties:
16  compatible:
17    const: intel,lgm-pwm
18
19  reg:
20    maxItems: 1
21
22  "#pwm-cells":
23    const: 2
24
25  clocks:
26    maxItems: 1
27
28  resets:
29    maxItems: 1
30
31required:
32  - compatible
33  - reg
34  - clocks
35  - resets
36
37additionalProperties: false
38
39examples:
40  - |
41    pwm: pwm@e0d00000 {
42        compatible = "intel,lgm-pwm";
43        reg = <0xe0d00000 0x30>;
44        #pwm-cells = <2>;
45        clocks = <&cgu0 126>;
46        resets = <&rcu0 0x30 21>;
47    };
48