Merge tag 'tegra-for-4.8-i2c' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra...
[cascardo/linux.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
22 The gpio and interrupt properties are further described in their respective
23 bindings documentation:
24
25 - Documentation/devicetree/bindings/gpio/gpio.txt
26 - Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
27
28   Example:
29         gpio@1e780000 {
30                 #gpio-cells = <2>;
31                 compatible = "aspeed,ast2400-gpio";
32                 gpio-controller;
33                 interrupts = <20>;
34                 reg = <0x1e780000 0x1000>;
35                 interrupt-controller;
36         };