# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pwm/kontron,sl28cpld-pwm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: PWM driver for the sl28cpld board management controller

maintainers:
  - Michael Walle <michael@walle.cc>

description: |
  This module is part of the sl28cpld multi-function device. For more
  details see ../mfd/kontron,sl28cpld.yaml.

  The controller supports one PWM channel and supports only four distinct
  frequencies (250Hz, 500Hz, 1kHz, 2kHz).

allOf:
  - $ref: pwm.yaml#

properties:
  compatible:
    const: kontron,sl28cpld-pwm

  reg:
    maxItems: 1

  "#pwm-cells":
    const: 2

required:
  - compatible

additionalProperties: false
