xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/gpio-grgpio.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunAeroflex Gaisler GRGPIO General Purpose I/O cores.
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe GRGPIO GPIO core is available in the GRLIB VHDL IP core library.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunNote: In the ordinary environment for the GRGPIO core, a Leon SPARC system,
6*4882a593Smuzhiyunthese properties are built from information in the AMBA plug&play.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunRequired properties:
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun- name : Should be "GAISLER_GPIO" or "01_01a"
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun- reg : Address and length of the register set for the device
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun- interrupts : Interrupt numbers for this device
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunOptional properties:
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun- nbits : The number of gpio lines. If not present driver assumes 32 lines.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun- irqmap : An array with an index for each gpio line. An index is either a valid
21*4882a593Smuzhiyun	index into the interrupts property array, or 0xffffffff that indicates
22*4882a593Smuzhiyun	no irq for that line. Driver provides no interrupt support if not
23*4882a593Smuzhiyun	present.
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunFor further information look in the documentation for the GLIB IP core library:
26*4882a593Smuzhiyunhttp://www.gaisler.com/products/grlib/grip.pdf
27