1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/gpio/gpio-vf610.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale VF610 PORT/GPIO module
10 - Stefan Agner <stefan@agner.ch>
13 The Freescale PORT/GPIO modules are two adjacent modules providing GPIO
14 functionality. Each pair serves 32 GPIOs. The VF610 has 5 instances of
15 each, and each PORT module has its own interrupt.
17 Note: Each GPIO port should have an alias correctly numbered in "aliases"
23 - const: fsl,vf610-gpio
25 - const: fsl,imx7ulp-gpio
26 - const: fsl,vf610-gpio
29 description: The first reg tuple represents the PORT module, the second tuple
30 represents the GPIO module.
36 interrupt-controller: true
48 - description: SoC GPIO clock
49 - description: SoC PORT clock
63 - interrupt-controller
68 additionalProperties: false
72 #include <dt-bindings/interrupt-controller/arm-gic.h>
74 gpio1: gpio@40049000 {
75 compatible = "fsl,vf610-gpio";
76 reg = <0x40049000 0x1000>, <0x400ff000 0x40>;
77 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
81 #interrupt-cells = <2>;
82 gpio-ranges = <&iomuxc 0 0 32>;