1# Copyright 2024 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4description: Base binding for PCA series I2C-based GPIO expander
5
6include: [gpio-controller.yaml, i2c-device.yaml]
7
8# Currently supported device:
9#   pca9538    pca9539
10#   pca9574    pca9575
11#   pcal9538   pcal9539
12#   pcal6408a  pcal6416a
13#   pcal6524   pcal6534
14#
15#   PCA9538   compatible with  PCA9534   PCA9554
16#   PCA9539   compatible with  PCA9535   PCA9555
17#   PCAL9538  compatible with  PCAL9554  PCAL6408A(*a)
18#   PCAL9539  compatible with  PCAL9555  PCAL6416A(*a)
19#   (a) PCAL64xxA series support voltage level translation,
20#       but has no difference from driver's view.
21#   (b) PCAL6534 has 34 GPIO pins in 4x 8-bit port and 1x
22#       2-bit port. This driver only support 4x 8-bit port.
23
24properties:
25  reset-gpios:
26    type: phandle-array
27    description:
28      Reset GPIO pin (active-low)
29      Left blank if the device does not have reset pin
30      or the pin is not connected in your application.
31
32  int-gpios:
33    type: phandle-array
34    description:
35      Interrupt GPIO pin (active-low open-drain)
36      Left blank if the pin is not connected in your
37      application.
38
39  "#gpio-cells":
40    const: 2
41
42gpio-cells:
43  - pin
44  - flags
45