Merge branch 'apw' (xfrm_user fixes)
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / gpio / cortina,gemini-gpio.txt
1 Cortina Systems Gemini GPIO Controller
2
3 Required properties:
4
5 - compatible : Must be "cortina,gemini-gpio"
6 - reg : Should contain registers location and length
7 - interrupts : Should contain the interrupt line for the GPIO block
8 - gpio-controller : marks this as a GPIO controller
9 - #gpio-cells : Should be 2, see gpio/gpio.txt
10 - interrupt-controller : marks this as an interrupt controller
11 - #interrupt-cells : a standard two-cell interrupt flag, see
12   interrupt-controller/interrupts.txt
13
14 Example:
15
16 gpio@4d000000 {
17         compatible = "cortina,gemini-gpio";
18         reg = <0x4d000000 0x100>;
19         interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
20         gpio-controller;
21         #gpio-cells = <2>;
22         interrupt-controller;
23         #interrupt-cells = <2>;
24 };