xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/gpio-ts4800.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* TS-4800 FPGA's GPIO controller bindings
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Must be "technologic,ts4800-gpio".
5*4882a593Smuzhiyun- #gpio-cells: Should be two. The first cell is the pin number.
6*4882a593Smuzhiyun- reg: Physical base address of the controller and length
7*4882a593Smuzhiyun       of memory mapped region.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunOptional property:
10*4882a593Smuzhiyun- ngpios: See "gpio.txt"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunExample:
13*4882a593Smuzhiyun
14*4882a593Smuzhiyungpio1: gpio {
15*4882a593Smuzhiyun	compatible = "technologic,ts4800-gpio";
16*4882a593Smuzhiyun	reg = <0x10020 0x6>;
17*4882a593Smuzhiyun	ngpios = <8>;
18*4882a593Smuzhiyun	gpio-controller;
19*4882a593Smuzhiyun	#gpio-cells = <2>;
20*4882a593Smuzhiyun};
21