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
31 - const: fsl,imx7ulp-gpio
34 description: The first reg tuple represents the PORT module, the second tuple
35 represents the GPIO module.
41 interrupt-controller: true
53 - description: SoC GPIO clock
54 - description: SoC PORT clock
68 - interrupt-controller
73 additionalProperties: false
77 #include <dt-bindings/interrupt-controller/arm-gic.h>
79 gpio1: gpio@40049000 {
80 compatible = "fsl,vf610-gpio";
81 reg = <0x40049000 0x1000>, <0x400ff000 0x40>;
82 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
86 #interrupt-cells = <2>;
87 gpio-ranges = <&iomuxc 0 0 32>;