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