# Copyright (c) 2023 TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
# SPDX-License-Identifier: Apache-2.0

description: Renesas RA series GPIO

compatible: "renesas,ra-gpio"

include: [gpio-controller.yaml, base.yaml]

properties:
  reg:
    required: true

  port-irq0-pins:
    type: array
    description: Pins allow to assign port-irq0

  port-irq1-pins:
    type: array
    description: Pins allow to assign port-irq1

  port-irq2-pins:
    type: array
    description: Pins allow to assign port-irq2

  port-irq3-pins:
    type: array
    description: Pins allow to assign port-irq3

  port-irq4-pins:
    type: array
    description: Pins allow to assign port-irq4

  port-irq5-pins:
    type: array
    description: Pins allow to assign port-irq5

  port-irq6-pins:
    type: array
    description: Pins allow to assign port-irq6

  port-irq7-pins:
    type: array
    description: Pins allow to assign port-irq7

  port-irq8-pins:
    type: array
    description: Pins allow to assign port-irq8

  port-irq9-pins:
    type: array
    description: Pins allow to assign port-irq9

  port-irq10-pins:
    type: array
    description: Pins allow to assign port-irq10

  port-irq11-pins:
    type: array
    description: Pins allow to assign port-irq11

  port-irq12-pins:
    type: array
    description: Pins allow to assign port-irq12

  port-irq13-pins:
    type: array
    description: Pins allow to assign port-irq13

  port-irq14-pins:
    type: array
    description: Pins allow to assign port-irq14

  port-irq15-pins:
    type: array
    description: Pins allow to assign port-irq15

  "#gpio-cells":
    const: 2

gpio-cells:
  - pin
  - flags
