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 / faraday,ftgpio010.txt
1 Faraday Technology FTGPIO010 GPIO Controller
2
3 Required properties:
4
5 - compatible : Should be one of
6   "cortina,gemini-gpio", "faraday,ftgpio010"
7   "moxa,moxart-gpio", "faraday,ftgpio010"
8   "faraday,ftgpio010"
9 - reg : Should contain registers location and length
10 - interrupts : Should contain the interrupt line for the GPIO block
11 - gpio-controller : marks this as a GPIO controller
12 - #gpio-cells : Should be 2, see gpio/gpio.txt
13 - interrupt-controller : marks this as an interrupt controller
14 - #interrupt-cells : a standard two-cell interrupt flag, see
15   interrupt-controller/interrupts.txt
16
17 Example:
18
19 gpio@4d000000 {
20         compatible = "cortina,gemini-gpio", "faraday,ftgpio010";
21         reg = <0x4d000000 0x100>;
22         interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
23         gpio-controller;
24         #gpio-cells = <2>;
25         interrupt-controller;
26         #interrupt-cells = <2>;
27 };