Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / Documentation / devicetree / bindings / gpio / gpio-xgene-sb.txt
1 APM X-Gene Standby GPIO controller bindings
2
3 This is a gpio controller in the standby domain.
4
5 There are 20 GPIO pins from 0..21. There is no GPIO_DS14 or GPIO_DS15,
6 only GPIO_DS8..GPIO_DS13 support interrupts. The IRQ mapping
7 is currently 1-to-1 on interrupts 0x28 thru 0x2d.
8
9 Required properties:
10 - compatible: "apm,xgene-gpio-sb" for the X-Gene Standby GPIO controller
11 - reg: Physical base address and size of the controller's registers
12 - #gpio-cells: Should be two.
13         - first cell is the pin number
14         - second cell is used to specify the gpio polarity:
15                 0 = active high
16                 1 = active low
17 - gpio-controller: Marks the device node as a GPIO controller.
18 - interrupts: Shall contain exactly 6 interrupts.
19
20 Example:
21         sbgpio: sbgpio@17001000 {
22                 compatible = "apm,xgene-gpio-sb";
23                 reg = <0x0 0x17001000 0x0 0x400>;
24                 #gpio-cells = <2>;
25                 gpio-controller;
26                 interrupts =    <0x0 0x28 0x1>,
27                                 <0x0 0x29 0x1>,
28                                 <0x0 0x2a 0x1>,
29                                 <0x0 0x2b 0x1>,
30                                 <0x0 0x2c 0x1>,
31                                 <0x0 0x2d 0x1>;
32         };