0001 Intel IXP4xx XScale Networking Processors GPIO
0002
0003 This GPIO controller is found in the Intel IXP4xx processors.
0004 It supports 16 GPIO lines.
0005
0006 The interrupt portions of the GPIO controller is hierarchical:
0007 the synchronous edge detector is part of the GPIO block, but the
0008 actual enabling/disabling of the interrupt line is done in the
0009 main IXP4xx interrupt controller which has a 1:1 mapping for
0010 the first 12 GPIO lines to 12 system interrupts.
0011
0012 The remaining 4 GPIO lines can not be used for receiving
0013 interrupts.
0014
0015 The interrupt parent of this GPIO controller must be the
0016 IXP4xx interrupt controller.
0017
0018 Required properties:
0019
0020 - compatible : Should be
0021 "intel,ixp4xx-gpio"
0022 - reg : Should contain registers location and length
0023 - gpio-controller : marks this as a GPIO controller
0024 - #gpio-cells : Should be 2, see gpio/gpio.txt
0025 - interrupt-controller : marks this as an interrupt controller
0026 - #interrupt-cells : a standard two-cell interrupt, see
0027 interrupt-controller/interrupts.txt
0028
0029 Example:
0030
0031 gpio0: gpio@c8004000 {
0032 compatible = "intel,ixp4xx-gpio";
0033 reg = <0xc8004000 0x1000>;
0034 gpio-controller;
0035 #gpio-cells = <2>;
0036 interrupt-controller;
0037 #interrupt-cells = <2>;
0038 };