xref: /openbmc/linux/Documentation/devicetree/bindings/usb/gr-udc.txt (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
127e9dcc9SAndreas LarssonUSB Peripheral Controller driver for Aeroflex Gaisler GRUSBDC.
227e9dcc9SAndreas Larsson
327e9dcc9SAndreas LarssonThe GRUSBDC USB Device Controller core is available in the GRLIB VHDL
427e9dcc9SAndreas LarssonIP core library.
527e9dcc9SAndreas Larsson
627e9dcc9SAndreas LarssonNote: In the ordinary environment for the core, a Leon SPARC system,
727e9dcc9SAndreas Larssonthese properties are built from information in the AMBA plug&play.
827e9dcc9SAndreas Larsson
927e9dcc9SAndreas LarssonRequired properties:
1027e9dcc9SAndreas Larsson
1127e9dcc9SAndreas Larsson- name : Should be "GAISLER_USBDC" or "01_021"
1227e9dcc9SAndreas Larsson
1327e9dcc9SAndreas Larsson- reg : Address and length of the register set for the device
1427e9dcc9SAndreas Larsson
15*d9a6ef1bSAndreas Larsson- interrupts : Interrupt numbers for this device. Either one interrupt number
16*d9a6ef1bSAndreas Larsson	for all interrupts, or one for status related interrupts, one for IN
17*d9a6ef1bSAndreas Larsson	endpoint related interrupts and one for OUT endpoint related interrupts.
1827e9dcc9SAndreas Larsson
1927e9dcc9SAndreas LarssonOptional properties:
2027e9dcc9SAndreas Larsson
21*d9a6ef1bSAndreas Larsson- epobufsizes : Array of buffer sizes for OUT endpoints when they differ
22*d9a6ef1bSAndreas Larsson	from the default size of 1024. The array is indexed by the OUT endpoint
23*d9a6ef1bSAndreas Larsson	number. If the property is present it typically contains one entry for
24*d9a6ef1bSAndreas Larsson	each OUT endpoint of the core. Fewer entries overrides the default sizes
25*d9a6ef1bSAndreas Larsson	only for as many endpoints as the array contains.
2627e9dcc9SAndreas Larsson
27*d9a6ef1bSAndreas Larsson- epibufsizes : Array of buffer sizes for IN endpoints when they differ
28*d9a6ef1bSAndreas Larsson	from the default size of 1024. The array is indexed by the IN endpoint
29*d9a6ef1bSAndreas Larsson	number. If the property is present it typically contains one entry for
30*d9a6ef1bSAndreas Larsson	each IN endpoint of the core. Fewer entries overrides the default sizes
31*d9a6ef1bSAndreas Larsson	only for as many endpoints as the array contains.
3227e9dcc9SAndreas Larsson
3327e9dcc9SAndreas LarssonFor further information look in the documentation for the GLIB IP core library:
3427e9dcc9SAndreas Larssonhttp://www.gaisler.com/products/grlib/grip.pdf
35