0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/pwm/intel,lgm-pwm.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: LGM SoC PWM fan controller
0008
0009 maintainers:
0010 - Rahul Tanwar <rtanwar@maxlinear.com>
0011
0012 allOf:
0013 - $ref: pwm.yaml#
0014
0015 properties:
0016 compatible:
0017 const: intel,lgm-pwm
0018
0019 reg:
0020 maxItems: 1
0021
0022 "#pwm-cells":
0023 const: 2
0024
0025 clocks:
0026 maxItems: 1
0027
0028 resets:
0029 maxItems: 1
0030
0031 required:
0032 - compatible
0033 - reg
0034 - clocks
0035 - resets
0036
0037 additionalProperties: false
0038
0039 examples:
0040 - |
0041 pwm: pwm@e0d00000 {
0042 compatible = "intel,lgm-pwm";
0043 reg = <0xe0d00000 0x30>;
0044 #pwm-cells = <2>;
0045 clocks = <&cgu0 126>;
0046 resets = <&rcu0 0x30 21>;
0047 };