# Copyright (c) 2018-2019 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

description: Intel GPIO node

compatible: "intel,gpio"

include: [acpi.yaml, gpio-controller.yaml, base.yaml]

properties:
  reg:
    description: reg properties not required if acpi enumerated

  group-index:
    type: int
    description: Group number for this GPIO entry

  interrupts:
    description: interrupts properties not required if acpi enumerated

  ngpios:
    description: Number of pins for this GPIO entry

  pin-offset:
    type: int
    description: Pin offset of this GPIO entry

  "#gpio-cells":
    const: 2

gpio-cells:
  - pin
  - flags
