1# Copyright (c) 2022 ithinx GmbH
2# 2023 Amrith Venkat Kesavamoorthi <amrith@mr-beam.org>
3# 2023 Mr Beam Lasers GmbH.
4# SPDX-License-Identifier: Apache-2.0
5
6description: PCF857x 8/16-bit I2C-based I/O expander
7
8compatible: "nxp,pcf857x"
9
10include: [i2c-device.yaml, gpio-controller.yaml]
11
12properties:
13  ngpios:
14    required: true
15    enum:
16      - 8
17      - 16
18
19  int-gpios:
20    type: phandle-array
21    description: |
22      GPIO connected to the controller INT pin. This pin is active-low.
23
24  "#gpio-cells":
25    const: 2
26
27gpio-cells:
28  - pin
29  - flags
30