Merge tag 'pstore-v4.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / gpio / gpio-aspeed.txt
1 Aspeed GPIO controller Device Tree Bindings
2 -------------------------------------------
3
4 Required properties:
5 - compatible            : Either "aspeed,ast2400-gpio" or "aspeed,ast2500-gpio"
6
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)
11
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
17
18 Optional properties:
19
20 - interrupt-parent      : The parent interrupt controller, optional if inherited
21 - clocks                : A phandle to the HPLL clock node for debounce timings
22
23 The gpio and interrupt properties are further described in their respective
24 bindings documentation:
25
26 - Documentation/devicetree/bindings/gpio/gpio.txt
27 - Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
28
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         };