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

title: Maxim Integrated MAX77759 GPIO

maintainers:
  - André Draszik <andre.draszik@linaro.org>

description: |
  This module is part of the MAX77759 PMIC. For additional information, see
  Documentation/devicetree/bindings/mfd/maxim,max77759.yaml.

  The MAX77759 is a PMIC integrating, amongst others, a GPIO controller
  including interrupt support for 2 GPIO lines.

properties:
  compatible:
    const: maxim,max77759-gpio

  "#gpio-cells":
    const: 2

  gpio-controller: true

  gpio-line-names:
    minItems: 1
    maxItems: 2

  "#interrupt-cells":
    const: 2

  interrupt-controller: true

required:
  - compatible
  - "#gpio-cells"
  - gpio-controller
  - "#interrupt-cells"
  - interrupt-controller

additionalProperties: false
