Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[cris-mirror.git] / Documentation / devicetree / bindings / gpio / gpio-aspeed.txt
blobfc6378c778c55b3f0fe7d8f2bff1826060ff9ef5
1 Aspeed GPIO controller Device Tree Bindings
2 -------------------------------------------
4 Required properties:
5 - compatible            : Either "aspeed,ast2400-gpio" or "aspeed,ast2500-gpio"
7 - #gpio-cells           : Should be two
8                           - First cell is the GPIO line number
9                           - Second cell is used to specify optional
10                             parameters (unused)
12 - reg                   : Address and length of the register set for the device
13 - gpio-controller       : Marks the device node as a GPIO controller.
14 - interrupts            : Interrupt specifier (see interrupt bindings for
15                           details)
16 - interrupt-controller  : Mark the GPIO controller as an interrupt-controller
18 Optional properties:
20 - interrupt-parent      : The parent interrupt controller, optional if inherited
21 - clocks                : A phandle to the clock to use for debounce timings
23 The gpio and interrupt properties are further described in their respective
24 bindings documentation:
26 - Documentation/devicetree/bindings/gpio/gpio.txt
27 - Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
29   Example:
30         gpio@1e780000 {
31                 #gpio-cells = <2>;
32                 compatible = "aspeed,ast2400-gpio";
33                 gpio-controller;
34                 interrupts = <20>;
35                 reg = <0x1e780000 0x1000>;
36                 interrupt-controller;
37         };