xref: /freebsd/sys/contrib/device-tree/Bindings/usb/faraday,fotg210.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotFaraday FOTG Host controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis OTG-capable USB host controller is found in Cortina Systems
4*c66ec88fSEmmanuel VadotGemini and other SoC products.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible: should be one of:
8*c66ec88fSEmmanuel Vadot  "faraday,fotg210"
9*c66ec88fSEmmanuel Vadot  "cortina,gemini-usb", "faraday,fotg210"
10*c66ec88fSEmmanuel Vadot- reg: should contain one register range i.e. start and length
11*c66ec88fSEmmanuel Vadot- interrupts: description of the interrupt line
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotOptional properties:
14*c66ec88fSEmmanuel Vadot- clocks: should contain the IP block clock
15*c66ec88fSEmmanuel Vadot- clock-names: should be "PCLK" for the IP block clock
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotRequired properties for "cortina,gemini-usb" compatible:
18*c66ec88fSEmmanuel Vadot- syscon: a phandle to the system controller to access PHY registers
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel VadotOptional properties for "cortina,gemini-usb" compatible:
21*c66ec88fSEmmanuel Vadot- cortina,gemini-mini-b: boolean property that indicates that a Mini-B
22*c66ec88fSEmmanuel Vadot  OTG connector is in use
23*c66ec88fSEmmanuel Vadot- wakeup-source: see power/wakeup-source.txt
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel VadotExample for Gemini:
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadotusb@68000000 {
28*c66ec88fSEmmanuel Vadot	compatible = "cortina,gemini-usb", "faraday,fotg210";
29*c66ec88fSEmmanuel Vadot	reg = <0x68000000 0x1000>;
30*c66ec88fSEmmanuel Vadot	interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
31*c66ec88fSEmmanuel Vadot	clocks = <&cc 12>;
32*c66ec88fSEmmanuel Vadot	clock-names = "PCLK";
33*c66ec88fSEmmanuel Vadot	syscon = <&syscon>;
34*c66ec88fSEmmanuel Vadot	wakeup-source;
35*c66ec88fSEmmanuel Vadot};
36