1# Copyright (c) 2024 Renesas Electronics Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Reneses RZ  GPIO controller node.
6  Sample of usage:
7    gpio-consumer{
8          out-gpio = <&gpio8 2 (GPIO_PULL_UP);
9        };
10    &gpio8{
11          irq = <2 10>, <9 1>;
12          status = "okay";
13        };
14  Example above will configure pin 2 port 8:
15  - Using interrupt TINT10
16  - Set Pullup
17
18
19compatible: "renesas,rz-gpio"
20
21include:
22- name: base.yaml
23  property-allowlist:
24  - status
25  - reg
26  - label
27- name: gpio-controller.yaml
28
29properties:
30  reg:
31    required: true
32    description: GPIO port number
33
34  irqs:
35    type: array
36    description: pin-irq pairs
37
38  "#gpio-cells":
39    const: 2
40
41gpio-cells:
42- pin
43- flags
44