Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 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 | |
| 7 | title: LGM SoC PWM fan controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Rahul Tanwar <rtanwar@maxlinear.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: pwm.yaml# |
| 14 | |
| 15 | properties: |
| 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 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - reg |
| 34 | - clocks |
| 35 | - resets |
| 36 | |
| 37 | additionalProperties: false |
| 38 | |
| 39 | examples: |
| 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 | }; |