1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/gpio/intel,ixp4xx-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Intel IXP4xx XScale Networking Processors GPIO Controller
10 This GPIO controller is found in the Intel IXP4xx
11 processors. It supports 16 GPIO lines.
12 The interrupt portions of the GPIO controller is hierarchical.
13 The synchronous edge detector is part of the GPIO block, but the
14 actual enabling/disabling of the interrupt line is done in the
15 main IXP4xx interrupt controller which has a 1-to-1 mapping for
16 the first 12 GPIO lines to 12 system interrupts.
17 The remaining 4 GPIO lines can not be used for receiving
19 The interrupt parent of this GPIO controller must be the
20 IXP4xx interrupt controller.
21 GPIO 14 and 15 can be used as clock outputs rather than GPIO,
22 and this can be enabled by a special flag.
25 - Linus Walleij <linus.walleij@linaro.org>
29 const: intel,ixp4xx-gpio
39 interrupt-controller: true
44 intel,ixp4xx-gpio14-clkout:
45 description: If defined, enables clock output on GPIO 14
49 intel,ixp4xx-gpio15-clkout:
50 description: If defined, enables clock output on GPIO 15
58 - interrupt-controller
61 additionalProperties: false
65 #include <dt-bindings/interrupt-controller/irq.h>
67 compatible = "intel,ixp4xx-gpio";
68 reg = <0xc8004000 0x1000>;
72 #interrupt-cells = <2>;