1# Copyright (c) 2024 TOKITA Hiroshi
2# SPDX-License-Identifier: Apache-2.0
3
4description: AW9523B GPIO Controller
5
6compatible: "awinic,aw9523b-gpio"
7
8include: gpio-controller.yaml
9
10on-bus: aw9523b
11
12properties:
13  int-gpios:
14    type: phandle-array
15    description: |
16      Set GPIO connected to the controller INTN pin.
17      This is used for notifying interruption.
18
19  reset-gpios:
20    type: phandle-array
21    description: |
22      Set GPIO connected to the controller RSTN pin.
23      This is used for controlling resets via GPIO.
24
25  port0-push-pull:
26    type: boolean
27    description: |
28      Configure Port0 to Push-Pull mode.
29      Port0 is worked in Open-Drain mode by default.
30
31  "#gpio-cells":
32    const: 2
33
34gpio-cells:
35  - pin
36  - flags
37