1# Copyright (c) 2023 Martin Kiepfer
2# SPDX-License-Identifier: Apache-2.0
3
4description: AXP192 GPIO Controller
5
6  AX192 features 5 native GPIOs. In addition the EXTEN pin can be configured
7  to be used as an IO as well.
8
9  Pin-Mapping is as follows
10    [0] GPIO0
11    [1] GPIO1
12    [2] GPIO2
13    [3] GPIO3
14    [4] GPIO4
15    [5] EXTEN
16
17compatible: "x-powers,axp192-gpio"
18
19include: gpio-controller.yaml
20
21properties:
22  "#gpio-cells":
23    const: 2
24
25  ngpios:
26    required: true
27    const: 6
28    description: |
29      Number of GPIOs available on axp192.
30
31gpio-cells:
32  - pin
33  - flags
34