dts: bindings: update renesas rzt2m gpio bindings to handle interrupts
Add irqs to rzt2m gpio bindings in order to add interrupt support to rzt2m gpio driver and adds common gpio node to store interrupt config (irqs are shared between ports) Signed-off-by: Jakub Michalski <jmichalski@internships.antmicro.com>
This commit is contained in:
parent
5f3d584a2f
commit
370343a28f
11
dts/bindings/gpio/renesas,rzt2m-gpio-common.yaml
Normal file
11
dts/bindings/gpio/renesas,rzt2m-gpio-common.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2024 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
description: Renesas RZT2M GPIO common
|
||||
|
||||
compatible: "renesas,rzt2m-gpio-common"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
interrupts:
|
||||
required: true
|
|
@ -13,6 +13,10 @@ properties:
|
|||
"#gpio-cells":
|
||||
const: 2
|
||||
|
||||
irqs:
|
||||
type: array
|
||||
description: pin-irq pairs
|
||||
|
||||
gpio-cells:
|
||||
- pin
|
||||
- flags
|
||||
|
|
Loading…
Reference in a new issue