Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszer...
[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
16 SoC-specific Required Properties:
17 The following are mandatory properties for Keystone 2 66AK2HK, 66AK2L and 66AK2E
18 SoCs only:
19
20 - clocks:               Clock ID for USB functional clock.
21 - clock-names:          Must be "usb".
22
23
24 The following are mandatory properties for Keystone 2 66AK2G SoCs only:
25
26 - power-domains:        Should contain a phandle to a PM domain provider node
27                         and an args specifier containing the USB device id
28                         value. This property is as per the binding,
29                         Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt
30
31 Sub-nodes:
32 The dwc3 core should be added as subnode to Keystone DWC3 glue.
33 - dwc3 :
34    The binding details of dwc3 can be found in:
35    Documentation/devicetree/bindings/usb/dwc3.txt
36
37 Example:
38         usb: usb@2680000 {
39                 compatible = "ti,keystone-dwc3";
40                 #address-cells = <1>;
41                 #size-cells = <1>;
42                 reg = <0x2680000 0x10000>;
43                 clocks = <&clkusb>;
44                 clock-names = "usb";
45                 interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
46                 ranges;
47
48                 dwc3@2690000 {
49                         compatible = "synopsys,dwc3";
50                         reg = <0x2690000 0x70000>;
51                         interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
52                         usb-phy = <&usb_phy>, <&usb_phy>;
53                 };
54         };