xref: /freebsd/sys/contrib/device-tree/Bindings/gpio/faraday,ftgpio010.txt (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1Faraday Technology FTGPIO010 GPIO Controller
2
3Required 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
17Example:
18
19gpio@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};
28