# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwmon/hpe,gxp-fan-ctrl.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: HPE GXP Fan Controller

maintainers:
  - Nick Hawkins <nick.hawkins@hpe.com>

description: |
  The HPE GXP fan controller controls the fans through an external CPLD
  device that connects to the fans.

properties:
  compatible:
    const: hpe,gxp-fan-ctrl

  reg:
    description: Fan controller PWM
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    fan-controller@1000c00 {
      compatible = "hpe,gxp-fan-ctrl";
      reg = <0x1000c00 0x200>;
    };