xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/faraday,ftgpio010.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFaraday Technology FTGPIO010 GPIO Controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun- compatible : Should be one of
6*4882a593Smuzhiyun  "cortina,gemini-gpio", "faraday,ftgpio010"
7*4882a593Smuzhiyun  "moxa,moxart-gpio", "faraday,ftgpio010"
8*4882a593Smuzhiyun  "faraday,ftgpio010"
9*4882a593Smuzhiyun- reg : Should contain registers location and length
10*4882a593Smuzhiyun- interrupts : Should contain the interrupt line for the GPIO block
11*4882a593Smuzhiyun- gpio-controller : marks this as a GPIO controller
12*4882a593Smuzhiyun- #gpio-cells : Should be 2, see gpio/gpio.txt
13*4882a593Smuzhiyun- interrupt-controller : marks this as an interrupt controller
14*4882a593Smuzhiyun- #interrupt-cells : a standard two-cell interrupt flag, see
15*4882a593Smuzhiyun  interrupt-controller/interrupts.txt
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunExample:
18*4882a593Smuzhiyun
19*4882a593Smuzhiyungpio@4d000000 {
20*4882a593Smuzhiyun	compatible = "cortina,gemini-gpio", "faraday,ftgpio010";
21*4882a593Smuzhiyun	reg = <0x4d000000 0x100>;
22*4882a593Smuzhiyun	interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
23*4882a593Smuzhiyun	gpio-controller;
24*4882a593Smuzhiyun	#gpio-cells = <2>;
25*4882a593Smuzhiyun	interrupt-controller;
26*4882a593Smuzhiyun	#interrupt-cells = <2>;
27*4882a593Smuzhiyun};
28