Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / usb / keystone-usb.txt
1 TI Keystone Soc USB Controller
2
3 DWC3 GLUE
4
5 Required properties:
6  - compatible: should be "ti,keystone-dwc3".
7  - #address-cells, #size-cells : should be '1' if the device has sub-nodes
8    with 'reg' property.
9  - reg : Address and length of the register set for the USB subsystem on
10    the SOC.
11  - interrupts : The irq number of this device that is used to interrupt the
12    MPU.
13  - ranges: allows valid 1:1 translation between child's address space and
14    parent's address space.
15  - clocks: Clock IDs array as required by the controller.
16  - clock-names: names of clocks correseponding to IDs in the clock property.
17
18 Sub-nodes:
19 The dwc3 core should be added as subnode to Keystone DWC3 glue.
20 - dwc3 :
21    The binding details of dwc3 can be found in:
22    Documentation/devicetree/bindings/usb/dwc3.txt
23
24 Example:
25         usb: usb@2680000 {
26                 compatible = "ti,keystone-dwc3";
27                 #address-cells = <1>;
28                 #size-cells = <1>;
29                 reg = <0x2680000 0x10000>;
30                 clocks = <&clkusb>;
31                 clock-names = "usb";
32                 interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
33                 ranges;
34                 status = "disabled";
35
36                 dwc3@2690000 {
37                         compatible = "synopsys,dwc3";
38                         reg = <0x2690000 0x70000>;
39                         interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
40                         usb-phy = <&usb_phy>, <&usb_phy>;
41                 };
42         };